From 32c1a524f5e20dbce118b4d372657b35ccd2414b Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Aug 28 2012 22:08:58 +0000 Subject: Update trunk/Identity/Webenv/Themes/Default/Style-guide/0.0.1/: - Add css and img directories into de structure. These directories contiain stylesheets and images used by xhtml respectively. - Start using relative paths instead of absolute paths. I'm doing this to make each webenv them independent from The CentOS Artwork Repository Structure. The idea of reusing files outside The CentOS Artwork Repository is not appropriate since different applications live on their own, appart from The CentOS Artwork Repository. Autonomy is needed here, even some image files be duplicated inside the repository. - Both css and img directories are under version control. - Comment the xhtml code related to that side bar on content's right. The right side bar might be useful in situations where many links need to be printed and also related to the active content tag. However breaks the horizontal flow of content and reduce the visible space for it. --- diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/base.css b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/base.css index 7e55e07..98cce86 100755 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/base.css +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/base.css @@ -32,7 +32,7 @@ div#page-footer { /* Header. --------------------------------------------------------------------*/ div#page-header { - background: #204C8D url("./img/h1-bg.png") 0 0 repeat; + background: #204C8D url("../img/h1-bg.png") 0 0 repeat; min-height: 46px; } @@ -66,7 +66,7 @@ div#page-body div#content p { --------------------------------------------------------------------*/ div#page-footer { - background: #204C8D url("./img/h1-bg.png") 0 0 repeat; + background: #204C8D url("../img/h1-bg.png") 0 0 repeat; } div#page-footer div.credits { diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/links.css b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/links.css index f5bfc6f..6db335a 100755 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/links.css +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/links.css @@ -33,31 +33,31 @@ div#page-body a.nonexistent:hover { color: gray; } div#page-body a.www:before { white-space:nowrap; - content: url(./img/a-www.png); + content: url(../img/a-www.png); margin: 0 0.2em; } div#page-body a.http:before { white-space:nowrap; - content: url(./img/a-www.png); + content: url(../img/a-www.png); margin: 0 0.2em; } div#page-body a.https:before { white-space:nowrap; - content: url(./img/a-www.png); + content: url(../img/a-www.png); margin: 0 0.2em; } div#page-body a.mailto:before { white-space:nowrap; - content: url(./img/a-mail.png); + content: url(../img/a-mail.png); margin: 0 0.2em; } div#page-body a.attachment:before { white-space:nowrap; - content: url(./img/a-attach.png); + content: url(../img/a-attach.png); margin: 0 0.2em; } diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/lists.css b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/lists.css index c891265..93164cc 100755 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/lists.css +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/lists.css @@ -23,7 +23,7 @@ */ div#page-body ul { - list-style: url("./img/ul.png") disc; + list-style: url("../img/ul.png") disc; } div#page-body ul, diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/quotation.css b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/quotation.css index 5dcca7e..12139c8 100755 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/quotation.css +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/quotation.css @@ -24,7 +24,7 @@ div#page-body blockquote { margin-left: 0; - background-image: url("./img/msg-bg-gray.png"); + background-image: url("../img/msg-bg-gray.png"); padding: 1em 1.5em 0 1em; } @@ -76,7 +76,7 @@ div#page-body blockquote.message { } div#page-body blockquote.blue { - background-image: url("./img/msg-bg-blue.png"); + background-image: url("../img/msg-bg-blue.png"); border-color: #D2E0F6; background-color: #ECF4FF; } @@ -84,23 +84,23 @@ div#page-body blockquote.blue { div#page-body blockquote.orange { border-color: #F6E7D2; background-color: #FFF8EC; - background-image: url("./img/msg-bg-orange.png"); + background-image: url("../img/msg-bg-orange.png"); } div#page-body blockquote.violet { border-color: #F6D2F6; background-color: #FFECFF; - background-image: url("./img/msg-bg-violet.png"); + background-image: url("../img/msg-bg-violet.png"); } div#page-body blockquote.red { border-color: #E0B7B7; background-color: #FFECEC; - background-image: url("./img/msg-bg-red.png"); + background-image: url("../img/msg-bg-red.png"); } div#page-body blockquote.green { border-color: #D6F6D2; background-color: #EEFFEC; - background-image: url("./img/msg-bg-green.png"); + background-image: url("../img/msg-bg-green.png"); } diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/reset.css b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/reset.css index 9b2fe7a..0b47802 100755 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/reset.css +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/reset.css @@ -45,7 +45,7 @@ html { background-color: #FFF; - background-image: url("/home/centos/Projects/artwork/trunk/Identity/Images/Webenv/html-bg.png"); + background-image: url("../img/html-bg.png"); } /* Define body diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/stylesheet.css b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/stylesheet.css index 364860d..95cc96a 100755 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/stylesheet.css +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/stylesheet.css @@ -24,17 +24,17 @@ /* Reset browser's default definitions. --------------------------------------------------------------------*/ -@import url("./css/reset.css"); +@import url("reset.css"); /* Customize default definitions. --------------------------------------------------------------------*/ -@import url("./css/base.css"); -@import url("./css/layout-2cols.css"); -@import url("./css/links.css"); -@import url("./css/lists.css"); -@import url("./css/quotation.css"); -@import url("./css/forms.css"); +@import url("base.css"); +/* @import url("layout-2cols.css");*/ +@import url("links.css"); +@import url("lists.css"); +@import url("quotation.css"); +@import url("forms.css"); /* Miscellaneous definitions. --------------------------------------------------------------------*/ -@import url("./css/tabs.css"); +@import url("tabs.css"); diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/tabs.css b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/tabs.css index 47f4c80..631f2e7 100755 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/tabs.css +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/css/tabs.css @@ -61,20 +61,20 @@ div#page-header div.tabs a span { div#page-header div.tabs span.current a, div#page-header div.tabs span.current a:hover { - background: url("./img/tabs-bg-1.png") 100% -50px no-repeat; + background: url("../img/tabs-bg-1.png") 100% -50px no-repeat; } div#page-header div.tabs span.current a span, div#page-header div.tabs span.current a:hover span { - background: url("./img/tabs-bg-2.png") 0 -50px no-repeat; + background: url("../img/tabs-bg-2.png") 0 -50px no-repeat; } div#page-header div.tabs span:hover a { - background: url("./img/tabs-bg-1.png") 100% 0 no-repeat; + background: url("../img/tabs-bg-1.png") 100% 0 no-repeat; } div#page-header div.tabs span:hover a span { - background: url("./img/tabs-bg-2.png") 0 0; + background: url("../img/tabs-bg-2.png") 0 0; } /* Application level navigation bar. diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/forms.xhtml b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/forms.xhtml index df37697..a011bbb 100644 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/forms.xhtml +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/forms.xhtml @@ -14,7 +14,7 @@ Forms - Home - + @@ -34,14 +34,14 @@
- Google Advertisement + Google Advertisement +
+ -->
@@ -429,9 +429,9 @@
- Top + Top
- +
diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/headings.xhtml b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/headings.xhtml index edbee14..dd8f83a 100644 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/headings.xhtml +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/headings.xhtml @@ -14,7 +14,7 @@ Headings - Home - + @@ -34,15 +34,16 @@
- Google Advertisement - + -->
+
+ -->
@@ -313,9 +314,9 @@ + -->
@@ -255,9 +255,9 @@
- Top + Top
- +
diff --git a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/links.xhtml b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/links.xhtml index 0a5f4b6..01f4573 100644 --- a/Identity/Webenv/Themes/Default/Style-guide/0.0.1/links.xhtml +++ b/Identity/Webenv/Themes/Default/Style-guide/0.0.1/links.xhtml @@ -14,7 +14,7 @@ Links - Home - + @@ -34,15 +34,16 @@
- Google Advertisement - + -->
+
+ -->
@@ -252,8 +253,8 @@

Image link style

Powered by CentOS

Decorative link styles

@@ -294,9 +295,9 @@