From: Patrick Schmidt
Date: Sun, 4 Oct 2009 00:57:04 +0000 (-0700)
Subject: Web: CSS update
X-Git-Tag: release/2.13.6-1~70
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e7040cc01d42730f50d147c04f536442abef3a39;p=lilypond.git
Web: CSS update
Transfer latest commits from web-gop branch.
Revised and cleaned up by Patrick McCarty.
Signed-off-by: Patrick McCarty
---
diff --git a/Documentation/css/lilypond-web.css b/Documentation/css/lilypond-web.css
index 7335a4a773..2903c7e646 100644
--- a/Documentation/css/lilypond-web.css
+++ b/Documentation/css/lilypond-web.css
@@ -41,15 +41,33 @@ a img {
border: 0;
}
-/* Table of Contents */
+/* Hyperlinks */
+
+/* no dotted line around clicked tabs */
+a:focus {
+ outline-style: none;
+}
+
+a:link {
+ color: #00b945;
+}
+a:visited {
+ color: #5b2c26;
+}
+
+a:hover {
+ color: #006919;
+}
+
+/* Table of Contents */
/* first level toc (unnumbered) */
div#tocframe {
position: absolute;
top: 0;
left: 0;
right: 0;
- background: url(pictures/nav-bg.png) repeat-x top left;
+ background: #6aec7c url(pictures/nav-bg.png) repeat-x top left;
max-width: 70em;
font-size: 100%;
line-height: 1;
@@ -62,7 +80,8 @@ div#tocframe {
}
#tocframe a {
- color: #000;
+ color: #fff;
+ text-decoration: none;
}
#tocframe ul.toc {
@@ -73,10 +92,7 @@ div#tocframe {
#tocframe > ul:first-child > li:first-child a {
text-indent: -999em;
- /* only css3 */
- /*background: url(nav-bg.png) top left repeat-x,
-url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
- background: url(pictures/lily-home-nav-bg.png) no-repeat 50% 50%;
+ background: #6aec7c url(pictures/lily-home-nav-bg.png) no-repeat 50% 50%;
width: 9%;
/* css3 no go yet? */
border-bottom-left-radius: 30px;
@@ -85,7 +101,7 @@ url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
}
#tocframe > ul:first-child > li:first-child a:hover {
- background: url(pictures/lily-home-nav-hover.png) no-repeat 50% 50%;
+ background: #6aec7c url(pictures/lily-home-nav-hover.png) no-repeat 50% 50%;
width: 9%;
}
@@ -117,9 +133,9 @@ url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
#tocframe li form {
float: left;
width: 17%;
- background: url(pictures/nav-bg.png);
+ background: #6aec7c url(pictures/nav-bg.png);
font-size: 100%;
- padding: 0.5em 0.8%;
+ padding: 0.45em 0.8%;
margin: 0;
}
@@ -151,9 +167,9 @@ url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
width: 18%;
text-align: center;
font-weight: bold;
- padding: 0.71em 0;
+ padding: 0.68em 0;
margin: 0;
- background: url(pictures/nav-bg.png);
+ background: #6aec7c url(pictures/nav-bg.png);
}
#tocframe li a:hover {
@@ -164,12 +180,11 @@ url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
#tocframe li.toc_current a,
#tocframe li.toc_current a:hover {
background: url(pictures/nav-active.png);
- color:#000;
+ color: #fff;
text-decoration: underline;
}
/* second level toc (unnumberedsec) */
-
#tocframe .toc .toc {
position: absolute;
top: 3.8em;
@@ -205,6 +220,7 @@ url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
width: auto;
background: #ceffae;
line-height: 2;
+ color: #000;
text-decoration: none;
text-indent: 0;
font-weight: normal;
@@ -215,6 +231,7 @@ url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
#tocframe .toc .toc li.toc_current a {
background: #8cbc6c;
+ color: #000;
}
#tocframe .toc .toc li.toc_current a:hover {
@@ -252,8 +269,18 @@ url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
/* having this useless style makes the perl init file easier */
#tocframe .toc .toc li.colorDefault a {
+ color: #000;
+ text-decoration: none;
+ background: #9ccc7c;
+ background: url(pictures/nav-bg-2.png) repeat-x top left;
}
+#tocframe .toc .toc li.colorDefault a:hover {
+ color: #fff;
+ text-decoration: underline;
+ background: #9ccc7c;
+ background: url(pictures/nav-hover-2.png) repeat-x top left;
+}
#tocframe .toc .toc li.color1 a:hover {
background: #addd8d;
background: url(pictures/color1-hover.png) repeat-x top left;
@@ -315,7 +342,6 @@ url(pictures/lily-home.png) no-repeat 50% 50%, #582007;*/
}
/* third level toc (unnumberedsubsec) */
-
#tocframe .toc .toc .toc {
position: absolute;
top: 2em;
@@ -420,7 +446,6 @@ div#quickSummary {
background: #fff url(pictures/summary-gradient.png) repeat-y 0 0;
color: #fff;
padding: 0 0.5em;
- /* border-bottom: 10px solid #5b7f64; */
margin: 0;
}
@@ -495,9 +520,18 @@ div#latestVersion {
margin: 0;
}
+/* this might not work in certain browsers */
+a[name="Stable"] + h4 {
+ background: #bdee9d url(pictures/color1-bg.png) repeat-x top left;
+}
+
+/* this might not work in certain browsers */
+a[name="Unstable"] + h4 {
+ background: #fad58c url(pictures/color4-bg.png) repeat-x top left;
+}
+
#latestVersion .subsubheading {
- background: #bdee9d;
- padding: 0.18em 0.25em;
+ padding: 0.08em 0.25em;
border-bottom: 1px solid #5b7f64;
margin: 0;
}
@@ -538,7 +572,7 @@ div#language {
}
#verifier_texinfo {
- position: absolute;
+ position: relative;
bottom: 0;
right: 0;
left: 50%;
@@ -645,7 +679,6 @@ div.float-right a.clickable {
}
/* Columns */
-
.column-center-top {
float: left;
width: 99.5%;
@@ -656,7 +689,7 @@ div.float-right a.clickable {
/* color1 */
.column-center-top h3 {
- background: #9ccc7c;
+ background: #9ccc7c url(pictures/color1-bg.png) repeat-x top left;
text-align: left;
border-bottom: 1px solid #8bbb6b;
}
@@ -682,7 +715,7 @@ div.float-right a.clickable {
/* color2 */
.column-left-top h3,
.column-left-bottom h3 {
- background: #bbcf81;
+ background: #bbcf81 url(pictures/color2-bg.png) repeat-x top left;
border-bottom: 1px solid #aabe70;
}
@@ -706,7 +739,7 @@ div.float-right a.clickable {
/* color3 */
.column-right-top h3,
.column-right-bottom h3 {
- background: #dbd286;
+ background: #dbd286 url(pictures/color3-bg.png) repeat-x top left;
border-bottom: 1px solid #cac175;
}
@@ -720,7 +753,8 @@ div.float-right a.clickable {
/* color4 */
.column-center-bottom h3 {
- background: #fad58c;
+ background: #fad58c url(pictures/color4-bg.png) repeat-x top left;
+ text-align: left;
border-bottom: 1px solid #e9c47b;
}
@@ -802,7 +836,6 @@ div.float-right a.clickable {
}
/* Centered divs by color */
-
div.color1,
div.color2,
div.color3,
@@ -916,4 +949,3 @@ h1.settitle {
padding: 0;
margin: 0;
}
-
diff --git a/Documentation/pictures/color1-active.png b/Documentation/pictures/color1-active.png
index efb5fedfe4..e91e80dc67 100644
Binary files a/Documentation/pictures/color1-active.png and b/Documentation/pictures/color1-active.png differ
diff --git a/Documentation/pictures/color1-bg.png b/Documentation/pictures/color1-bg.png
index 3f219478cc..187579954b 100644
Binary files a/Documentation/pictures/color1-bg.png and b/Documentation/pictures/color1-bg.png differ
diff --git a/Documentation/pictures/color2-active.png b/Documentation/pictures/color2-active.png
index 16bdaca60a..52bb48162a 100644
Binary files a/Documentation/pictures/color2-active.png and b/Documentation/pictures/color2-active.png differ
diff --git a/Documentation/pictures/color2-bg.png b/Documentation/pictures/color2-bg.png
index 71907e0078..9694258732 100644
Binary files a/Documentation/pictures/color2-bg.png and b/Documentation/pictures/color2-bg.png differ
diff --git a/Documentation/pictures/color3-active.png b/Documentation/pictures/color3-active.png
index 27a2698d7a..5492d3d23f 100644
Binary files a/Documentation/pictures/color3-active.png and b/Documentation/pictures/color3-active.png differ
diff --git a/Documentation/pictures/color3-bg.png b/Documentation/pictures/color3-bg.png
index 4d42f2277f..faeed426bc 100644
Binary files a/Documentation/pictures/color3-bg.png and b/Documentation/pictures/color3-bg.png differ
diff --git a/Documentation/pictures/color3-hover.png b/Documentation/pictures/color3-hover.png
index a43403a6ec..ec38f3e00b 100644
Binary files a/Documentation/pictures/color3-hover.png and b/Documentation/pictures/color3-hover.png differ
diff --git a/Documentation/pictures/color4-active.png b/Documentation/pictures/color4-active.png
index 68d2ac21b9..bd3ffecedf 100644
Binary files a/Documentation/pictures/color4-active.png and b/Documentation/pictures/color4-active.png differ
diff --git a/Documentation/pictures/color4-bg.png b/Documentation/pictures/color4-bg.png
index f3cf56b22e..55ebd92279 100644
Binary files a/Documentation/pictures/color4-bg.png and b/Documentation/pictures/color4-bg.png differ
diff --git a/Documentation/pictures/color4-hover.png b/Documentation/pictures/color4-hover.png
index cd27f0da38..68d2ac21b9 100644
Binary files a/Documentation/pictures/color4-hover.png and b/Documentation/pictures/color4-hover.png differ
diff --git a/Documentation/pictures/lily-home-nav-active.png b/Documentation/pictures/lily-home-nav-active.png
index 5ea7c47989..eb8109e6fc 100644
Binary files a/Documentation/pictures/lily-home-nav-active.png and b/Documentation/pictures/lily-home-nav-active.png differ
diff --git a/Documentation/pictures/lily-home-nav-bg.png b/Documentation/pictures/lily-home-nav-bg.png
index 4e4548da05..d08cb98841 100644
Binary files a/Documentation/pictures/lily-home-nav-bg.png and b/Documentation/pictures/lily-home-nav-bg.png differ
diff --git a/Documentation/pictures/lily-home-nav-hover.png b/Documentation/pictures/lily-home-nav-hover.png
index 47f10ac25e..3138cbd31b 100644
Binary files a/Documentation/pictures/lily-home-nav-hover.png and b/Documentation/pictures/lily-home-nav-hover.png differ
diff --git a/Documentation/pictures/nav-active-2.png b/Documentation/pictures/nav-active-2.png
new file mode 100644
index 0000000000..7f27fe2c9b
Binary files /dev/null and b/Documentation/pictures/nav-active-2.png differ
diff --git a/Documentation/pictures/nav-active.png b/Documentation/pictures/nav-active.png
index 04df2c5e32..dc8031675b 100644
Binary files a/Documentation/pictures/nav-active.png and b/Documentation/pictures/nav-active.png differ
diff --git a/Documentation/pictures/nav-bg-2.png b/Documentation/pictures/nav-bg-2.png
new file mode 100644
index 0000000000..d8d3edea66
Binary files /dev/null and b/Documentation/pictures/nav-bg-2.png differ
diff --git a/Documentation/pictures/nav-bg.png b/Documentation/pictures/nav-bg.png
index 24f510345b..145723927b 100644
Binary files a/Documentation/pictures/nav-bg.png and b/Documentation/pictures/nav-bg.png differ
diff --git a/Documentation/pictures/nav-hover-2.png b/Documentation/pictures/nav-hover-2.png
new file mode 100644
index 0000000000..8d5a78f0b1
Binary files /dev/null and b/Documentation/pictures/nav-hover-2.png differ
diff --git a/Documentation/pictures/nav-hover.png b/Documentation/pictures/nav-hover.png
index 19cf7778b7..977d346551 100644
Binary files a/Documentation/pictures/nav-hover.png and b/Documentation/pictures/nav-hover.png differ