bootstrap.less 3.44 KB
Newer Older
1
/*!
Mark Otto's avatar
Mark Otto committed
2
 * Bootstrap v3.0.0
3
 *
Mark Otto's avatar
Mark Otto committed
4
 * Copyright 2012 Twitter, Inc
5
6
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
Mark Otto's avatar
Mark Otto committed
7
 *
8
 * Designed and built with all the love in the world by @mdo and @fat.
9
 */
10

11
12
13
14
// Core variables and mixins
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
@import "mixins.less";

15
16
17
// Reset
@import "normalize.less";

18
19
20
21
22
23
// Core CSS
@import "scaffolding.less";
@import "type.less";
@import "code.less";
@import "grid.less";

Mark Otto's avatar
Mark Otto committed
24
25

@import "tables.less";
Mark Otto's avatar
Mark Otto committed
26
@import "forms.less";
27
28
@import "buttons.less";

29
30
31
32
33
34
// Components: common
@import "component-animations.less";

// Components: Nav
@import "navs.less";
@import "navbar.less";
Mark Otto's avatar
Mark Otto committed
35
36


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// 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;
  }

}

Mark Otto's avatar
Mark Otto committed
105
/*
106
// Grid system and page structure
107
@import "grid.less";
Jacob Thornton's avatar
Jacob Thornton committed
108

109
// Base CSS
110
@import "type.less";
Mark Otto's avatar
Mark Otto committed
111
@import "code.less";
112
113
@import "forms.less";
@import "tables.less";
114

115
// Components: common
116
@import "glyphicons.less";
117
@import "dropdowns.less";
118
119
120
121
@import "wells.less";
@import "component-animations.less";
@import "close.less";

122
123
124
// Components: Buttons & Alerts
@import "buttons.less";
@import "button-groups.less";
125
@import "alerts.less";
126

127
// Components: Nav
128
@import "navs.less";
129
@import "navbar.less";
130
131
@import "breadcrumbs.less";
@import "pagination.less";
132
@import "pager.less";
133
134

// Components: Popovers
135
@import "modals.less";
136
@import "tooltip.less";
137
@import "popovers.less";
138
139

// Components: Misc
140
@import "thumbnails.less";
141
@import "media.less";
142
@import "badges.less";
143
@import "progress-bars.less";
144
@import "accordion.less";
145
@import "carousel.less";
146
@import "jumbotron.less";
147

148
149
// Utility classes
@import "utilities.less"; // Has to be last to override when necessary
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175



// 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";
Mark Otto's avatar
Mark Otto committed
176
*/