bootstrap.less 3.4 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";

24
25
@import "buttons.less";

26
27
28
29
30
31
// Components: common
@import "component-animations.less";

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


34
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
// 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
102
/*
103
// Grid system and page structure
104
@import "grid.less";
Jacob Thornton's avatar
Jacob Thornton committed
105

106
// Base CSS
107
@import "type.less";
Mark Otto's avatar
Mark Otto committed
108
@import "code.less";
109
110
@import "forms.less";
@import "tables.less";
111

112
// Components: common
113
@import "glyphicons.less";
114
@import "dropdowns.less";
115
116
117
118
@import "wells.less";
@import "component-animations.less";
@import "close.less";

119
120
121
// Components: Buttons & Alerts
@import "buttons.less";
@import "button-groups.less";
122
@import "alerts.less";
123

124
// Components: Nav
125
@import "navs.less";
126
@import "navbar.less";
127
128
@import "breadcrumbs.less";
@import "pagination.less";
129
@import "pager.less";
130
131

// Components: Popovers
132
@import "modals.less";
133
@import "tooltip.less";
134
@import "popovers.less";
135
136

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

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



// 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
173
*/