causeway-standard-theme
Version:
106 lines (89 loc) • 1.71 kB
text/less
//
// Reset appropriate elements of Bootstrap
// --------------------------------------------------
/* Non-responsive overrides
*
* Utilitze the following CSS to disable the responsive-ness of the container,
* grid system, and navbar.
*/
/* Reset the container */
.container {
width: 100%;
z-index: 3001;
margin: 0;
}
/* Demonstrate the grids */
.container .navbar-header,
.container .navbar-collapse {
margin-right: 0;
margin-left: 0;
}
/* Always float the navbar header */
.navbar-header {
float: left;
}
/* Undo the collapsing navbar */
.navbar-collapse {
display: block ;
height: auto ;
padding-bottom: 0;
overflow: visible ;
}
.navbar-toggle {
display: none;
}
.navbar-brand {
margin-left: -15px;
}
/* Always apply the floated nav */
.navbar-nav {
float: left;
margin: 0;
}
.navbar-nav > li {
float: left;
}
.navbar-nav > li > a {
padding: 15px;
}
/* Redeclare since we override the float above */
.navbar-nav.navbar-right {
float: right;
}
/* Undo custom dropdowns */
.navbar .open .dropdown-menu {
position: absolute;
float: left;
}
// Colour Classes
.blue {
color: @enterprise-blue;
}
.caret {
margin-left: 5px; // Actual margin should be 10px but as this block is inline we need to account for whitespace.
.inline;
}
// Remove dotted lines arround the links
a {
outline: none;
color: @enterprise-dark-blue;
font-weight: bold;
text-decoration: none;
cursor: pointer;
&:active, &:focus {
outline: none;
}
&.disabled {
color: @black040;
cursor: not-allowed;
&:hover {
color: @black040;
}
}
&:hover {
color: @enterprise-dark-blue;
}
}
label {
.noselect;
}