Team:Tianjin/submenu.css

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
.menu_list {
.menu_list {
margin:10px;
margin:10px;
-
width: 200px;
+
width: 190px;
}
}
Line 11: Line 11:
     font-weight:bold;
     font-weight:bold;
color:#fff;
color:#fff;
 +
background:#aaa;
}
}

Revision as of 11:48, 20 September 2012

.menu_list { margin:10px; width: 190px; }

.menu_head { padding: 5px 10px; cursor: pointer; position: relative; margin:1px;

   font-weight:bold;

color:#fff; background:#aaa; }

.menu_head:hover { cursor: pointer; color: #fff; background: #d39f10; text-decoration: none; background-position: 0 0; }

.menu_body { display:none; }

.menu_children { background: #aaa; cursor: pointer; padding: 5px 10px; border-top: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #fff; border-right: 1px solid #fff; }

.menu_body a{

 display:block;
 color:#fff;
 padding-left:10px;
 font-weight:bold;
 text-decoration:none;

}

.menu_children:hover{ cursor: pointer;

 color: #fff;
 text-decoration:none;
 background:#777777;
 }