0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/less/bootstrap.less

177 lines
3.5 KiB
Plaintext
Raw Normal View History

/*!
2012-12-01 07:30:50 +01:00
* Bootstrap v3.0.0
*
2012-01-15 08:28:48 +01:00
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
2011-06-29 04:49:42 +02:00
*
* Designed and built with all the love in the world by @mdo and @fat.
*/
2011-06-29 00:10:43 +02:00
// 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";
2013-01-16 20:48:20 +01:00
@import "tables.less";
@import "forms.less";
@import "buttons.less";
// Components: common
@import "component-animations.less";
2013-01-16 21:30:44 +01:00
@import "glyphicons.less";
// Components: Nav
@import "navs.less";
@import "navbar.less";
2013-01-15 19:14:12 +01:00
2013-01-16 21:30:44 +01:00
// 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;
}
}
2013-01-15 07:05:55 +01:00
/*
// Grid system and page structure
@import "grid.less";
2011-05-04 03:09:25 +02:00
// Base CSS
@import "type.less";
2012-01-26 23:53:35 +01:00
@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";
2012-09-26 07:07:53 +02:00
@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";
2013-01-15 07:05:55 +01:00
*/