Team:UCLA/Template/CSS test
From 2014.igem.org
(Difference between revisions)
Samichaels (Talk | contribs) |
Samichaels (Talk | contribs) |
||
Line 331: | Line 331: | ||
<!-- SAM'S NAVBAR EDIT SORRY | <!-- SAM'S NAVBAR EDIT SORRY | ||
- | |||
- | |||
- | |||
.dropdown-menu .sub-menu { | .dropdown-menu .sub-menu { | ||
Line 441: | Line 438: | ||
} | } | ||
</style> | </style> | ||
+ | |||
<!--SLIDING SIDE BAR--> | <!--SLIDING SIDE BAR--> | ||
Line 475: | Line 473: | ||
- | .sidebar- | + | .sidebar-nav { |
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
Line 484: | Line 482: | ||
} | } | ||
- | .sidebar- | + | .sidebar-nav li { |
line-height: 40px; | line-height: 40px; | ||
text-indent: 20px; | text-indent: 20px; | ||
} | } | ||
- | .sidebar- | + | .sidebar-nav li a { |
color: #999999; | color: #999999; | ||
display: block; | display: block; | ||
Line 496: | Line 494: | ||
} | } | ||
- | .sidebar- | + | .sidebar-nav li a span:before { |
position: absolute; | position: absolute; | ||
left: 0; | left: 0; | ||
Line 505: | Line 503: | ||
} | } | ||
- | .sidebar- | + | .sidebar-nav li a:hover, |
- | .sidebar- | + | .sidebar-nav li.active { |
color: #fff; | color: #fff; | ||
background: rgba(255,255,255,0.2); | background: rgba(255,255,255,0.2); | ||
Line 512: | Line 510: | ||
} | } | ||
- | .sidebar- | + | .sidebar-nav li a:active, |
- | .sidebar- | + | .sidebar-nav li a:focus { |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
- | .sidebar- | + | .sidebar-nav > .sidebar-brand { |
height: 65px; | height: 65px; | ||
line-height: 60px; | line-height: 60px; | ||
Line 523: | Line 521: | ||
} | } | ||
- | .sidebar- | + | .sidebar-nav > .sidebar-brand a { |
color: #999999; | color: #999999; | ||
} | } | ||
- | .sidebar- | + | .sidebar-nav > .sidebar-brand a:hover { |
color: #fff; | color: #fff; | ||
background: none; | background: none; |
Revision as of 22:05, 7 August 2014