Author: gmazza
Date: Thu Jul 17 15:15:36 2014
New Revision: 1611387

URL: http://svn.apache.org/r1611387
Log:
ROL-2019 Moved styling over from YUI2 to YUI3 base, slight font changes in a 
few cases have occurred.  Last of YUI2 pulled out of Roller.

Added:
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase-min.css
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase.css
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts-min.css
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts.css
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset-min.css
    roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset.css
Removed:
    roller/trunk/app/src/main/webapp/roller-ui/yui/
Modified:
    roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head-ajax.jsp
    roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp

Modified: roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head-ajax.jsp
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head-ajax.jsp?rev=1611387&r1=1611386&r2=1611387&view=diff
==============================================================================
--- roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head-ajax.jsp (original)
+++ roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head-ajax.jsp Thu Jul 
17 15:15:36 2014
@@ -4,7 +4,9 @@ You can override it with your own file v
 --%>
 <%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
 
-<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui/base/base-min.css'/>" />
+<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui3/cssreset/cssreset-min.css'/>" />
+<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui3/cssfonts/cssfonts-min.css'/>" />
+<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui3/cssbase/cssbase-min.css'/>" />
 
 <link rel="stylesheet" type="text/css" media="all" href='<s:url 
value="/roller-ui/styles/layout.css"/>' />
 <link rel="stylesheet" type="text/css" media="all" href='<s:url 
value="/roller-ui/styles/roller.css"/>' />

Modified: roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp?rev=1611387&r1=1611386&r2=1611387&view=diff
==============================================================================
--- roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp (original)
+++ roller/trunk/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp Thu Jul 17 
15:15:36 2014
@@ -4,8 +4,9 @@ You can override it with your own file v
 --%>
 <%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
 
-<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui/reset-fonts-grids/reset-fonts-grids.css'/>" />
-<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui/base/base-min.css'/>" />
+<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui3/cssreset/cssreset-min.css'/>" />
+<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui3/cssfonts/cssfonts-min.css'/>" />
+<link rel="stylesheet" type="text/css" media="all" href="<s:url 
value='/roller-ui/yui3/cssbase/cssbase-min.css'/>" />
 
 <link rel="stylesheet" type="text/css" media="all" href='<s:url 
value="/roller-ui/styles/layout.css"/>' />
 <link rel="stylesheet" type="text/css" media="all" href='<s:url 
value="/roller-ui/styles/roller.css"/>' />

Added: roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase-min.css
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase-min.css?rev=1611387&view=auto
==============================================================================
--- roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase-min.css 
(added)
+++ roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase-min.css Thu 
Jul 17 15:15:36 2014
@@ -0,0 +1,8 @@
+/*
+YUI 3.17.2 (build 9c3c78e)
+Copyright 2014 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+
+h1{font-size:138.5%}h2{font-size:123.1%}h3{font-size:108%}h1,h2,h3{margin:1em 
0}h1,h2,h3,h4,h5,h6,strong{font-weight:bold}abbr,acronym{border-bottom:1px 
dotted 
#000;cursor:help}em{font-style:italic}blockquote,ul,ol,dl{margin:1em}ol,ul,dl{margin-left:2em}ol{list-style:decimal
 outside}ul{list-style:disc outside}dd{margin-left:1em}th,td{border:1px solid 
#000;padding:.5em}th{font-weight:bold;text-align:center}caption{margin-bottom:.5em;text-align:center}p,fieldset,table,pre{margin-bottom:1em}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em}#yui3-css-stamp.cssbase{display:none}

Added: roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase.css
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase.css?rev=1611387&view=auto
==============================================================================
--- roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase.css (added)
+++ roller/trunk/app/src/main/webapp/roller-ui/yui3/cssbase/cssbase.css Thu Jul 
17 15:15:36 2014
@@ -0,0 +1,84 @@
+/*
+YUI 3.17.2 (build 9c3c78e)
+Copyright 2014 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+
+/* base.css, part of YUI's CSS Foundation */
+h1 {
+       /*18px via YUI Fonts CSS foundation*/
+       font-size:138.5%;  
+}
+h2 {
+       /*16px via YUI Fonts CSS foundation*/
+       font-size:123.1%; 
+}
+h3 {
+       /*14px via YUI Fonts CSS foundation*/
+       font-size:108%;  
+}
+h1,h2,h3 {
+       /* top & bottom margin based on font size */
+       margin:1em 0;
+}
+h1,h2,h3,h4,h5,h6,strong {
+       /*bringing boldness back to headers and the strong element*/
+       font-weight:bold; 
+}
+abbr,acronym {
+       /*indicating to users that more info is available */
+       border-bottom:1px dotted #000;
+       cursor:help;
+} 
+em {
+       /*bringing italics back to the em element*/
+       font-style:italic;
+}
+blockquote,ul,ol,dl {
+       /*giving blockquotes and lists room to breath*/
+       margin:1em;
+}
+ol,ul,dl {
+       /*bringing lists on to the page with breathing room */
+       margin-left:2em;
+}
+ol {
+       /*giving OL's LIs generated numbers*/
+       list-style: decimal outside;    
+}
+ul {
+       /*giving UL's LIs generated disc markers*/
+       list-style: disc outside;
+}
+dd {
+       /*providing spacing for definition terms*/
+       margin-left:1em;
+}
+th,td {
+       /*borders and padding to make the table readable*/
+       border:1px solid #000;
+       padding:.5em;
+}
+th {
+       /*distinguishing table headers from data cells*/
+       font-weight:bold;
+       text-align:center;
+}
+caption {
+       /*coordinated margin to match cell's padding*/
+       margin-bottom:.5em;
+       /*centered so it doesn't blend in to other content*/
+       text-align:center;
+}
+p,fieldset,table,pre {
+       /*so things don't run into each other*/
+       margin-bottom:1em;
+}
+/* setting a consistent width, 160px; 
+   control of type=file still not possible
+   *width is for ie7 (no ie6 fallback) */
+input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
+
+/* YUI CSS Detection Stamp */
+#yui3-css-stamp.cssbase { display: none; }

