twitter-bootswatch-rails 2.3.2.8 → 3.0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +8 -8
  2. data/lib/generators/bootswatch/import/import_generator.rb +4 -5
  3. data/lib/generators/bootswatch/install/install_generator.rb +4 -6
  4. data/lib/generators/bootswatch/install/templates/bootstrap.less +29 -33
  5. data/lib/generators/bootswatch/install/templates/bootswatch.css.less.tt +0 -4
  6. data/lib/generators/bootswatch/install/templates/bootswatch.js.tt +3 -0
  7. data/lib/generators/bootswatch/install/templates/loader.css.less.tt +1 -1
  8. data/lib/generators/bootswatch/install/templates/loader.js.tt +10 -0
  9. data/lib/generators/bootswatch/install/templates/mixins.less.tt +487 -466
  10. data/lib/generators/bootswatch/install/templates/variables.less.tt +498 -179
  11. data/lib/generators/bootswatch/layout/templates/layout.html.erb +349 -18
  12. data/lib/generators/bootswatch/layout/templates/layout.html.haml +0 -5
  13. data/lib/generators/bootswatch/layout/templates/layout.html.slim +0 -5
  14. data/lib/twitter/bootswatch/rails/version.rb +1 -1
  15. data/vendor/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
  16. data/vendor/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +228 -0
  17. data/vendor/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  18. data/vendor/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
  19. data/vendor/assets/javascripts/twitter/bootstrap/affix.js +126 -0
  20. data/vendor/assets/javascripts/twitter/bootstrap/alert.js +98 -0
  21. data/vendor/assets/javascripts/twitter/bootstrap/button.js +109 -0
  22. data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +217 -0
  23. data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +179 -0
  24. data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +154 -0
  25. data/vendor/assets/javascripts/twitter/bootstrap/modal.js +246 -0
  26. data/vendor/assets/javascripts/twitter/bootstrap/popover.js +117 -0
  27. data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +158 -0
  28. data/vendor/assets/javascripts/twitter/bootstrap/tab.js +135 -0
  29. data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +386 -0
  30. data/vendor/assets/javascripts/twitter/bootstrap/transition.js +56 -0
  31. data/vendor/toolkit/twitter/bootstrap/alerts.less +46 -58
  32. data/vendor/toolkit/twitter/bootstrap/badges.less +51 -0
  33. data/vendor/toolkit/twitter/bootstrap/bootstrap.less +29 -33
  34. data/vendor/toolkit/twitter/bootstrap/breadcrumbs.less +7 -8
  35. data/vendor/toolkit/twitter/bootstrap/button-groups.less +173 -154
  36. data/vendor/toolkit/twitter/bootstrap/buttons.less +97 -165
  37. data/vendor/toolkit/twitter/bootstrap/carousel.less +115 -64
  38. data/vendor/toolkit/twitter/bootstrap/close.less +20 -19
  39. data/vendor/toolkit/twitter/bootstrap/code.less +17 -22
  40. data/vendor/toolkit/twitter/bootstrap/component-animations.less +10 -3
  41. data/vendor/toolkit/twitter/bootstrap/dropdowns.less +92 -147
  42. data/vendor/toolkit/twitter/bootstrap/forms.less +224 -561
  43. data/vendor/toolkit/twitter/bootstrap/glyphicons.less +232 -0
  44. data/vendor/toolkit/twitter/bootstrap/grid.less +336 -11
  45. data/vendor/toolkit/twitter/bootstrap/input-groups.less +127 -0
  46. data/vendor/toolkit/twitter/bootstrap/jumbotron.less +40 -0
  47. data/vendor/toolkit/twitter/bootstrap/labels.less +58 -0
  48. data/vendor/toolkit/twitter/bootstrap/list-group.less +88 -0
  49. data/vendor/toolkit/twitter/bootstrap/media.less +8 -7
  50. data/vendor/toolkit/twitter/bootstrap/mixins.less +487 -466
  51. data/vendor/toolkit/twitter/bootstrap/modals.less +98 -52
  52. data/vendor/toolkit/twitter/bootstrap/navbar.less +507 -383
  53. data/vendor/toolkit/twitter/bootstrap/navs.less +169 -349
  54. data/vendor/toolkit/twitter/bootstrap/normalize.less +396 -0
  55. data/vendor/toolkit/twitter/bootstrap/pager.less +45 -33
  56. data/vendor/toolkit/twitter/bootstrap/pagination.less +65 -105
  57. data/vendor/toolkit/twitter/bootstrap/panels.less +148 -0
  58. data/vendor/toolkit/twitter/bootstrap/popovers.less +51 -51
  59. data/vendor/toolkit/twitter/bootstrap/print.less +100 -0
  60. data/vendor/toolkit/twitter/bootstrap/progress-bars.less +28 -55
  61. data/vendor/toolkit/twitter/bootstrap/responsive-utilities.less +195 -34
  62. data/vendor/toolkit/twitter/bootstrap/scaffolding.less +101 -24
  63. data/vendor/toolkit/twitter/bootstrap/tables.less +170 -178
  64. data/vendor/toolkit/twitter/bootstrap/theme.less +232 -0
  65. data/vendor/toolkit/twitter/bootstrap/thumbnails.less +11 -33
  66. data/vendor/toolkit/twitter/bootstrap/tooltip.less +45 -20
  67. data/vendor/toolkit/twitter/bootstrap/type.less +101 -110
  68. data/vendor/toolkit/twitter/bootstrap/utilities.less +19 -7
  69. data/vendor/toolkit/twitter/bootstrap/variables.less +498 -179
  70. data/vendor/toolkit/twitter/bootstrap/wells.less +7 -7
  71. metadata +33 -36
  72. data/lib/generators/bootswatch/install/templates/bootswatch.js.coffee.tt +0 -9
  73. data/lib/generators/bootswatch/install/templates/loader.coffee.tt +0 -23
  74. data/lib/generators/bootswatch/install/templates/responsive.less.tt +0 -51
  75. data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings-white.png +0 -0
  76. data/vendor/assets/images/twitter/bootstrap/glyphicons-halflings.png +0 -0
  77. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-affix.js +0 -117
  78. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-alert.js +0 -99
  79. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-button.js +0 -105
  80. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-carousel.js +0 -207
  81. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-collapse.js +0 -167
  82. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-dropdown.js +0 -169
  83. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-modal.js +0 -247
  84. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-popover.js +0 -114
  85. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-scrollspy.js +0 -162
  86. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tab.js +0 -144
  87. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-tooltip.js +0 -361
  88. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-transition.js +0 -60
  89. data/vendor/assets/javascripts/twitter/bootstrap/bootstrap-typeahead.js +0 -335
  90. data/vendor/toolkit/twitter/bootstrap/accordion.less +0 -34
  91. data/vendor/toolkit/twitter/bootstrap/hero-unit.less +0 -25
  92. data/vendor/toolkit/twitter/bootstrap/labels-badges.less +0 -84
  93. data/vendor/toolkit/twitter/bootstrap/layouts.less +0 -16
  94. data/vendor/toolkit/twitter/bootstrap/reset.less +0 -216
  95. data/vendor/toolkit/twitter/bootstrap/responsive-1200px-min.less +0 -28
  96. data/vendor/toolkit/twitter/bootstrap/responsive-767px-max.less +0 -193
  97. data/vendor/toolkit/twitter/bootstrap/responsive-768px-979px.less +0 -19
  98. data/vendor/toolkit/twitter/bootstrap/responsive-navbar.less +0 -189
  99. data/vendor/toolkit/twitter/bootstrap/responsive.less +0 -48
  100. data/vendor/toolkit/twitter/bootstrap/sprites.less +0 -197
