less-rails-bootstrap 3.1.1.1 → 3.2.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 +4 -4
  2. data/.gitignore +1 -1
  3. data/.travis.yml +5 -4
  4. data/Appraisals +10 -4
  5. data/Gemfile +0 -2
  6. data/ISSUES.md +6 -0
  7. data/README.md +6 -6
  8. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
  9. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +229 -0
  10. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  11. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
  12. data/app/assets/javascripts/twitter/bootstrap.js +12 -0
  13. data/app/assets/javascripts/twitter/bootstrap/affix.js +142 -0
  14. data/app/assets/javascripts/twitter/bootstrap/alert.js +92 -0
  15. data/app/assets/javascripts/twitter/bootstrap/button.js +110 -0
  16. data/app/assets/javascripts/twitter/bootstrap/carousel.js +223 -0
  17. data/app/assets/javascripts/twitter/bootstrap/collapse.js +170 -0
  18. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +151 -0
  19. data/app/assets/javascripts/twitter/bootstrap/modal.js +280 -0
  20. data/app/assets/javascripts/twitter/bootstrap/popover.js +113 -0
  21. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +170 -0
  22. data/app/assets/javascripts/twitter/bootstrap/tab.js +128 -0
  23. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +457 -0
  24. data/app/assets/javascripts/twitter/bootstrap/transition.js +59 -0
  25. data/app/assets/stylesheets/twitter/bootstrap.less +1 -0
  26. data/app/frameworks/twitter/bootstrap/alerts.less +68 -0
  27. data/app/frameworks/twitter/bootstrap/badges.less +55 -0
  28. data/app/frameworks/twitter/bootstrap/bootstrap.less +50 -0
  29. data/app/frameworks/twitter/bootstrap/breadcrumbs.less +26 -0
  30. data/app/frameworks/twitter/bootstrap/button-groups.less +240 -0
  31. data/app/frameworks/twitter/bootstrap/buttons.less +157 -0
  32. data/app/frameworks/twitter/bootstrap/carousel.less +243 -0
  33. data/app/frameworks/twitter/bootstrap/close.less +33 -0
  34. data/app/frameworks/twitter/bootstrap/code.less +68 -0
  35. data/app/frameworks/twitter/bootstrap/component-animations.less +31 -0
  36. data/app/frameworks/twitter/bootstrap/dropdowns.less +215 -0
  37. data/app/frameworks/twitter/bootstrap/forms.less +540 -0
  38. data/app/frameworks/twitter/bootstrap/glyphicons.less +233 -0
  39. data/app/frameworks/twitter/bootstrap/grid.less +84 -0
  40. data/app/frameworks/twitter/bootstrap/input-groups.less +166 -0
  41. data/app/frameworks/twitter/bootstrap/jumbotron.less +48 -0
  42. data/app/frameworks/twitter/bootstrap/labels.less +64 -0
  43. data/app/frameworks/twitter/bootstrap/list-group.less +131 -0
  44. data/app/frameworks/twitter/bootstrap/media.less +56 -0
  45. data/app/frameworks/twitter/bootstrap/mixins.less +39 -0
  46. data/app/frameworks/twitter/bootstrap/mixins/alerts.less +14 -0
  47. data/app/frameworks/twitter/bootstrap/mixins/background-variant.less +8 -0
  48. data/app/frameworks/twitter/bootstrap/mixins/border-radius.less +18 -0
  49. data/app/frameworks/twitter/bootstrap/mixins/buttons.less +50 -0
  50. data/app/frameworks/twitter/bootstrap/mixins/center-block.less +7 -0
  51. data/app/frameworks/twitter/bootstrap/mixins/clearfix.less +22 -0
  52. data/app/frameworks/twitter/bootstrap/mixins/forms.less +81 -0
  53. data/app/frameworks/twitter/bootstrap/mixins/gradients.less +59 -0
  54. data/app/frameworks/twitter/bootstrap/mixins/grid-framework.less +91 -0
  55. data/app/frameworks/twitter/bootstrap/mixins/grid.less +122 -0
  56. data/app/frameworks/twitter/bootstrap/mixins/hide-text.less +21 -0
  57. data/app/frameworks/twitter/bootstrap/mixins/image.less +34 -0
  58. data/app/frameworks/twitter/bootstrap/mixins/labels.less +12 -0
  59. data/app/frameworks/twitter/bootstrap/mixins/list-group.less +29 -0
  60. data/app/frameworks/twitter/bootstrap/mixins/nav-divider.less +10 -0
  61. data/app/frameworks/twitter/bootstrap/mixins/nav-vertical-align.less +9 -0
  62. data/app/frameworks/twitter/bootstrap/mixins/opacity.less +8 -0
  63. data/app/frameworks/twitter/bootstrap/mixins/pagination.less +23 -0
  64. data/app/frameworks/twitter/bootstrap/mixins/panels.less +24 -0
  65. data/app/frameworks/twitter/bootstrap/mixins/progress-bar.less +10 -0
  66. data/app/frameworks/twitter/bootstrap/mixins/reset-filter.less +8 -0
  67. data/app/frameworks/twitter/bootstrap/mixins/resize.less +6 -0
  68. data/app/frameworks/twitter/bootstrap/mixins/responsive-visibility.less +15 -0
  69. data/app/frameworks/twitter/bootstrap/mixins/size.less +10 -0
  70. data/app/frameworks/twitter/bootstrap/mixins/tab-focus.less +9 -0
  71. data/app/frameworks/twitter/bootstrap/mixins/table-row.less +28 -0
  72. data/app/frameworks/twitter/bootstrap/mixins/text-emphasis.less +8 -0
  73. data/app/frameworks/twitter/bootstrap/mixins/text-overflow.less +8 -0
  74. data/app/frameworks/twitter/bootstrap/mixins/vendor-prefixes.less +224 -0
  75. data/app/frameworks/twitter/bootstrap/modals.less +150 -0
  76. data/app/frameworks/twitter/bootstrap/navbar.less +655 -0
  77. data/app/frameworks/twitter/bootstrap/navs.less +242 -0
  78. data/app/frameworks/twitter/bootstrap/normalize.less +425 -0
  79. data/app/frameworks/twitter/bootstrap/pager.less +55 -0
  80. data/app/frameworks/twitter/bootstrap/pagination.less +88 -0
  81. data/app/frameworks/twitter/bootstrap/panels.less +243 -0
  82. data/app/frameworks/twitter/bootstrap/popovers.less +133 -0
  83. data/app/frameworks/twitter/bootstrap/print.less +101 -0
  84. data/app/frameworks/twitter/bootstrap/progress-bars.less +105 -0
  85. data/app/frameworks/twitter/bootstrap/responsive-embed.less +34 -0
  86. data/app/frameworks/twitter/bootstrap/responsive-utilities.less +194 -0
  87. data/app/frameworks/twitter/bootstrap/scaffolding.less +150 -0
  88. data/app/frameworks/twitter/bootstrap/tables.less +233 -0
  89. data/app/frameworks/twitter/bootstrap/theme.less +258 -0
  90. data/app/frameworks/twitter/bootstrap/thumbnails.less +36 -0
  91. data/app/frameworks/twitter/bootstrap/tooltip.less +95 -0
  92. data/app/frameworks/twitter/bootstrap/type.less +313 -0
  93. data/app/frameworks/twitter/bootstrap/utilities.less +57 -0
  94. data/app/frameworks/twitter/bootstrap/variables.less +846 -0
  95. data/app/frameworks/twitter/bootstrap/wells.less +29 -0
  96. data/less-rails-bootstrap.gemspec +4 -2
  97. data/lib/less/rails/bootstrap/version.rb +1 -1
  98. data/scripts/update_bootstrap.sh +5 -4
  99. data/test/cases/generators/custom_bootstrap_generator_test.rb +1 -1
  100. metadata +51 -7
