rubyx-debugger/app/main/assets/css/menu.css

60 lines
1.0 KiB
CSS
Raw Normal View History

2015-08-13 17:49:22 +02:00
body {
font-family: arial, helvetica, serif;
2015-08-12 20:09:46 +02:00
}
2015-08-13 18:32:03 +02:00
#nav, #nav ul { /* all lists */
padding: 0;
margin: 0;
list-style: none;
2015-08-13 17:49:22 +02:00
float : left;
2015-08-19 22:24:37 +02:00
width : 10em;
2015-08-12 20:09:46 +02:00
/*border around submenu goes here*/
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
background:#fff;
2015-08-13 18:32:03 +02:00
border:1px solid #C3D46A
2015-08-12 20:09:46 +02:00
}
2015-08-13 18:32:03 +02:00
#nav li { /* all list items */
position : relative;
float : left;
line-height : 1.25em;
2015-08-19 22:24:37 +02:00
width: 9em;
2015-08-12 20:09:46 +02:00
}
2015-08-13 18:32:03 +02:00
#nav li ul { /* second-level lists */
position : absolute;
left: -999em;
2015-08-19 22:24:37 +02:00
margin-left : 10.05em;
2015-08-13 18:32:03 +02:00
margin-top : -1.35em;
2015-08-12 20:09:46 +02:00
}
2015-08-13 18:32:03 +02:00
#nav li ul ul { /* third-and-above-level lists */
left: -999em;
2015-08-12 20:09:46 +02:00
}
2015-08-19 22:24:37 +02:00
#nav li a , li span {
padding-left: 0.5em;
width : 9.5em;
2015-08-13 18:32:03 +02:00
display : block;
color : black;
font-weight : bold;
text-decoration : none;
background-color : white;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
2015-08-12 20:09:46 +02:00
}
2015-08-13 18:32:03 +02:00
#nav li a:hover {
color : white;
background-color : #F6C739;
2015-08-12 20:09:46 +02:00
}
2015-08-19 22:24:37 +02:00
#nav li:hover ul ul, #nav li:hover ul ul ul {
2015-08-13 18:32:03 +02:00
left: -999em;
}
2015-08-12 20:09:46 +02:00
2015-08-19 22:24:37 +02:00
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul { /* lists nested under hovered list items */
2015-08-13 18:32:03 +02:00
left: auto;
}