@@ -9,131 +9,177 @@
9
9
  // Global values
10
10
  // --------------------------------------------------
11
11
 
12
-
13
12
  // Grays
14
13
  // -------------------------
15
- @black: #000;
16
- @grayDarker: #222;
17
- @grayDark: #333;
18
- @gray: #555;
19
- @grayLight: #999;
20
- @grayLighter: #eee;
21
- @white: #fff;
22
14
 
15
+ @gray-darker: lighten(#000, 13.5%); // #222
16
+ @gray-dark: lighten(#000, 20%); // #333
17
+ @gray: lighten(#000, 33.5%); // #555
18
+ @gray-light: lighten(#000, 60%); // #999
19
+ @gray-lighter: lighten(#000, 93.5%); // #eee
23
20
 
24
- // Accent colors
21
+ // Brand colors
25
22
  // -------------------------
26
- @blue: #049cdb;
27
- @blueDark: #0064cd;
28
- @green: #46a546;
29
- @red: #9d261d;
30
- @yellow: #ffc40d;
31
- @orange: #f89406;
32
- @pink: #c3325f;
33
- @purple: #7a43b6;
34
23
 
24
+ @brand-primary: #428bca;
25
+ @brand-success: #5cb85c;
26
+ @brand-warning: #f0ad4e;
27
+ @brand-danger: #d9534f;
28
+ @brand-info: #5bc0de;
35
29
 
36
30
  // Scaffolding
37
31
  // -------------------------
38
- @bodyBackground: @white;
39
- @textColor: @grayDark;
40
32
 
33
+ @body-bg: #fff;
34
+ @text-color: @gray-dark;
41
35
 
42
36
  // Links
43
37
  // -------------------------
44
- @linkColor: #08c;
45
- @linkColorHover: darken(@linkColor, 15%);
46
38
 
39
+ @link-color: @brand-primary;
40
+ @link-hover-color: darken(@link-color, 15%);
47
41
 
48
42
  // Typography
49
43
  // -------------------------
50
- @sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
51
- @serifFontFamily: Georgia, "Times New Roman", Times, serif;
52
- @monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace;
53
44
 
54
- @baseFontSize: 14px;
55
- @baseFontFamily: @sansFontFamily;
56
- @baseLineHeight: 20px;
57
- @altFontFamily: @serifFontFamily;
45
+ @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
46
+ @font-family-serif: Georgia, "Times New Roman", Times, serif;
47
+ @font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
48
+ @font-family-base: @font-family-sans-serif;
49
+
50
+ @font-size-base: 14px;
51
+ @font-size-large: ceil(@font-size-base * 1.25); // ~18px
52
+ @font-size-small: ceil(@font-size-base * 0.85); // ~12px
53
+
54
+ @line-height-base: 1.428571429; // 20/14
55
+ @line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
56
+
57
+ @headings-font-family: @font-family-base;
58
+ @headings-font-weight: 500;
59
+ @headings-line-height: 1.1;
58
60
 
59
- @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
60
- @headingsFontWeight: bold; // instead of browser default, bold
61
- @headingsColor: inherit; // empty to use BS default, @textColor
61
+ // Iconography
62
+ // -------------------------
63
+
64
+ @icon-font-path: "twitter/bootstrap/";
65
+ @icon-font-name: "glyphicons-halflings-regular";
62
66
 
63
67
 
64
- // Component sizing
68
+ // Components
65
69
  // -------------------------
66
- // Based on 14px font-size and 20px line-height
70
+ // Based on 14px font-size and 1.428 line-height (~20px to start)
71
+
72
+ @padding-base-vertical: 6px;
73
+ @padding-base-horizontal: 12px;
74
+
75
+ @padding-large-vertical: 10px;
76
+ @padding-large-horizontal: 16px;
67
77
 
68
- @fontSizeLarge: @baseFontSize * 1.25; // ~18px
69
- @fontSizeSmall: @baseFontSize * 0.85; // ~12px
70
- @fontSizeMini: @baseFontSize * 0.75; // ~11px
78
+ @padding-small-vertical: 5px;
79
+ @padding-small-horizontal: 10px;
71
80
 
72
- @paddingLarge: 11px 19px; // 44px
73
- @paddingSmall: 2px 10px; // 26px
74
- @paddingMini: 0 6px; // 22px
81
+ @line-height-large: 1.33;
82
+ @line-height-small: 1.5;
75
83
 
76
- @baseBorderRadius: 4px;
77
- @borderRadiusLarge: 6px;
78
- @borderRadiusSmall: 3px;
84
+ @border-radius-base: 4px;
85
+ @border-radius-large: 6px;
86
+ @border-radius-small: 3px;
79
87
 
88
+ @component-active-bg: @brand-primary;
89
+
90
+ @caret-width-base: 4px;
91
+ @caret-width-large: 5px;
80
92
 
81
93
  // Tables
82
94
  // -------------------------
83
- @tableBackground: transparent; // overall background-color
84
- @tableBackgroundAccent: #f9f9f9; // for striping
85
- @tableBackgroundHover: #f5f5f5; // for hover
86
- @tableBorder: #ddd; // table and cell border
95
+
96
+ @table-cell-padding: 8px;
97
+ @table-condensed-cell-padding: 5px;
98
+
99
+ @table-bg: transparent; // overall background-color
100
+ @table-bg-accent: #f9f9f9; // for striping
101
+ @table-bg-hover: #f5f5f5;
102
+ @table-bg-active: @table-bg-hover;
103
+
104
+ @table-border-color: #ddd; // table and cell border
105
+
87
106
 
88
107
  // Buttons
89
108
  // -------------------------
90
- @btnBackground: @white;
91
- @btnBackgroundHighlight: darken(@white, 10%);
92
- @btnBorder: #ccc;
93
109
 
94
- @btnPrimaryBackground: @linkColor;
95
- @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%);
110
+ @btn-font-weight: normal;
111
+
112
+ @btn-default-color: #333;
113
+ @btn-default-bg: #fff;
114
+ @btn-default-border: #ccc;
115
+
116
+ @btn-primary-color: #fff;
117
+ @btn-primary-bg: @brand-primary;
118
+ @btn-primary-border: darken(@btn-primary-bg, 5%);
96
119
 
97
- @btnInfoBackground: #5bc0de;
98
- @btnInfoBackgroundHighlight: #2f96b4;
120
+ @btn-success-color: #fff;
121
+ @btn-success-bg: @brand-success;
122
+ @btn-success-border: darken(@btn-success-bg, 5%);
99
123
 
100
- @btnSuccessBackground: #62c462;
101
- @btnSuccessBackgroundHighlight: #51a351;
124
+ @btn-warning-color: #fff;
125
+ @btn-warning-bg: @brand-warning;
126
+ @btn-warning-border: darken(@btn-warning-bg, 5%);
102
127
 
103
- @btnWarningBackground: lighten(@orange, 15%);
104
- @btnWarningBackgroundHighlight: @orange;
128
+ @btn-danger-color: #fff;
129
+ @btn-danger-bg: @brand-danger;
130
+ @btn-danger-border: darken(@btn-danger-bg, 5%);
105
131
 
106
- @btnDangerBackground: #ee5f5b;
107
- @btnDangerBackgroundHighlight: #bd362f;
132
+ @btn-info-color: #fff;
133
+ @btn-info-bg: @brand-info;
134
+ @btn-info-border: darken(@btn-info-bg, 5%);
108
135
 
109
- @btnInverseBackground: #444;
110
- @btnInverseBackgroundHighlight: @grayDarker;
136
+ @btn-link-disabled-color: @gray-light;
111
137
 
112
138
 
113
139
  // Forms
114
140
  // -------------------------
115
- @inputBackground: @white;
116
- @inputBorder: #ccc;
117
- @inputBorderRadius: @baseBorderRadius;
118
- @inputDisabledBackground: @grayLighter;
119
- @formActionsBackground: #f5f5f5;
120
- @inputHeight: @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
141
+
142
+ @input-bg: #fff;
143
+ @input-bg-disabled: @gray-lighter;
144
+
145
+ @input-color: @gray;
146
+ @input-border: #ccc;
147
+ @input-border-radius: @border-radius-base;
148
+ @input-border-focus: #66afe9;
149
+
150
+ @input-color-placeholder: @gray-light;
151
+
152
+ @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
153
+ @input-height-large: (floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
154
+ @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
155
+
156
+ @legend-color: @gray-dark;
157
+ @legend-border-color: #e5e5e5;
158
+
159
+ @input-group-addon-bg: @gray-lighter;
160
+ @input-group-addon-border-color: @input-border;
121
161
 
122
162
 
123
163
  // Dropdowns
124
164
  // -------------------------
125
- @dropdownBackground: @white;
126
- @dropdownBorder: rgba(0,0,0,.2);
127
- @dropdownDividerTop: #e5e5e5;
128
- @dropdownDividerBottom: @white;
129
165
 
130
- @dropdownLinkColor: @grayDark;
131
- @dropdownLinkColorHover: @white;
132
- @dropdownLinkColorActive: @white;
166
+ @dropdown-bg: #fff;
167
+ @dropdown-border: rgba(0,0,0,.15);
168
+ @dropdown-fallback-border: #ccc;
169
+ @dropdown-divider-bg: #e5e5e5;
170
+
171
+ @dropdown-link-active-color: #fff;
172
+ @dropdown-link-active-bg: @component-active-bg;
173
+
174
+ @dropdown-link-color: @gray-dark;
175
+ @dropdown-link-hover-color: #fff;
176
+ @dropdown-link-hover-bg: @dropdown-link-active-bg;
133
177
 
134
- @dropdownLinkBackgroundActive: @linkColor;
135
- @dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
178
+ @dropdown-link-disabled-color: @gray-light;
136
179
 
180
+ @dropdown-header-color: @gray-light;
181
+
182
+ @dropdown-caret-color: #000;
137
183
 
138
184
 
139
185
  // COMPONENT VARIABLES
@@ -144,161 +190,434 @@
144
190
  // -------------------------
145
191
  // Used for a bird's eye view of components dependent on the z-axis
146
192
  // Try to avoid customizing these :)
147
- @zindexDropdown: 1000;
148
- @zindexPopover: 1010;
149
- @zindexTooltip: 1030;
150
- @zindexFixedNavbar: 1030;
151
- @zindexModalBackdrop: 1040;
152
- @zindexModal: 1050;
153
193
 
194
+ @zindex-navbar: 1000;
195
+ @zindex-dropdown: 1000;
196
+ @zindex-popover: 1010;
197
+ @zindex-tooltip: 1030;
198
+ @zindex-navbar-fixed: 1030;
199
+ @zindex-modal-background: 1040;
200
+ @zindex-modal: 1050;
201
+
202
+ // Media queries breakpoints
203
+ // --------------------------------------------------
204
+
205
+ // Extra small screen / phone
206
+ @screen-xs: 480px;
207
+ @screen-phone: @screen-xs;
208
+
209
+ // Small screen / tablet
210
+ @screen-sm: 768px;
211
+ @screen-tablet: @screen-sm;
212
+
213
+ // Medium screen / desktop
214
+ @screen-md: 992px;
215
+ @screen-desktop: @screen-md;
216
+
217
+ // Large screen / wide desktop
218
+ @screen-lg: 1200px;
219
+ @screen-lg-desktop: @screen-lg;
154
220
 
155
- // Sprite icons path
221
+ // So media queries don't overlap when required, provide a maximum
222
+ @screen-xs-max: (@screen-sm - 1);
223
+ @screen-sm-max: (@screen-md - 1);
224
+ @screen-md-max: (@screen-lg - 1);
225
+
226
+
227
+ // Grid system
228
+ // --------------------------------------------------
229
+
230
+ // Number of columns in the grid system
231
+ @grid-columns: 12;
232
+ // Padding, to be divided by two and applied to the left and right of all columns
233
+ @grid-gutter-width: 30px;
234
+ // Point at which the navbar stops collapsing
235
+ @grid-float-breakpoint: @screen-tablet;
236
+
237
+
238
+ // Navbar
156
239
  // -------------------------
157
- @iconSpritePath: "twitter/bootstrap/glyphicons-halflings.png";
158
- @iconWhiteSpritePath: "twitter/bootstrap/glyphicons-halflings-white.png";
240
+
241
+ // Basics of a navbar
242
+ @navbar-height: 50px;
243
+ @navbar-margin-bottom: @line-height-computed;
244
+ @navbar-default-color: #777;
245
+ @navbar-default-bg: #f8f8f8;
246
+ @navbar-default-border: darken(@navbar-default-bg, 6.5%);
247
+ @navbar-border-radius: @border-radius-base;
248
+ @navbar-padding-horizontal: floor(@grid-gutter-width / 2);
249
+ @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
250
+
251
+ // Navbar links
252
+ @navbar-default-link-color: #777;
253
+ @navbar-default-link-hover-color: #333;
254
+ @navbar-default-link-hover-bg: transparent;
255
+ @navbar-default-link-active-color: #555;
256
+ @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
257
+ @navbar-default-link-disabled-color: #ccc;
258
+ @navbar-default-link-disabled-bg: transparent;
259
+
260
+ // Navbar brand label
261
+ @navbar-default-brand-color: @navbar-default-link-color;
262
+ @navbar-default-brand-hover-color: darken(@navbar-default-link-color, 10%);
263
+ @navbar-default-brand-hover-bg: transparent;
264
+
265
+ // Navbar toggle
266
+ @navbar-default-toggle-hover-bg: #ddd;
267
+ @navbar-default-toggle-icon-bar-bg: #ccc;
268
+ @navbar-default-toggle-border-color: #ddd;
159
269
 
160
270
 
161
- // Input placeholder text color
271
+ // Inverted navbar
272
+ //
273
+ // Reset inverted navbar basics
274
+ @navbar-inverse-color: @gray-light;
275
+ @navbar-inverse-bg: #222;
276
+ @navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
277
+
278
+ // Inverted navbar links
279
+ @navbar-inverse-link-color: @gray-light;
280
+ @navbar-inverse-link-hover-color: #fff;
281
+ @navbar-inverse-link-hover-bg: transparent;
282
+ @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
283
+ @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
284
+ @navbar-inverse-link-disabled-color: #444;
285
+ @navbar-inverse-link-disabled-bg: transparent;
286
+
287
+ // Inverted navbar brand label
288
+ @navbar-inverse-brand-color: @navbar-inverse-link-color;
289
+ @navbar-inverse-brand-hover-color: #fff;
290
+ @navbar-inverse-brand-hover-bg: transparent;
291
+
292
+ // Inverted navbar search
293
+ // Normal navbar needs no special styles or vars
294
+ @navbar-inverse-search-bg: lighten(@navbar-inverse-bg, 25%);
295
+ @navbar-inverse-search-bg-focus: #fff;
296
+ @navbar-inverse-search-border: @navbar-inverse-bg;
297
+ @navbar-inverse-search-placeholder-color: #ccc;
298
+
299
+ // Inverted navbar toggle
300
+ @navbar-inverse-toggle-hover-bg: #333;
301
+ @navbar-inverse-toggle-icon-bar-bg: #fff;
302
+ @navbar-inverse-toggle-border-color: #333;
303
+
304
+
305
+ // Navs
162
306
  // -------------------------
163
- @placeholderText: @grayLight;
164
307
 
308
+ @nav-link-padding: 10px 15px;
309
+ @nav-link-hover-bg: @gray-lighter;
165
310
 
166
- // Hr border color
311
+ @nav-disabled-link-color: @gray-light;
312
+ @nav-disabled-link-hover-color: @gray-light;
313
+
314
+ @nav-open-link-hover-color: #fff;
315
+ @nav-open-caret-border-color: #fff;
316
+
317
+ // Tabs
318
+ @nav-tabs-border-color: #ddd;
319
+
320
+ @nav-tabs-link-hover-border-color: @gray-lighter;
321
+
322
+ @nav-tabs-active-link-hover-bg: @body-bg;
323
+ @nav-tabs-active-link-hover-color: @gray;
324
+ @nav-tabs-active-link-hover-border-color: #ddd;
325
+
326
+ @nav-tabs-justified-link-border-color: #ddd;
327
+ @nav-tabs-justified-active-link-border-color: @body-bg;
328
+
329
+ // Pills
330
+ @nav-pills-active-link-hover-bg: @component-active-bg;
331
+ @nav-pills-active-link-hover-color: #fff;
332
+
333
+
334
+ // Pagination
167
335
  // -------------------------
168
- @hrBorder: @grayLighter;
169
336
 
337
+ @pagination-bg: #fff;
338
+ @pagination-border: #ddd;
170
339
 
171
- // Horizontal forms & lists
340
+ @pagination-hover-bg: @gray-lighter;
341
+
342
+ @pagination-active-bg: @brand-primary;
343
+ @pagination-active-color: #fff;
344
+
345
+ @pagination-disabled-color: @gray-light;
346
+
347
+
348
+ // Pager
172
349
  // -------------------------
173
- @horizontalComponentOffset: 180px;
174
350
 
351
+ @pager-border-radius: 15px;
352
+ @pager-disabled-color: @gray-light;
175
353
 
176
- // Wells
354
+
355
+ // Jumbotron
177
356
  // -------------------------
178
- @wellBackground: #f5f5f5;
179
357
 
358
+ @jumbotron-padding: 30px;
359
+ @jumbotron-color: inherit;
360
+ @jumbotron-bg: @gray-lighter;
180
361
 
181
- // Navbar
362
+ @jumbotron-heading-color: inherit;
363
+
364
+
365
+ // Form states and alerts
182
366
  // -------------------------
183
- @navbarCollapseWidth: 979px;
184
- @navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
185
367
 
186
- @navbarHeight: 40px;
187
- @navbarBackgroundHighlight: #ffffff;
188
- @navbarBackground: darken(@navbarBackgroundHighlight, 5%);
189
- @navbarBorder: darken(@navbarBackground, 12%);
368
+ @state-warning-text: #c09853;
369
+ @state-warning-bg: #fcf8e3;
370
+ @state-warning-border: darken(spin(@state-warning-bg, -10), 3%);
190
371
 
191
- @navbarText: #777;
192
- @navbarLinkColor: #777;
193
- @navbarLinkColorHover: @grayDark;
194
- @navbarLinkColorActive: @gray;
195
- @navbarLinkBackgroundHover: transparent;
196
- @navbarLinkBackgroundActive: darken(@navbarBackground, 5%);
372
+ @state-danger-text: #b94a48;
373
+ @state-danger-bg: #f2dede;
374
+ @state-danger-border: darken(spin(@state-danger-bg, -10), 3%);
197
375
 
198
- @navbarBrandColor: @navbarLinkColor;
376
+ @state-success-text: #468847;
377
+ @state-success-bg: #dff0d8;
378
+ @state-success-border: darken(spin(@state-success-bg, -10), 5%);
199
379
 
200
- // Inverted navbar
201
- @navbarInverseBackground: #111111;
202
- @navbarInverseBackgroundHighlight: #222222;
203
- @navbarInverseBorder: #252525;
380
+ @state-info-text: #3a87ad;
381
+ @state-info-bg: #d9edf7;
382
+ @state-info-border: darken(spin(@state-info-bg, -10), 7%);
204
383
 
205
- @navbarInverseText: @grayLight;
206
- @navbarInverseLinkColor: @grayLight;
207
- @navbarInverseLinkColorHover: @white;
208
- @navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
209
- @navbarInverseLinkBackgroundHover: transparent;
210
- @navbarInverseLinkBackgroundActive: @navbarInverseBackground;
211
384
 
212
- @navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
213
- @navbarInverseSearchBackgroundFocus: @white;
214
- @navbarInverseSearchBorder: @navbarInverseBackground;
215
- @navbarInverseSearchPlaceholderColor: #ccc;
385
+ // Tooltips
386
+ // -------------------------
387
+ @tooltip-max-width: 200px;
388
+ @tooltip-color: #fff;
389
+ @tooltip-bg: #000;
216
390
 
217
- @navbarInverseBrandColor: @navbarInverseLinkColor;
391
+ @tooltip-arrow-width: 5px;
392
+ @tooltip-arrow-color: @tooltip-bg;
218
393
 
219
394
 
220
- // Pagination
395
+ // Popovers
221
396
  // -------------------------
222
- @paginationBackground: #fff;
223
- @paginationBorder: #ddd;
224
- @paginationActiveBackground: #f5f5f5;
397
+ @popover-bg: #fff;
398
+ @popover-max-width: 276px;
399
+ @popover-border-color: rgba(0,0,0,.2);
400
+ @popover-fallback-border-color: #ccc;
401
+
402
+ @popover-title-bg: darken(@popover-bg, 3%);
403
+
404
+ @popover-arrow-width: 10px;
405
+ @popover-arrow-color: #fff;
406
+
407
+ @popover-arrow-outer-width: (@popover-arrow-width + 1);
408
+ @popover-arrow-outer-color: rgba(0,0,0,.25);
409
+ @popover-arrow-outer-fallback-color: #999;
225
410
 
226
411
 
227
- // Hero unit
412
+ // Labels
228
413
  // -------------------------
229
- @heroUnitBackground: @grayLighter;
230
- @heroUnitHeadingColor: inherit;
231
- @heroUnitLeadColor: inherit;
232
414
 
415
+ @label-default-bg: @gray-light;
416
+ @label-primary-bg: @brand-primary;
417
+ @label-success-bg: @brand-success;
418
+ @label-info-bg: @brand-info;
419
+ @label-warning-bg: @brand-warning;
420
+ @label-danger-bg: @brand-danger;
233
421
 
234
- // Form states and alerts
422
+ @label-color: #fff;
423
+ @label-link-hover-color: #fff;
424
+
425
+
426
+ // Modals
235
427
  // -------------------------
236
- @warningText: #c09853;
237
- @warningBackground: #fcf8e3;
238
- @warningBorder: darken(spin(@warningBackground, -10), 3%);
428
+ @modal-inner-padding: 20px;
239
429
 
240
- @errorText: #b94a48;
241
- @errorBackground: #f2dede;
242
- @errorBorder: darken(spin(@errorBackground, -10), 3%);
430
+ @modal-title-padding: 15px;
431
+ @modal-title-line-height: @line-height-base;
243
432
 
244
- @successText: #468847;
245
- @successBackground: #dff0d8;
246
- @successBorder: darken(spin(@successBackground, -10), 5%);
433
+ @modal-content-bg: #fff;
434
+ @modal-content-border-color: rgba(0,0,0,.2);
435
+ @modal-content-fallback-border-color: #999;
247
436
 
248
- @infoText: #3a87ad;
249
- @infoBackground: #d9edf7;
250
- @infoBorder: darken(spin(@infoBackground, -10), 7%);
437
+ @modal-backdrop-bg: #000;
438
+ @modal-header-border-color: #e5e5e5;
439
+ @modal-footer-border-color: @modal-header-border-color;
251
440
 
252
441
 
253
- // Tooltips and popovers
442
+ // Alerts
254
443
  // -------------------------
255
- @tooltipColor: #fff;
256
- @tooltipBackground: #000;
257
- @tooltipArrowWidth: 5px;
258
- @tooltipArrowColor: @tooltipBackground;
444
+ @alert-padding: 15px;
445
+ @alert-border-radius: @border-radius-base;
446
+ @alert-link-font-weight: bold;
259
447
 
260
- @popoverBackground: #fff;
261
- @popoverArrowWidth: 10px;
262
- @popoverArrowColor: #fff;
263
- @popoverTitleBackground: darken(@popoverBackground, 3%);
448
+ @alert-success-bg: @state-success-bg;
449
+ @alert-success-text: @state-success-text;
450
+ @alert-success-border: @state-success-border;
264
451
 
265
- // Special enhancement for popovers
266
- @popoverArrowOuterWidth: @popoverArrowWidth + 1;
267
- @popoverArrowOuterColor: rgba(0,0,0,.25);
452
+ @alert-info-bg: @state-info-bg;
453
+ @alert-info-text: @state-info-text;
454
+ @alert-info-border: @state-info-border;
268
455
 
456
+ @alert-warning-bg: @state-warning-bg;
457
+ @alert-warning-text: @state-warning-text;
458
+ @alert-warning-border: @state-warning-border;
269
459
 
460
+ @alert-danger-bg: @state-danger-bg;
461
+ @alert-danger-text: @state-danger-text;
462
+ @alert-danger-border: @state-danger-border;
270
463
 
271
- // GRID
272
- // --------------------------------------------------
464
+
465
+ // Progress bars
466
+ // -------------------------
467
+ @progress-bg: #f5f5f5;
468
+ @progress-bar-color: #fff;
469
+
470
+ @progress-bar-bg: @brand-primary;
471
+ @progress-bar-success-bg: @brand-success;
472
+ @progress-bar-warning-bg: @brand-warning;
473
+ @progress-bar-danger-bg: @brand-danger;
474
+ @progress-bar-info-bg: @brand-info;
273
475
 
274
476
 
275
- // Default 940px grid
477
+ // List group
276
478
  // -------------------------
277
- @gridColumns: 12;
278
- @gridColumnWidth: 60px;
279
- @gridGutterWidth: 20px;
280
- @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
479
+ @list-group-bg: #fff;
480
+ @list-group-border: #ddd;
481
+ @list-group-border-radius: @border-radius-base;
281
482
 
282
- // 1200px min
283
- @gridColumnWidth1200: 70px;
284
- @gridGutterWidth1200: 30px;
285
- @gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
483
+ @list-group-hover-bg: #f5f5f5;
484
+ @list-group-active-color: #fff;
485
+ @list-group-active-bg: @component-active-bg;
486
+ @list-group-active-border: @list-group-active-bg;
286
487
 
287
- // 768px-979px
288
- @gridColumnWidth768: 42px;
289
- @gridGutterWidth768: 20px;
290
- @gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
488
+ @list-group-link-color: #555;
489
+ @list-group-link-heading-color: #333;
291
490
 
292
491
 
293
- // Fluid grid
492
+ // Panels
294
493
  // -------------------------
295
- @fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth);
296
- @fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth);
494
+ @panel-bg: #fff;
495
+ @panel-inner-border: #ddd;
496
+ @panel-border-radius: @border-radius-base;
497
+ @panel-footer-bg: #f5f5f5;
498
+
499
+ @panel-default-text: @gray-dark;
500
+ @panel-default-border: #ddd;
501
+ @panel-default-heading-bg: #f5f5f5;
502
+
503
+ @panel-primary-text: #fff;
504
+ @panel-primary-border: @brand-primary;
505
+ @panel-primary-heading-bg: @brand-primary;
506
+
507
+ @panel-success-text: @state-success-text;
508
+ @panel-success-border: @state-success-border;
509
+ @panel-success-heading-bg: @state-success-bg;
510
+
511
+ @panel-warning-text: @state-warning-text;
512
+ @panel-warning-border: @state-warning-border;
513
+ @panel-warning-heading-bg: @state-warning-bg;
514
+
515
+ @panel-danger-text: @state-danger-text;
516
+ @panel-danger-border: @state-danger-border;
517
+ @panel-danger-heading-bg: @state-danger-bg;
518
+
519
+ @panel-info-text: @state-info-text;
520
+ @panel-info-border: @state-info-border;
521
+ @panel-info-heading-bg: @state-info-bg;
522
+
523
+
524
+ // Thumbnails
525
+ // -------------------------
526
+ @thumbnail-padding: 4px;
527
+ @thumbnail-bg: @body-bg;
528
+ @thumbnail-border: #ddd;
529
+ @thumbnail-border-radius: @border-radius-base;
530
+
531
+ @thumbnail-caption-color: @text-color;
532
+ @thumbnail-caption-padding: 9px;
533
+
534
+
535
+ // Wells
536
+ // -------------------------
537
+ @well-bg: #f5f5f5;
538
+
539
+
540
+ // Badges
541
+ // -------------------------
542
+ @badge-color: #fff;
543
+ @badge-link-hover-color: #fff;
544
+ @badge-bg: @gray-light;
545
+
546
+ @badge-active-color: @link-color;
547
+ @badge-active-bg: #fff;
548
+
549
+ @badge-font-weight: bold;
550
+ @badge-line-height: 1;
551
+ @badge-border-radius: 10px;
552
+
553
+
554
+ // Breadcrumbs
555
+ // -------------------------
556
+ @breadcrumb-bg: #f5f5f5;
557
+ @breadcrumb-color: #ccc;
558
+ @breadcrumb-active-color: @gray-light;
559
+
560
+
561
+ // Carousel
562
+ // ------------------------
563
+
564
+ @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
565
+
566
+ @carousel-control-color: #fff;
567
+ @carousel-control-width: 15%;
568
+ @carousel-control-opacity: .5;
569
+ @carousel-control-font-size: 20px;
570
+
571
+ @carousel-indicator-active-bg: #fff;
572
+ @carousel-indicator-border-color: #fff;
573
+
574
+ @carousel-caption-color: #fff;
575
+
576
+
577
+ // Close
578
+ // ------------------------
579
+ @close-color: #000;
580
+ @close-font-weight: bold;
581
+ @close-text-shadow: 0 1px 0 #fff;
582
+
583
+
584
+ // Code
585
+ // ------------------------
586
+ @code-color: #c7254e;
587
+ @code-bg: #f9f2f4;
588
+
589
+ @pre-bg: #f5f5f5;
590
+ @pre-color: @gray-dark;
591
+ @pre-border-color: #ccc;
592
+ @pre-scrollable-max-height: 340px;
593
+
594
+ // Type
595
+ // ------------------------
596
+ @text-muted: @gray-light;
597
+ @abbr-border-color: @gray-light;
598
+ @headings-small-color: @gray-light;
599
+ @blockquote-small-color: @gray-light;
600
+ @blockquote-border-color: @gray-lighter;
601
+ @page-header-border-color: @gray-lighter;
602
+
603
+ // Miscellaneous
604
+ // -------------------------
605
+
606
+ // Hr border color
607
+ @hr-border: @gray-lighter;
608
+
609
+ // Horizontal forms & lists
610
+ @component-offset-horizontal: 180px;
611
+
612
+
613
+ // Container sizes
614
+ // --------------------------------------------------
615
+
616
+ // Small screen / tablet
617
+ @container-tablet: ((720px + @grid-gutter-width));
297
618
 
298
- // 1200px min
299
- @fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200);
300
- @fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200);
619
+ // Medium screen / desktop
620
+ @container-desktop: ((940px + @grid-gutter-width));
301
621
 
302
- // 768px-979px
303
- @fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768);
304
- @fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768);
622
+ // Large screen / wide desktop
623
+ @container-lg-desktop: ((1140px + @grid-gutter-width));