@@ -0,0 +1,846 @@
1
+ //
2
+ // Variables
3
+ // --------------------------------------------------
4
+
5
+
6
+ //== Colors
7
+ //
8
+ //## Gray and brand colors for use across Bootstrap.
9
+
10
+ @gray-darker: lighten(#000, 13.5%); // #222
11
+ @gray-dark: lighten(#000, 20%); // #333
12
+ @gray: lighten(#000, 33.5%); // #555
13
+ @gray-light: lighten(#000, 46.7%); // #777
14
+ @gray-lighter: lighten(#000, 93.5%); // #eee
15
+
16
+ @brand-primary: #428bca;
17
+ @brand-success: #5cb85c;
18
+ @brand-info: #5bc0de;
19
+ @brand-warning: #f0ad4e;
20
+ @brand-danger: #d9534f;
21
+
22
+
23
+ //== Scaffolding
24
+ //
25
+ //## Settings for some of the most global styles.
26
+
27
+ //** Background color for `<body>`.
28
+ @body-bg: #fff;
29
+ //** Global text color on `<body>`.
30
+ @text-color: @gray-dark;
31
+
32
+ //** Global textual link color.
33
+ @link-color: @brand-primary;
34
+ //** Link hover color set via `darken()` function.
35
+ @link-hover-color: darken(@link-color, 15%);
36
+
37
+
38
+ //== Typography
39
+ //
40
+ //## Font, line-height, and color for body text, headings, and more.
41
+
42
+ @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
43
+ @font-family-serif: Georgia, "Times New Roman", Times, serif;
44
+ //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
45
+ @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
46
+ @font-family-base: @font-family-sans-serif;
47
+
48
+ @font-size-base: 14px;
49
+ @font-size-large: ceil((@font-size-base * 1.25)); // ~18px
50
+ @font-size-small: ceil((@font-size-base * 0.85)); // ~12px
51
+
52
+ @font-size-h1: floor((@font-size-base * 2.6)); // ~36px
53
+ @font-size-h2: floor((@font-size-base * 2.15)); // ~30px
54
+ @font-size-h3: ceil((@font-size-base * 1.7)); // ~24px
55
+ @font-size-h4: ceil((@font-size-base * 1.25)); // ~18px
56
+ @font-size-h5: @font-size-base;
57
+ @font-size-h6: ceil((@font-size-base * 0.85)); // ~12px
58
+
59
+ //** Unit-less `line-height` for use in components like buttons.
60
+ @line-height-base: 1.428571429; // 20/14
61
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
62
+ @line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px
63
+
64
+ //** By default, this inherits from the `<body>`.
65
+ @headings-font-family: inherit;
66
+ @headings-font-weight: 500;
67
+ @headings-line-height: 1.1;
68
+ @headings-color: inherit;
69
+
70
+
71
+ //== Iconography
72
+ //
73
+ //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
74
+
75
+ //** Load fonts from this directory.
76
+ @icon-font-path: "twitter/bootstrap/";
77
+ //** File name for all font files.
78
+ @icon-font-name: "glyphicons-halflings-regular";
79
+ //** Element ID within SVG icon file.
80
+ @icon-font-svg-id: "glyphicons_halflingsregular";
81
+
82
+
83
+ //== Components
84
+ //
85
+ //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
86
+
87
+ @padding-base-vertical: 6px;
88
+ @padding-base-horizontal: 12px;
89
+
90
+ @padding-large-vertical: 10px;
91
+ @padding-large-horizontal: 16px;
92
+
93
+ @padding-small-vertical: 5px;
94
+ @padding-small-horizontal: 10px;
95
+
96
+ @padding-xs-vertical: 1px;
97
+ @padding-xs-horizontal: 5px;
98
+
99
+ @line-height-large: 1.33;
100
+ @line-height-small: 1.5;
101
+
102
+ @border-radius-base: 4px;
103
+ @border-radius-large: 6px;
104
+ @border-radius-small: 3px;
105
+
106
+ //** Global color for active items (e.g., navs or dropdowns).
107
+ @component-active-color: #fff;
108
+ //** Global background color for active items (e.g., navs or dropdowns).
109
+ @component-active-bg: @brand-primary;
110
+
111
+ //** Width of the `border` for generating carets that indicator dropdowns.
112
+ @caret-width-base: 4px;
113
+ //** Carets increase slightly in size for larger components.
114
+ @caret-width-large: 5px;
115
+
116
+
117
+ //== Tables
118
+ //
119
+ //## Customizes the `.table` component with basic values, each used across all table variations.
120
+
121
+ //** Padding for `<th>`s and `<td>`s.
122
+ @table-cell-padding: 8px;
123
+ //** Padding for cells in `.table-condensed`.
124
+ @table-condensed-cell-padding: 5px;
125
+
126
+ //** Default background color used for all tables.
127
+ @table-bg: transparent;
128
+ //** Background color used for `.table-striped`.
129
+ @table-bg-accent: #f9f9f9;
130
+ //** Background color used for `.table-hover`.
131
+ @table-bg-hover: #f5f5f5;
132
+ @table-bg-active: @table-bg-hover;
133
+
134
+ //** Border color for table and cell borders.
135
+ @table-border-color: #ddd;
136
+
137
+
138
+ //== Buttons
139
+ //
140
+ //## For each of Bootstrap's buttons, define text, background and border color.
141
+
142
+ @btn-font-weight: normal;
143
+
144
+ @btn-default-color: #333;
145
+ @btn-default-bg: #fff;
146
+ @btn-default-border: #ccc;
147
+
148
+ @btn-primary-color: #fff;
149
+ @btn-primary-bg: @brand-primary;
150
+ @btn-primary-border: darken(@btn-primary-bg, 5%);
151
+
152
+ @btn-success-color: #fff;
153
+ @btn-success-bg: @brand-success;
154
+ @btn-success-border: darken(@btn-success-bg, 5%);
155
+
156
+ @btn-info-color: #fff;
157
+ @btn-info-bg: @brand-info;
158
+ @btn-info-border: darken(@btn-info-bg, 5%);
159
+
160
+ @btn-warning-color: #fff;
161
+ @btn-warning-bg: @brand-warning;
162
+ @btn-warning-border: darken(@btn-warning-bg, 5%);
163
+
164
+ @btn-danger-color: #fff;
165
+ @btn-danger-bg: @brand-danger;
166
+ @btn-danger-border: darken(@btn-danger-bg, 5%);
167
+
168
+ @btn-link-disabled-color: @gray-light;
169
+
170
+
171
+ //== Forms
172
+ //
173
+ //##
174
+
175
+ //** `<input>` background color
176
+ @input-bg: #fff;
177
+ //** `<input disabled>` background color
178
+ @input-bg-disabled: @gray-lighter;
179
+
180
+ //** Text color for `<input>`s
181
+ @input-color: @gray;
182
+ //** `<input>` border color
183
+ @input-border: #ccc;
184
+ //** `<input>` border radius
185
+ @input-border-radius: @border-radius-base;
186
+ //** Border color for inputs on focus
187
+ @input-border-focus: #66afe9;
188
+
189
+ //** Placeholder text color
190
+ @input-color-placeholder: @gray-light;
191
+
192
+ //** Default `.form-control` height
193
+ @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
194
+ //** Large `.form-control` height
195
+ @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
196
+ //** Small `.form-control` height
197
+ @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
198
+
199
+ @legend-color: @gray-dark;
200
+ @legend-border-color: #e5e5e5;
201
+
202
+ //** Background color for textual input addons
203
+ @input-group-addon-bg: @gray-lighter;
204
+ //** Border color for textual input addons
205
+ @input-group-addon-border-color: @input-border;
206
+
207
+
208
+ //== Dropdowns
209
+ //
210
+ //## Dropdown menu container and contents.
211
+
212
+ //** Background for the dropdown menu.
213
+ @dropdown-bg: #fff;
214
+ //** Dropdown menu `border-color`.
215
+ @dropdown-border: rgba(0,0,0,.15);
216
+ //** Dropdown menu `border-color` **for IE8**.
217
+ @dropdown-fallback-border: #ccc;
218
+ //** Divider color for between dropdown items.
219
+ @dropdown-divider-bg: #e5e5e5;
220
+
221
+ //** Dropdown link text color.
222
+ @dropdown-link-color: @gray-dark;
223
+ //** Hover color for dropdown links.
224
+ @dropdown-link-hover-color: darken(@gray-dark, 5%);
225
+ //** Hover background for dropdown links.
226
+ @dropdown-link-hover-bg: #f5f5f5;
227
+
228
+ //** Active dropdown menu item text color.
229
+ @dropdown-link-active-color: @component-active-color;
230
+ //** Active dropdown menu item background color.
231
+ @dropdown-link-active-bg: @component-active-bg;
232
+
233
+ //** Disabled dropdown menu item background color.
234
+ @dropdown-link-disabled-color: @gray-light;
235
+
236
+ //** Text color for headers within dropdown menus.
237
+ @dropdown-header-color: @gray-light;
238
+
239
+ //** Deprecated `@dropdown-caret-color` as of v3.1.0
240
+ @dropdown-caret-color: #000;
241
+
242
+
243
+ //-- Z-index master list
244
+ //
245
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
246
+ // of components dependent on the z-axis and are designed to all work together.
247
+ //
248
+ // Note: These variables are not generated into the Customizer.
249
+
250
+ @zindex-navbar: 1000;
251
+ @zindex-dropdown: 1000;
252
+ @zindex-popover: 1060;
253
+ @zindex-tooltip: 1070;
254
+ @zindex-navbar-fixed: 1030;
255
+ @zindex-modal-background: 1040;
256
+ @zindex-modal: 1050;
257
+
258
+
259
+ //== Media queries breakpoints
260
+ //
261
+ //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
262
+
263
+ // Extra small screen / phone
264
+ //** Deprecated `@screen-xs` as of v3.0.1
265
+ @screen-xs: 480px;
266
+ //** Deprecated `@screen-xs-min` as of v3.2.0
267
+ @screen-xs-min: @screen-xs;
268
+ //** Deprecated `@screen-phone` as of v3.0.1
269
+ @screen-phone: @screen-xs-min;
270
+
271
+ // Small screen / tablet
272
+ //** Deprecated `@screen-sm` as of v3.0.1
273
+ @screen-sm: 768px;
274
+ @screen-sm-min: @screen-sm;
275
+ //** Deprecated `@screen-tablet` as of v3.0.1
276
+ @screen-tablet: @screen-sm-min;
277
+
278
+ // Medium screen / desktop
279
+ //** Deprecated `@screen-md` as of v3.0.1
280
+ @screen-md: 992px;
281
+ @screen-md-min: @screen-md;
282
+ //** Deprecated `@screen-desktop` as of v3.0.1
283
+ @screen-desktop: @screen-md-min;
284
+
285
+ // Large screen / wide desktop
286
+ //** Deprecated `@screen-lg` as of v3.0.1
287
+ @screen-lg: 1200px;
288
+ @screen-lg-min: @screen-lg;
289
+ //** Deprecated `@screen-lg-desktop` as of v3.0.1
290
+ @screen-lg-desktop: @screen-lg-min;
291
+
292
+ // So media queries don't overlap when required, provide a maximum
293
+ @screen-xs-max: (@screen-sm-min - 1);
294
+ @screen-sm-max: (@screen-md-min - 1);
295
+ @screen-md-max: (@screen-lg-min - 1);
296
+
297
+
298
+ //== Grid system
299
+ //
300
+ //## Define your custom responsive grid.
301
+
302
+ //** Number of columns in the grid.
303
+ @grid-columns: 12;
304
+ //** Padding between columns. Gets divided in half for the left and right.
305
+ @grid-gutter-width: 30px;
306
+ // Navbar collapse
307
+ //** Point at which the navbar becomes uncollapsed.
308
+ @grid-float-breakpoint: @screen-sm-min;
309
+ //** Point at which the navbar begins collapsing.
310
+ @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
311
+
312
+
313
+ //== Container sizes
314
+ //
315
+ //## Define the maximum width of `.container` for different screen sizes.
316
+
317
+ // Small screen / tablet
318
+ @container-tablet: ((720px + @grid-gutter-width));
319
+ //** For `@screen-sm-min` and up.
320
+ @container-sm: @container-tablet;
321
+
322
+ // Medium screen / desktop
323
+ @container-desktop: ((940px + @grid-gutter-width));
324
+ //** For `@screen-md-min` and up.
325
+ @container-md: @container-desktop;
326
+
327
+ // Large screen / wide desktop
328
+ @container-large-desktop: ((1140px + @grid-gutter-width));
329
+ //** For `@screen-lg-min` and up.
330
+ @container-lg: @container-large-desktop;
331
+
332
+
333
+ //== Navbar
334
+ //
335
+ //##
336
+
337
+ // Basics of a navbar
338
+ @navbar-height: 50px;
339
+ @navbar-margin-bottom: @line-height-computed;
340
+ @navbar-border-radius: @border-radius-base;
341
+ @navbar-padding-horizontal: floor((@grid-gutter-width / 2));
342
+ @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
343
+ @navbar-collapse-max-height: 340px;
344
+
345
+ @navbar-default-color: #777;
346
+ @navbar-default-bg: #f8f8f8;
347
+ @navbar-default-border: darken(@navbar-default-bg, 6.5%);
348
+
349
+ // Navbar links
350
+ @navbar-default-link-color: #777;
351
+ @navbar-default-link-hover-color: #333;
352
+ @navbar-default-link-hover-bg: transparent;
353
+ @navbar-default-link-active-color: #555;
354
+ @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
355
+ @navbar-default-link-disabled-color: #ccc;
356
+ @navbar-default-link-disabled-bg: transparent;
357
+
358
+ // Navbar brand label
359
+ @navbar-default-brand-color: @navbar-default-link-color;
360
+ @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
361
+ @navbar-default-brand-hover-bg: transparent;
362
+
363
+ // Navbar toggle
364
+ @navbar-default-toggle-hover-bg: #ddd;
365
+ @navbar-default-toggle-icon-bar-bg: #888;
366
+ @navbar-default-toggle-border-color: #ddd;
367
+
368
+
369
+ // Inverted navbar
370
+ // Reset inverted navbar basics
371
+ @navbar-inverse-color: @gray-light;
372
+ @navbar-inverse-bg: #222;
373
+ @navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
374
+
375
+ // Inverted navbar links
376
+ @navbar-inverse-link-color: @gray-light;
377
+ @navbar-inverse-link-hover-color: #fff;
378
+ @navbar-inverse-link-hover-bg: transparent;
379
+ @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
380
+ @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
381
+ @navbar-inverse-link-disabled-color: #444;
382
+ @navbar-inverse-link-disabled-bg: transparent;
383
+
384
+ // Inverted navbar brand label
385
+ @navbar-inverse-brand-color: @navbar-inverse-link-color;
386
+ @navbar-inverse-brand-hover-color: #fff;
387
+ @navbar-inverse-brand-hover-bg: transparent;
388
+
389
+ // Inverted navbar toggle
390
+ @navbar-inverse-toggle-hover-bg: #333;
391
+ @navbar-inverse-toggle-icon-bar-bg: #fff;
392
+ @navbar-inverse-toggle-border-color: #333;
393
+
394
+
395
+ //== Navs
396
+ //
397
+ //##
398
+
399
+ //=== Shared nav styles
400
+ @nav-link-padding: 10px 15px;
401
+ @nav-link-hover-bg: @gray-lighter;
402
+
403
+ @nav-disabled-link-color: @gray-light;
404
+ @nav-disabled-link-hover-color: @gray-light;
405
+
406
+ @nav-open-link-hover-color: #fff;
407
+
408
+ //== Tabs
409
+ @nav-tabs-border-color: #ddd;
410
+
411
+ @nav-tabs-link-hover-border-color: @gray-lighter;
412
+
413
+ @nav-tabs-active-link-hover-bg: @body-bg;
414
+ @nav-tabs-active-link-hover-color: @gray;
415
+ @nav-tabs-active-link-hover-border-color: #ddd;
416
+
417
+ @nav-tabs-justified-link-border-color: #ddd;
418
+ @nav-tabs-justified-active-link-border-color: @body-bg;
419
+
420
+ //== Pills
421
+ @nav-pills-border-radius: @border-radius-base;
422
+ @nav-pills-active-link-hover-bg: @component-active-bg;
423
+ @nav-pills-active-link-hover-color: @component-active-color;
424
+
425
+
426
+ //== Pagination
427
+ //
428
+ //##
429
+
430
+ @pagination-color: @link-color;
431
+ @pagination-bg: #fff;
432
+ @pagination-border: #ddd;
433
+
434
+ @pagination-hover-color: @link-hover-color;
435
+ @pagination-hover-bg: @gray-lighter;
436
+ @pagination-hover-border: #ddd;
437
+
438
+ @pagination-active-color: #fff;
439
+ @pagination-active-bg: @brand-primary;
440
+ @pagination-active-border: @brand-primary;
441
+
442
+ @pagination-disabled-color: @gray-light;
443
+ @pagination-disabled-bg: #fff;
444
+ @pagination-disabled-border: #ddd;
445
+
446
+
447
+ //== Pager
448
+ //
449
+ //##
450
+
451
+ @pager-bg: @pagination-bg;
452
+ @pager-border: @pagination-border;
453
+ @pager-border-radius: 15px;
454
+
455
+ @pager-hover-bg: @pagination-hover-bg;
456
+
457
+ @pager-active-bg: @pagination-active-bg;
458
+ @pager-active-color: @pagination-active-color;
459
+
460
+ @pager-disabled-color: @pagination-disabled-color;
461
+
462
+
463
+ //== Jumbotron
464
+ //
465
+ //##
466
+
467
+ @jumbotron-padding: 30px;
468
+ @jumbotron-color: inherit;
469
+ @jumbotron-bg: @gray-lighter;
470
+ @jumbotron-heading-color: inherit;
471
+ @jumbotron-font-size: ceil((@font-size-base * 1.5));
472
+
473
+
474
+ //== Form states and alerts
475
+ //
476
+ //## Define colors for form feedback states and, by default, alerts.
477
+
478
+ @state-success-text: #3c763d;
479
+ @state-success-bg: #dff0d8;
480
+ @state-success-border: darken(spin(@state-success-bg, -10), 5%);
481
+
482
+ @state-info-text: #31708f;
483
+ @state-info-bg: #d9edf7;
484
+ @state-info-border: darken(spin(@state-info-bg, -10), 7%);
485
+
486
+ @state-warning-text: #8a6d3b;
487
+ @state-warning-bg: #fcf8e3;
488
+ @state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
489
+
490
+ @state-danger-text: #a94442;
491
+ @state-danger-bg: #f2dede;
492
+ @state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
493
+
494
+
495
+ //== Tooltips
496
+ //
497
+ //##
498
+
499
+ //** Tooltip max width
500
+ @tooltip-max-width: 200px;
501
+ //** Tooltip text color
502
+ @tooltip-color: #fff;
503
+ //** Tooltip background color
504
+ @tooltip-bg: #000;
505
+ @tooltip-opacity: .9;
506
+
507
+ //** Tooltip arrow width
508
+ @tooltip-arrow-width: 5px;
509
+ //** Tooltip arrow color
510
+ @tooltip-arrow-color: @tooltip-bg;
511
+
512
+
513
+ //== Popovers
514
+ //
515
+ //##
516
+
517
+ //** Popover body background color
518
+ @popover-bg: #fff;
519
+ //** Popover maximum width
520
+ @popover-max-width: 276px;
521
+ //** Popover border color
522
+ @popover-border-color: rgba(0,0,0,.2);
523
+ //** Popover fallback border color
524
+ @popover-fallback-border-color: #ccc;
525
+
526
+ //** Popover title background color
527
+ @popover-title-bg: darken(@popover-bg, 3%);
528
+
529
+ //** Popover arrow width
530
+ @popover-arrow-width: 10px;
531
+ //** Popover arrow color
532
+ @popover-arrow-color: #fff;
533
+
534
+ //** Popover outer arrow width
535
+ @popover-arrow-outer-width: (@popover-arrow-width + 1);
536
+ //** Popover outer arrow color
537
+ @popover-arrow-outer-color: fadein(@popover-border-color, 5%);
538
+ //** Popover outer arrow fallback color
539
+ @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);
540
+
541
+
542
+ //== Labels
543
+ //
544
+ //##
545
+
546
+ //** Default label background color
547
+ @label-default-bg: @gray-light;
548
+ //** Primary label background color
549
+ @label-primary-bg: @brand-primary;
550
+ //** Success label background color
551
+ @label-success-bg: @brand-success;
552
+ //** Info label background color
553
+ @label-info-bg: @brand-info;
554
+ //** Warning label background color
555
+ @label-warning-bg: @brand-warning;
556
+ //** Danger label background color
557
+ @label-danger-bg: @brand-danger;
558
+
559
+ //** Default label text color
560
+ @label-color: #fff;
561
+ //** Default text color of a linked label
562
+ @label-link-hover-color: #fff;
563
+
564
+
565
+ //== Modals
566
+ //
567
+ //##
568
+
569
+ //** Padding applied to the modal body
570
+ @modal-inner-padding: 15px;
571
+
572
+ //** Padding applied to the modal title
573
+ @modal-title-padding: 15px;
574
+ //** Modal title line-height
575
+ @modal-title-line-height: @line-height-base;
576
+
577
+ //** Background color of modal content area
578
+ @modal-content-bg: #fff;
579
+ //** Modal content border color
580
+ @modal-content-border-color: rgba(0,0,0,.2);
581
+ //** Modal content border color **for IE8**
582
+ @modal-content-fallback-border-color: #999;
583
+
584
+ //** Modal backdrop background color
585
+ @modal-backdrop-bg: #000;
586
+ //** Modal backdrop opacity
587
+ @modal-backdrop-opacity: .5;
588
+ //** Modal header border color
589
+ @modal-header-border-color: #e5e5e5;
590
+ //** Modal footer border color
591
+ @modal-footer-border-color: @modal-header-border-color;
592
+
593
+ @modal-lg: 900px;
594
+ @modal-md: 600px;
595
+ @modal-sm: 300px;
596
+
597
+
598
+ //== Alerts
599
+ //
600
+ //## Define alert colors, border radius, and padding.
601
+
602
+ @alert-padding: 15px;
603
+ @alert-border-radius: @border-radius-base;
604
+ @alert-link-font-weight: bold;
605
+
606
+ @alert-success-bg: @state-success-bg;
607
+ @alert-success-text: @state-success-text;
608
+ @alert-success-border: @state-success-border;
609
+
610
+ @alert-info-bg: @state-info-bg;
611
+ @alert-info-text: @state-info-text;
612
+ @alert-info-border: @state-info-border;
613
+
614
+ @alert-warning-bg: @state-warning-bg;
615
+ @alert-warning-text: @state-warning-text;
616
+ @alert-warning-border: @state-warning-border;
617
+
618
+ @alert-danger-bg: @state-danger-bg;
619
+ @alert-danger-text: @state-danger-text;
620
+ @alert-danger-border: @state-danger-border;
621
+
622
+
623
+ //== Progress bars
624
+ //
625
+ //##
626
+
627
+ //** Background color of the whole progress component
628
+ @progress-bg: #f5f5f5;
629
+ //** Progress bar text color
630
+ @progress-bar-color: #fff;
631
+
632
+ //** Default progress bar color
633
+ @progress-bar-bg: @brand-primary;
634
+ //** Success progress bar color
635
+ @progress-bar-success-bg: @brand-success;
636
+ //** Warning progress bar color
637
+ @progress-bar-warning-bg: @brand-warning;
638
+ //** Danger progress bar color
639
+ @progress-bar-danger-bg: @brand-danger;
640
+ //** Info progress bar color
641
+ @progress-bar-info-bg: @brand-info;
642
+
643
+
644
+ //== List group
645
+ //
646
+ //##
647
+
648
+ //** Background color on `.list-group-item`
649
+ @list-group-bg: #fff;
650
+ //** `.list-group-item` border color
651
+ @list-group-border: #ddd;
652
+ //** List group border radius
653
+ @list-group-border-radius: @border-radius-base;
654
+
655
+ //** Background color of single list items on hover
656
+ @list-group-hover-bg: #f5f5f5;
657
+ //** Text color of active list items
658
+ @list-group-active-color: @component-active-color;
659
+ //** Background color of active list items
660
+ @list-group-active-bg: @component-active-bg;
661
+ //** Border color of active list elements
662
+ @list-group-active-border: @list-group-active-bg;
663
+ //** Text color for content within active list items
664
+ @list-group-active-text-color: lighten(@list-group-active-bg, 40%);
665
+
666
+ //** Text color of disabled list items
667
+ @list-group-disabled-color: @gray-light;
668
+ //** Background color of disabled list items
669
+ @list-group-disabled-bg: @gray-lighter;
670
+ //** Text color for content within disabled list items
671
+ @list-group-disabled-text-color: @list-group-disabled-color;
672
+
673
+ @list-group-link-color: #555;
674
+ @list-group-link-hover-color: @list-group-link-color;
675
+ @list-group-link-heading-color: #333;
676
+
677
+
678
+ //== Panels
679
+ //
680
+ //##
681
+
682
+ @panel-bg: #fff;
683
+ @panel-body-padding: 15px;
684
+ @panel-heading-padding: 10px 15px;
685
+ @panel-footer-padding: @panel-heading-padding;
686
+ @panel-border-radius: @border-radius-base;
687
+
688
+ //** Border color for elements within panels
689
+ @panel-inner-border: #ddd;
690
+ @panel-footer-bg: #f5f5f5;
691
+
692
+ @panel-default-text: @gray-dark;
693
+ @panel-default-border: #ddd;
694
+ @panel-default-heading-bg: #f5f5f5;
695
+
696
+ @panel-primary-text: #fff;
697
+ @panel-primary-border: @brand-primary;
698
+ @panel-primary-heading-bg: @brand-primary;
699
+
700
+ @panel-success-text: @state-success-text;
701
+ @panel-success-border: @state-success-border;
702
+ @panel-success-heading-bg: @state-success-bg;
703
+
704
+ @panel-info-text: @state-info-text;
705
+ @panel-info-border: @state-info-border;
706
+ @panel-info-heading-bg: @state-info-bg;
707
+
708
+ @panel-warning-text: @state-warning-text;
709
+ @panel-warning-border: @state-warning-border;
710
+ @panel-warning-heading-bg: @state-warning-bg;
711
+
712
+ @panel-danger-text: @state-danger-text;
713
+ @panel-danger-border: @state-danger-border;
714
+ @panel-danger-heading-bg: @state-danger-bg;
715
+
716
+
717
+ //== Thumbnails
718
+ //
719
+ //##
720
+
721
+ //** Padding around the thumbnail image
722
+ @thumbnail-padding: 4px;
723
+ //** Thumbnail background color
724
+ @thumbnail-bg: @body-bg;
725
+ //** Thumbnail border color
726
+ @thumbnail-border: #ddd;
727
+ //** Thumbnail border radius
728
+ @thumbnail-border-radius: @border-radius-base;
729
+
730
+ //** Custom text color for thumbnail captions
731
+ @thumbnail-caption-color: @text-color;
732
+ //** Padding around the thumbnail caption
733
+ @thumbnail-caption-padding: 9px;
734
+
735
+
736
+ //== Wells
737
+ //
738
+ //##
739
+
740
+ @well-bg: #f5f5f5;
741
+ @well-border: darken(@well-bg, 7%);
742
+
743
+
744
+ //== Badges
745
+ //
746
+ //##
747
+
748
+ @badge-color: #fff;
749
+ //** Linked badge text color on hover
750
+ @badge-link-hover-color: #fff;
751
+ @badge-bg: @gray-light;
752
+
753
+ //** Badge text color in active nav link
754
+ @badge-active-color: @link-color;
755
+ //** Badge background color in active nav link
756
+ @badge-active-bg: #fff;
757
+
758
+ @badge-font-weight: bold;
759
+ @badge-line-height: 1;
760
+ @badge-border-radius: 10px;
761
+
762
+
763
+ //== Breadcrumbs
764
+ //
765
+ //##
766
+
767
+ @breadcrumb-padding-vertical: 8px;
768
+ @breadcrumb-padding-horizontal: 15px;
769
+ //** Breadcrumb background color
770
+ @breadcrumb-bg: #f5f5f5;
771
+ //** Breadcrumb text color
772
+ @breadcrumb-color: #ccc;
773
+ //** Text color of current page in the breadcrumb
774
+ @breadcrumb-active-color: @gray-light;
775
+ //** Textual separator for between breadcrumb elements
776
+ @breadcrumb-separator: "/";
777
+
778
+
779
+ //== Carousel
780
+ //
781
+ //##
782
+
783
+ @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
784
+
785
+ @carousel-control-color: #fff;
786
+ @carousel-control-width: 15%;
787
+ @carousel-control-opacity: .5;
788
+ @carousel-control-font-size: 20px;
789
+
790
+ @carousel-indicator-active-bg: #fff;
791
+ @carousel-indicator-border-color: #fff;
792
+
793
+ @carousel-caption-color: #fff;
794
+
795
+
796
+ //== Close
797
+ //
798
+ //##
799
+
800
+ @close-font-weight: bold;
801
+ @close-color: #000;
802
+ @close-text-shadow: 0 1px 0 #fff;
803
+
804
+
805
+ //== Code
806
+ //
807
+ //##
808
+
809
+ @code-color: #c7254e;
810
+ @code-bg: #f9f2f4;
811
+
812
+ @kbd-color: #fff;
813
+ @kbd-bg: #333;
814
+
815
+ @pre-bg: #f5f5f5;
816
+ @pre-color: @gray-dark;
817
+ @pre-border-color: #ccc;
818
+ @pre-scrollable-max-height: 340px;
819
+
820
+
821
+ //== Type
822
+ //
823
+ //##
824
+
825
+ //** Horizontal offset for forms and lists.
826
+ @component-offset-horizontal: 180px;
827
+ //** Text muted color
828
+ @text-muted: @gray-light;
829
+ //** Abbreviations and acronyms border color
830
+ @abbr-border-color: @gray-light;
831
+ //** Headings small color
832
+ @headings-small-color: @gray-light;
833
+ //** Blockquote small color
834
+ @blockquote-small-color: @gray-light;
835
+ //** Blockquote font size
836
+ @blockquote-font-size: (@font-size-base * 1.25);
837
+ //** Blockquote border color
838
+ @blockquote-border-color: @gray-lighter;
839
+ //** Page header border color
840
+ @page-header-border-color: @gray-lighter;
841
+ //** Width of horizontal description list titles
842
+ @dl-horizontal-offset: @component-offset-horizontal;
843
+ //** Horizontal line color.
844
+ @hr-border: @gray-lighter;
845
+
846
+