mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
177 lines
3.5 KiB
Plaintext
177 lines
3.5 KiB
Plaintext
/*!
|
|
* Bootstrap v3.0.0
|
|
*
|
|
* Copyright 2012 Twitter, Inc
|
|
* Licensed under the Apache License v2.0
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Designed and built with all the love in the world by @mdo and @fat.
|
|
*/
|
|
|
|
// Core variables and mixins
|
|
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
|
|
@import "mixins.less";
|
|
|
|
// Reset
|
|
@import "normalize.less";
|
|
|
|
// Core CSS
|
|
@import "scaffolding.less";
|
|
@import "type.less";
|
|
@import "code.less";
|
|
@import "grid.less";
|
|
|
|
@import "tables.less";
|
|
@import "forms.less";
|
|
@import "buttons.less";
|
|
|
|
// Components: common
|
|
@import "component-animations.less";
|
|
@import "glyphicons.less";
|
|
|
|
// Components: Nav
|
|
@import "navs.less";
|
|
@import "navbar.less";
|
|
|
|
|
|
|
|
// Responsive: Tablets and up
|
|
@media screen and (min-width: 768px) {
|
|
|
|
[class^="span"] {
|
|
float: left;
|
|
}
|
|
.span1 { width: 8.3333333%; }
|
|
.span2 { width: 16.6666667%; }
|
|
.span3 { width: 25%; }
|
|
.span4 { width: 33.3333333%; }
|
|
.span5 { width: 41.666666667%; }
|
|
.span6 { width: 50%; }
|
|
.span7 { width: 58.333333333%; }
|
|
.span8 { width: 66.666666667%; }
|
|
.span9 { width: 75%; }
|
|
.span10 { width: 83.333333333%; }
|
|
.span11 { width: 91.666666667%; }
|
|
|
|
}
|
|
|
|
// Responsive: Desktops and up
|
|
@media screen and (min-width: 992px) {
|
|
|
|
/* body {
|
|
font-size: 1.6rem;
|
|
font-size: 16px;
|
|
}
|
|
*/
|
|
.container {
|
|
width: 940px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.navbar {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
.navbar .brand {
|
|
float: left;
|
|
padding-top: 11px;
|
|
padding-bottom: 11px;
|
|
margin-left: -15px;
|
|
}
|
|
.navbar .nav {
|
|
overflow: hidden; /* clearfix */
|
|
margin-top: 0; /* undo top margin to make nav extend full height of navbar */
|
|
}
|
|
.navbar .nav > li {
|
|
float: left;
|
|
}
|
|
.navbar .nav > li > a {
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
/* Required to make the collapsing navbar work on regular desktops */
|
|
.navbar .btn-navbar {
|
|
display: none;
|
|
}
|
|
.nav-collapse.collapse {
|
|
float: left;
|
|
height: auto !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
}
|
|
|
|
/*
|
|
// Grid system and page structure
|
|
@import "grid.less";
|
|
|
|
// Base CSS
|
|
@import "type.less";
|
|
@import "code.less";
|
|
@import "forms.less";
|
|
@import "tables.less";
|
|
|
|
// Components: common
|
|
@import "glyphicons.less";
|
|
@import "dropdowns.less";
|
|
@import "wells.less";
|
|
@import "component-animations.less";
|
|
@import "close.less";
|
|
|
|
// Components: Buttons & Alerts
|
|
@import "buttons.less";
|
|
@import "button-groups.less";
|
|
@import "alerts.less";
|
|
|
|
// Components: Nav
|
|
@import "navs.less";
|
|
@import "navbar.less";
|
|
@import "breadcrumbs.less";
|
|
@import "pagination.less";
|
|
@import "pager.less";
|
|
|
|
// Components: Popovers
|
|
@import "modals.less";
|
|
@import "tooltip.less";
|
|
@import "popovers.less";
|
|
|
|
// Components: Misc
|
|
@import "thumbnails.less";
|
|
@import "media.less";
|
|
@import "badges.less";
|
|
@import "progress-bars.less";
|
|
@import "accordion.less";
|
|
@import "carousel.less";
|
|
@import "jumbotron.less";
|
|
|
|
// Utility classes
|
|
@import "utilities.less"; // Has to be last to override when necessary
|
|
|
|
|
|
|
|
// Responsive
|
|
// -------------------------------------------------------------
|
|
|
|
// Responsive utility classes
|
|
@import "responsive-utilities.less";
|
|
|
|
|
|
// Media queries
|
|
// ------------------
|
|
|
|
// Large desktops
|
|
@import "responsive-1200px-min.less";
|
|
|
|
// Tablets to regular desktops
|
|
@import "responsive-768px-979px.less";
|
|
|
|
// Phones to portrait tablets and narrow desktops
|
|
@import "responsive-767px-max.less";
|
|
|
|
|
|
// Responsive navbar
|
|
// From 979px and below, show a button to toggle navbar contents
|
|
@import "responsive-navbar.less";
|
|
*/ |