]> git.mjollnir.org Git - moodle.git/commitdiff
re-re-re-re-fixing tabs for wood. :-P
authorstronk7 <stronk7>
Sun, 4 Mar 2007 20:18:22 +0000 (20:18 +0000)
committerstronk7 <stronk7>
Sun, 4 Mar 2007 20:18:22 +0000 (20:18 +0000)
Merged from MOODLE_18_STABLE

theme/wood/styles_color.css

index a7ef81a4f3c47adc38744fe8a7f488f241ffaca1..14f61a89186524a37165f2f4c4f6678f85167329 100644 (file)
@@ -69,6 +69,8 @@ a.autolink:visited {
 .tabrow0 a {
   border-color: #330000;
 }
+
+/* Normal tabs */
 .tabrow0 a {
   background:url(pix/tab/left.gif) top left no-repeat;
 }
@@ -78,6 +80,8 @@ a.autolink:visited {
 .tabrow0 .last a span {
   background: url(pix/tab/right_end.gif) top right no-repeat;
 }
+
+/* Normal tabs hover */
 .tabrow0 a:hover {
   background-image:url(pix/tab/left_hover.gif);
 }
@@ -87,32 +91,51 @@ a.autolink:visited {
 .tabrow0 .last a:hover span {
   background-image:url(pix/tab/right_hover.gif);
 }
-.tabrow0 a.here {
+
+/* Selected tabs */
+.tabrow0 .active a,
+.tabrow0 .selected a {
   background:url(pix/tab/left_active.gif) top left no-repeat;
 }
-.tabrow0 a.here span {
+.tabrow0 .active a span,
+.tabrow0 .selected a span {
   background:url(pix/tab/right_active.gif) top right no-repeat;
 }
-.tabrow0 a.here:hover {
+.tabrow0 .last .active a span,
+.tabrow0 .last .selected a span{
+  background:url(pix/tab/right_active.gif) top left no-repeat;
+}
+
+/* Selected tabs hover */
+.tabrow0 .active a:hover,
+.tabrow0 .selected a:hover {
   background:url(pix/tab/left_active.gif) top left no-repeat;
 }
-.tabrow0 a.here:hover span {
+.tabrow0 .active a:hover span,
+.tabrow0 .selected a:hover span {
   background:url(pix/tab/right_active.gif) top right no-repeat;
 }
+.tabrow0 .last .active a:hover span,
+.tabrow0 .last .selected a:hover span{
+  background:url(pix/tab/right_active.gif) top left no-repeat;
+}
+
 .tabrow1.empty {
-  height:0px;
+  border-top:solid 1px #FFCC99;
+  border-left:solid 1px #FFCC99;
+  border-bottom:solid 1px #330000;
+  border-right:solid 1px #330000;
+  height: 0px;
 }
 .tabrow2.empty {
   border:none;
   height:0px;
 }
+
 .tabrow0 ul a:visited,
 .tabrow0 ul a:link {
   color:#990000;
 }
-.tabrow0 ul a.here:hover {
-  text-decoration: none;
-}
 
 .breadcrumb .sep {
     color:#330000;