thingspeak/app/assets/stylesheets/sidebar.css

48 lines
761 B
CSS
Raw Permalink Normal View History

.affix-top,.affix{
position: static;
}
#bootstrap-sidebar {
background-color: #eee;
border: 1px solid #bbb;
border-radius: 5px;
padding: 2px 0;
2014-02-28 19:57:58 +01:00
margin-top: 20px;
width: 228px;
}
#bootstrap-sidebar li a {
padding: 0 8px;
font-size: 15px;
}
#bootstrap-sidebar li a:hover {
background-color: #fafafa;
}
#bootstrap-sidebar li.active {
border:0 #666 solid;
border-right-width:4px;
}
2014-02-28 19:57:58 +01:00
#bootstrap-sidebar li.subitem a {
padding-left: 30px;
font-size: 12px;
}
@media (min-width: 979px) {
#bootstrap-sidebar.affix-top, #bootstrap-sidebar.affix {
position: fixed;
top:90px;
2014-02-28 19:57:58 +01:00
width: 228px;
margin-top: 0;
}
}
@media (max-width: 978px) {
#bootstrap-sidebar.affix-top, #bootstrap-sidebar.affix {
width: 100%;
}
}