User:Vinoo/AccordionMenu

From 2014.igem.org

(Difference between revisions)
m
m
Line 29: Line 29:
.sub_menu li a {
.sub_menu li a {
     color: #000;
     color: #000;
-
     padding: 5px 10px 5px 20px;
+
    height: 25;
 +
     padding: 5px 0px 5px 20px;
     font: bold 12px Arial, sans-serif;
     font: bold 12px Arial, sans-serif;
}
}
Line 45: Line 46:
   
   
.acc_menu li:target > .sub_menu {
.acc_menu li:target > .sub_menu {
-
     min-height: 20px;
+
     min-height: 75px;
}
}
.acc_menu > li:hover > a,
.acc_menu > li:hover > a,
.acc_menu > li:target > a {
.acc_menu > li:target > a {
-
     color: #3e5706;
+
     color: #000;
-
     background: #a5cd4e;
+
     background: #d9f5aa;
}
}
   
   
-
.acc_menu > li:hover > a span,
+
.sub_menu li:hover a { background: #d9f5aa; }
-
.acc_menu > li:target > a span {
+
-
    color: #fdfdfd;
+
-
    background: #3e5706;
+
-
}
+
-
+
-
.sub_menu li:hover a { background: #efefef; }
+
</style>
</style>

Revision as of 21:48, 11 December 2013