Sunil Mohan Adapa 9752ab8188 Use modernizr & CSS for user menu without JS
Modernizr adds a class called 'js' to the <html> element when javascript
is available.  We, as a part of basic modernizr setup, add a class
called 'no-js' to <html> element by default.  Use this fact to show/hide
elements when javascript is not available.
2015-05-04 00:56:37 +05:30

45 lines
700 B
CSS

body {
padding-top: 70px;
}
.nav .glyphicon,
.sidebar .glyphicon {
margin-right: 4px;
}
.navbar-brand img {
float: left;
margin-top: -14px;
padding: 8px;
}
.nav-tabs {
margin-bottom: 20px;
}
.running-status {
border-radius: 50%;
border: 1px solid black;
width: 8px;
height: 8px;
display: inline-block;
}
.running-status.active {
background-color: rgb(0, 167, 0);
}
.running-status.inactive {
background-color: rgb(228, 66, 66);
}
/* Hide log out button if user dropdown is available */
.js #logout-nojs {
display: none;
}
/* Hide the dropdown icon when javascript is not available */
.no-js .nav .dropdown .caret {
display: none;
}