mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
116 lines
2.4 KiB
CSS
116 lines
2.4 KiB
CSS
/* Template-specific stuff
|
|
*
|
|
* Customizations just for the template; these are not necessary for anything
|
|
* with disabling the responsiveness.
|
|
*/
|
|
|
|
/* Account for fixed navbar */
|
|
body {
|
|
padding-top: 70px;
|
|
padding-bottom: 30px;
|
|
}
|
|
|
|
/* Finesse the page header spacing */
|
|
.page-header {
|
|
margin-bottom: 30px;
|
|
}
|
|
.page-header .lead {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
|
|
/* Non-responsive overrides
|
|
*
|
|
* Utilitze the following CSS to disable the responsive-ness of the container,
|
|
* grid system, and navbar.
|
|
*/
|
|
|
|
/* Reset the container */
|
|
.container {
|
|
max-width: none !important;
|
|
width: 970px;
|
|
}
|
|
|
|
/* Demonstrate the grids */
|
|
.col-xs-4 {
|
|
padding-top: 15px;
|
|
padding-bottom: 15px;
|
|
background-color: #eee;
|
|
border: 1px solid #ddd;
|
|
background-color: rgba(86,61,124,.15);
|
|
border: 1px solid rgba(86,61,124,.2);
|
|
}
|
|
|
|
.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 !important;
|
|
height: auto !important;
|
|
padding-bottom: 0;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.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;
|
|
background-color: #fff;
|
|
border: 1px solid #cccccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
border-width: 0 1px 1px;
|
|
border-radius: 0 0 4px 4px;
|
|
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
}
|
|
.navbar .open .dropdown-menu > li > a {
|
|
color: #333;
|
|
}
|
|
.navbar .open .dropdown-menu > li > a:hover,
|
|
.navbar .open .dropdown-menu > li > a:focus,
|
|
.navbar .open .dropdown-menu > .active > a,
|
|
.navbar .open .dropdown-menu > .active > a:hover,
|
|
.navbar .open .dropdown-menu > .active > a:focus {
|
|
color: #fff !important;
|
|
background-color: #428bca !important;
|
|
}
|
|
.navbar .open .dropdown-menu > .disabled > a,
|
|
.navbar .open .dropdown-menu > .disabled > a:hover,
|
|
.navbar .open .dropdown-menu > .disabled > a:focus {
|
|
color: #999 !important;
|
|
background-color: transparent !important;
|
|
}
|