]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web: CSS update
authorPatrick Schmidt <p.l.schmidt@gmx.de>
Sun, 4 Oct 2009 00:57:04 +0000 (17:57 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Sun, 4 Oct 2009 01:35:17 +0000 (18:35 -0700)
Transfer latest commits from web-gop branch.

Revised and cleaned up by Patrick McCarty.

Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
20 files changed:
Documentation/css/lilypond-web.css
Documentation/pictures/color1-active.png
Documentation/pictures/color1-bg.png
Documentation/pictures/color2-active.png
Documentation/pictures/color2-bg.png
Documentation/pictures/color3-active.png
Documentation/pictures/color3-bg.png
Documentation/pictures/color3-hover.png
Documentation/pictures/color4-active.png
Documentation/pictures/color4-bg.png
Documentation/pictures/color4-hover.png
Documentation/pictures/lily-home-nav-active.png
Documentation/pictures/lily-home-nav-bg.png
Documentation/pictures/lily-home-nav-hover.png
Documentation/pictures/nav-active-2.png [new file with mode: 0644]
Documentation/pictures/nav-active.png
Documentation/pictures/nav-bg-2.png [new file with mode: 0644]
Documentation/pictures/nav-bg.png
Documentation/pictures/nav-hover-2.png [new file with mode: 0644]
Documentation/pictures/nav-hover.png

index 7335a4a7737ad74df2eb4ff81a63ce5c8c71a078..2903c7e646db8f78137d65ea7b65b967fbaa84f1 100644 (file)
@@ -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;
 }
-
index efb5fedfe45ca455dec471b9edd6fc34c3a93f83..e91e80dc6797cafa17ea06f1ae5ec1f4d89707be 100644 (file)
Binary files a/Documentation/pictures/color1-active.png and b/Documentation/pictures/color1-active.png differ
index 3f219478cc75767f496bb99bfe2edbc05bc2a637..187579954bf99cf6bda2310e5651dd0a65b7ce72 100644 (file)
Binary files a/Documentation/pictures/color1-bg.png and b/Documentation/pictures/color1-bg.png differ
index 16bdaca60a1f898ec7cc00e4c16fd76a3fd870fc..52bb48162a24e4796aabd3a0227b2bb450434501 100644 (file)
Binary files a/Documentation/pictures/color2-active.png and b/Documentation/pictures/color2-active.png differ
index 71907e00782dc1d35e18875743e1360f5ce703fd..9694258732175590e4da4bd124484df7f395b252 100644 (file)
Binary files a/Documentation/pictures/color2-bg.png and b/Documentation/pictures/color2-bg.png differ
index 27a2698d7a5deb2f3a890e49545a2eab65c4630b..5492d3d23f88693fea2ab20cb8e29f4ee127bb60 100644 (file)
Binary files a/Documentation/pictures/color3-active.png and b/Documentation/pictures/color3-active.png differ
index 4d42f2277f7a54abdeeaebeb12c2ed45258a6fe7..faeed426bc6cfc7b764b5adb7ca5440128743114 100644 (file)
Binary files a/Documentation/pictures/color3-bg.png and b/Documentation/pictures/color3-bg.png differ
index a43403a6ec8a2e61c45b6a6af91cc7e0f6c92d29..ec38f3e00b2327717e8d8eddd28836c71bc83d8c 100644 (file)
Binary files a/Documentation/pictures/color3-hover.png and b/Documentation/pictures/color3-hover.png differ
index 68d2ac21b962ac35ba75eb181380fba70b4f2d3e..bd3ffecedf611711361324e8dc0e4198282889b6 100644 (file)
Binary files a/Documentation/pictures/color4-active.png and b/Documentation/pictures/color4-active.png differ
index f3cf56b22e632ae231092b306c79053e2f95c7f0..55ebd92279799c15836fdc28d17223ef3b7dcd72 100644 (file)
Binary files a/Documentation/pictures/color4-bg.png and b/Documentation/pictures/color4-bg.png differ
index cd27f0da38b777016695a5b751532461d209b4fe..68d2ac21b962ac35ba75eb181380fba70b4f2d3e 100644 (file)
Binary files a/Documentation/pictures/color4-hover.png and b/Documentation/pictures/color4-hover.png differ
index 5ea7c479892c03a9099986f088649cafd24580d7..eb8109e6fceceee03b26ddc4b6c0301c467d1b95 100644 (file)
Binary files a/Documentation/pictures/lily-home-nav-active.png and b/Documentation/pictures/lily-home-nav-active.png differ
index 4e4548da05882d26606e0a1cdfe7a4b021998216..d08cb98841d3b782f427b701c137b8249b0805da 100644 (file)
Binary files a/Documentation/pictures/lily-home-nav-bg.png and b/Documentation/pictures/lily-home-nav-bg.png differ
index 47f10ac25eacb0e68a42d5b735bb6c209600bc89..3138cbd31bfaa4d009a44eaddda479b863199de2 100644 (file)
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 (file)
index 0000000..7f27fe2
Binary files /dev/null and b/Documentation/pictures/nav-active-2.png differ
index 04df2c5e3240e5a56e7b9d828f8eb62f8ea3b0de..dc8031675bdd49394eae18014f8fc21765978e35 100644 (file)
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 (file)
index 0000000..d8d3ede
Binary files /dev/null and b/Documentation/pictures/nav-bg-2.png differ
index 24f510345b913cbe44dec7782db03d6e98aff2f5..145723927b7e84aaabaea11d6f8266129ad28990 100644 (file)
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 (file)
index 0000000..8d5a78f
Binary files /dev/null and b/Documentation/pictures/nav-hover-2.png differ
index 19cf7778b712f5623ba7a3a99058c34765a48dd8..977d346551e2afc2e03ff8429b5b1e8aa3bb96f5 100644 (file)
Binary files a/Documentation/pictures/nav-hover.png and b/Documentation/pictures/nav-hover.png differ