Added: roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts-min.css
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts-min.css?rev=1611387&view=auto
==============================================================================
--- roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts-min.css 
(added)
+++ roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts-min.css 
Thu Jul 17 15:15:36 2014
@@ -0,0 +1,8 @@
+/*
+YUI 3.17.2 (build 9c3c78e)
+Copyright 2014 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+
+body{font:13px/1.231 
arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small}select,input,button,textarea{font:99%
 
arial,helvetica,clean,sans-serif}table{font-size:inherit;font:100%}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%}#yui3-css-stamp.cssfonts{display:none}

Added: roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts.css
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts.css?rev=1611387&view=auto
==============================================================================
--- roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts.css 
(added)
+++ roller/trunk/app/src/main/webapp/roller-ui/yui3/cssfonts/cssfonts.css Thu 
Jul 17 15:15:36 2014
@@ -0,0 +1,49 @@
+/*
+YUI 3.17.2 (build 9c3c78e)
+Copyright 2014 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+
+/**
+ * Percents could work for IE, but for backCompat purposes, we are using 
keywords.
+ * x-small is for IE6/7 quirks mode.
+ */
+body {
+       font:13px/1.231 arial,helvetica,clean,sans-serif;
+       *font-size:small; /* for IE */
+       *font:x-small; /* for IE in quirks mode */
+}
+
+/**
+ * Nudge down to get to 13px equivalent for these form elements
+ */ 
+select,
+input,
+button,
+textarea {
+       font:99% arial,helvetica,clean,sans-serif;
+}
+
+/**
+ * To help tables remember to inherit
+ */
+table {
+       font-size:inherit;
+       font:100%;
+}
+
+/**
+ * Bump up IE to get to 13px equivalent for these fixed-width elements
+ */
+pre,
+code,
+kbd,
+samp,
+tt {
+       font-family:monospace;
+       *font-size:108%;
+       line-height:100%;
+}
+/* YUI CSS Detection Stamp */
+#yui3-css-stamp.cssfonts { display: none; }

Added: roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset-min.css
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset-min.css?rev=1611387&view=auto
==============================================================================
--- roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset-min.css 
(added)
+++ roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset-min.css 
Thu Jul 17 15:15:36 2014
@@ -0,0 +1,8 @@
+/*
+YUI 3.17.2 (build 9c3c78e)
+Copyright 2014 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+
+html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

Added: roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset.css
URL: 
http://svn.apache.org/viewvc/roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset.css?rev=1611387&view=auto
==============================================================================
--- roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset.css 
(added)
+++ roller/trunk/app/src/main/webapp/roller-ui/yui3/cssreset/cssreset.css Thu 
Jul 17 15:15:36 2014
@@ -0,0 +1,123 @@
+/*
+YUI 3.17.2 (build 9c3c78e)
+Copyright 2014 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+
+/*
+       TODO will need to remove settings on HTML since we can't namespace it.
+       TODO with the prefix, should I group by selector or property for weight 
savings?
+*/
+html{
+       color:#000;
+       background:#FFF;
+}
+/*
+       TODO remove settings on BODY since we can't namespace it.
+*/
+/*
+       TODO test putting a class on HEAD.
+               - Fails on FF. 
+*/
+body,
+div,
+dl,
+dt,
+dd,
+ul,
+ol,
+li,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+pre,
+code,
+form,
+fieldset,
+legend,
+input,
+textarea,
+p,
+blockquote,
+th,
+td {
+       margin:0;
+       padding:0;
+}
+table {
+       border-collapse:collapse;
+       border-spacing:0;
+}
+fieldset,
+img {
+       border:0;
+}
+/*
+       TODO think about hanlding inheritence differently, maybe letting IE6 
fail a bit...
+*/
+address,
+caption,
+cite,
+code,
+dfn,
+em,
+strong,
+th,
+var {
+       font-style:normal;
+       font-weight:normal;
+}
+
+ol,
+ul {
+       list-style:none;
+}
+
+caption,
+th {
+       text-align:left;
+}
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+       font-size:100%;
+       font-weight:normal;
+}
+q:before,
+q:after {
+       content:'';
+}
+abbr,
+acronym {
+       border:0;
+       font-variant:normal;
+}
+/* to preserve line-height and selector appearance */
+sup {
+       vertical-align:text-top;
+}
+sub {
+       vertical-align:text-bottom;
+}
+input,
+textarea,
+select {
+       font-family:inherit;
+       font-size:inherit;
+       font-weight:inherit;
+       *font-size:100%; /*to enable resizing for IE*/
+}
+/*because legend doesn't inherit in IE */
+legend {
+       color:#000;
+}
+
+/* YUI CSS Detection Stamp */
+#yui3-css-stamp.cssreset { display: none; }


Reply via email to