bootswitch 0.0.1

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 +7 -0
  2. data/.document +5 -0
  3. data/.rspec +1 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +19 -0
  6. data/LICENSE.txt +177 -0
  7. data/README.rdoc +38 -0
  8. data/Rakefile +53 -0
  9. data/VERSION +1 -0
  10. data/app/assets/stylesheets/bootswatch/amelia/bootswatch.css.scss +136 -0
  11. data/app/assets/stylesheets/bootswatch/amelia/theme.css.scss +9 -0
  12. data/app/assets/stylesheets/bootswatch/amelia/variables.css.scss +624 -0
  13. data/app/assets/stylesheets/bootswatch/cerulean/bootswatch.css.scss +159 -0
  14. data/app/assets/stylesheets/bootswatch/cerulean/theme.css.scss +9 -0
  15. data/app/assets/stylesheets/bootswatch/cerulean/variables.css.scss +621 -0
  16. data/app/assets/stylesheets/bootswatch/cosmo/bootswatch.css.scss +138 -0
  17. data/app/assets/stylesheets/bootswatch/cosmo/theme.css.scss +9 -0
  18. data/app/assets/stylesheets/bootswatch/cosmo/variables.css.scss +623 -0
  19. data/app/assets/stylesheets/bootswatch/custom/bootswatch.css.scss +22 -0
  20. data/app/assets/stylesheets/bootswatch/custom/theme.css.scss +9 -0
  21. data/app/assets/stylesheets/bootswatch/custom/variables.css.scss +620 -0
  22. data/app/assets/stylesheets/bootswatch/cyborg/bootswatch.css.scss +141 -0
  23. data/app/assets/stylesheets/bootswatch/cyborg/theme.css.scss +9 -0
  24. data/app/assets/stylesheets/bootswatch/cyborg/variables.css.scss +624 -0
  25. data/app/assets/stylesheets/bootswatch/darkly/bootswatch.css.scss +234 -0
  26. data/app/assets/stylesheets/bootswatch/darkly/theme.css.scss +9 -0
  27. data/app/assets/stylesheets/bootswatch/darkly/variables.css.scss +831 -0
  28. data/app/assets/stylesheets/bootswatch/flatly/bootswatch.css.scss +177 -0
  29. data/app/assets/stylesheets/bootswatch/flatly/theme.css.scss +9 -0
  30. data/app/assets/stylesheets/bootswatch/flatly/variables.css.scss +623 -0
  31. data/app/assets/stylesheets/bootswatch/global/build.css.scss +3 -0
  32. data/app/assets/stylesheets/bootswatch/global/theme.css.scss +9 -0
  33. data/app/assets/stylesheets/bootswatch/journal/bootswatch.css.scss +96 -0
  34. data/app/assets/stylesheets/bootswatch/journal/theme.css.scss +9 -0
  35. data/app/assets/stylesheets/bootswatch/journal/variables.css.scss +622 -0
  36. data/app/assets/stylesheets/bootswatch/readable/bootswatch.css.scss +83 -0
  37. data/app/assets/stylesheets/bootswatch/readable/theme.css.scss +9 -0
  38. data/app/assets/stylesheets/bootswatch/readable/variables.css.scss +623 -0
  39. data/app/assets/stylesheets/bootswatch/simplex/bootswatch.css.scss +127 -0
  40. data/app/assets/stylesheets/bootswatch/simplex/theme.css.scss +9 -0
  41. data/app/assets/stylesheets/bootswatch/simplex/variables.css.scss +624 -0
  42. data/app/assets/stylesheets/bootswatch/slate/bootswatch.css.scss +328 -0
  43. data/app/assets/stylesheets/bootswatch/slate/theme.css.scss +9 -0
  44. data/app/assets/stylesheets/bootswatch/slate/variables.css.scss +622 -0
  45. data/app/assets/stylesheets/bootswatch/spacelab/bootswatch.css.scss +115 -0
  46. data/app/assets/stylesheets/bootswatch/spacelab/theme.css.scss +9 -0
  47. data/app/assets/stylesheets/bootswatch/spacelab/variables.css.scss +623 -0
  48. data/app/assets/stylesheets/bootswatch/superhero/bootswatch.css.scss +250 -0
  49. data/app/assets/stylesheets/bootswatch/superhero/theme.css.scss +9 -0
  50. data/app/assets/stylesheets/bootswatch/superhero/variables.css.scss +833 -0
  51. data/app/assets/stylesheets/bootswatch/united/bootswatch.css.scss +31 -0
  52. data/app/assets/stylesheets/bootswatch/united/theme.css.scss +9 -0
  53. data/app/assets/stylesheets/bootswatch/united/variables.css.scss +623 -0
  54. data/app/assets/stylesheets/bootswatch/yeti/bootswatch.css.scss +408 -0
  55. data/app/assets/stylesheets/bootswatch/yeti/theme.css.scss +9 -0
  56. data/app/assets/stylesheets/bootswatch/yeti/variables.css.scss +831 -0
  57. data/app/controllers/bootswitch_controller.rb +2 -0
  58. data/app/controllers/theme_controller.rb +17 -0
  59. data/app/helpers/theme_helper.rb +9 -0
  60. data/app/views/theme/_stylesheet_link_tag.html.haml +1 -0
  61. data/bootswitch.gemspec +156 -0
  62. data/config/routes.rb +4 -0
  63. data/lib/bootswitch/configuration.rb +20 -0
  64. data/lib/bootswitch/engine.rb +5 -0
  65. data/lib/bootswitch/railtie.rb +4 -0
  66. data/lib/bootswitch/version.rb +7 -0
  67. data/lib/bootswitch.rb +11 -0
  68. data/lib/generators/bootswitch/install/install_generator.rb +23 -0
  69. data/lib/generators/bootswitch/install/templates/initializer.rb +4 -0
  70. data/lib/generators/bootswitch/utils.rb +16 -0
  71. data/script/rails +6 -0
  72. data/spec/dummy/.rspec +1 -0
  73. data/spec/dummy/Rakefile +7 -0
  74. data/spec/dummy/app/assets/javascripts/application.js +2 -0
  75. data/spec/dummy/app/assets/stylesheets/application.css.scss +14 -0
  76. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  77. data/spec/dummy/app/helpers/application_helper.rb +5 -0
  78. data/spec/dummy/config/application.rb +27 -0
  79. data/spec/dummy/config/boot.rb +10 -0
  80. data/spec/dummy/config/environment.rb +5 -0
  81. data/spec/dummy/config/environments/development.rb +23 -0
  82. data/spec/dummy/config/environments/test.rb +17 -0
  83. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  84. data/spec/dummy/config/initializers/bootswitch.rb +4 -0
  85. data/spec/dummy/config/initializers/inflections.rb +15 -0
  86. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  87. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  88. data/spec/dummy/config/initializers/session_store.rb +8 -0
  89. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  90. data/spec/dummy/config/routes.rb +53 -0
  91. data/spec/dummy/config.ru +4 -0
  92. data/spec/dummy/public/404.html +26 -0
  93. data/spec/dummy/public/422.html +26 -0
  94. data/spec/dummy/public/500.html +25 -0
  95. data/spec/dummy/public/favicon.ico +0 -0
  96. data/spec/dummy/public/index.html +101 -0
  97. data/spec/dummy/script/rails +6 -0
  98. data/spec/helpers/theme_helper_spec.rb +14 -0
  99. data/spec/spec_helper.rb +18 -0
  100. metadata +243 -0
@@ -0,0 +1,833 @@
1
+ // Superhero 3.1.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: #4E5D6C; // #999
14
+ $gray-lighter: #EBEBEB; // #eee
15
+
16
+ $brand-primary: #DF691A;
17
+ $brand-success: #5cb85c;
18
+ $brand-info: #5bc0de;
19
+ $brand-warning: #f0ad4e;
20
+ $brand-danger: #d9534f;
21
+
22
+ $dark-blue: #4E5D6C;
23
+ //== Scaffolding
24
+ //
25
+ // ## Settings for some of the most global styles.
26
+
27
+ //** Background color for `<body>`.
28
+ $body-bg: #2B3E50;
29
+ //** Global text color on `<body>`.
30
+ $text-color: $gray-lighter;
31
+
32
+ //** Global textual link color.
33
+ $link-color: $brand-primary;
34
+ //** Link hover color set via `darken()` function.
35
+ $link-hover-color: $link-color;
36
+
37
+
38
+ //== Typography
39
+ //
40
+ //## Font, line-height, and color for body text, headings, and more.
41
+
42
+ $web-font: "//fonts.googleapis.com/css?family=Lato:300,400,700";
43
+
44
+ $font-family-sans-serif: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
45
+ // $font-family-sans-serif: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
46
+ $font-family-serif: Georgia, "Times New Roman", Times, serif;
47
+ //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
48
+ $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
49
+ $font-family-base: $font-family-sans-serif;
50
+
51
+ $font-size-base: 15px;
52
+ $font-size-large: ceil(($font-size-base * 1.25)); // ~18px
53
+ $font-size-small: ceil(($font-size-base * 0.85)); // ~12px
54
+
55
+ $font-size-h1: floor(($font-size-base * 2.6)); // ~36px
56
+ $font-size-h2: floor(($font-size-base * 2.15)); // ~30px
57
+ $font-size-h3: ceil(($font-size-base * 1.7)); // ~24px
58
+ $font-size-h4: ceil(($font-size-base * 1.25)); // ~18px
59
+ $font-size-h5: $font-size-base;
60
+ $font-size-h6: ceil(($font-size-base * 0.85)); // ~12px
61
+
62
+ //** Unit-less `line-height` for use in components like buttons.
63
+ $line-height-base: 1.428571429; // 20/14
64
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
65
+ $line-height-computed: floor(($font-size-base * $line-height-base)); // ~20px
66
+
67
+ //** By default, this inherits from the `<body>`.
68
+ $headings-font-family: inherit;
69
+ $headings-font-weight: 300;
70
+ $headings-line-height: 1.1;
71
+ $headings-color: inherit;
72
+
73
+ $copy-font-weight: 300;
74
+
75
+ //-- Iconography
76
+ //
77
+ //## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
78
+
79
+ $icon-font-path: "/fonts/bootstrap/";
80
+ $icon-font-name: "glyphicons-halflings-regular";
81
+ $icon-font-svg-id: "glyphicons_halflingsregular";
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: 8px;
88
+ $padding-base-horizontal: 16px;
89
+
90
+ $padding-large-vertical: 12px;
91
+ $padding-large-horizontal: 24px;
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: 0;
103
+ $border-radius-large: 0;
104
+ $border-radius-small: 0;
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: 6px;
123
+ //** Padding for cells in `.table-condensed`.
124
+ $table-condensed-cell-padding: 3px;
125
+
126
+ //** Default background color used for all tables.
127
+ $table-bg: hsla(0, 100%, 100%, 0);
128
+ //** Background color used for `.table-striped`.
129
+ $table-bg-accent: $dark-blue;
130
+ //** Background color used for `.table-hover`.
131
+ $table-bg-hover: darken($dark-blue, 3%);
132
+ $table-bg-active: $table-bg-hover;
133
+
134
+ //** Border color for table and cell borders.
135
+ $table-border-color: $dark-blue;
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: #fff;
145
+ $btn-default-bg: $dark-blue;
146
+ $btn-default-border: hsla(0, 100%, 100%, 0);
147
+
148
+ $btn-primary-color: #fff;
149
+ $btn-primary-bg: $brand-primary;
150
+ $btn-primary-border: hsla(0, 100%, 100%, 0);
151
+
152
+ $btn-success-color: #fff;
153
+ $btn-success-bg: $brand-success;
154
+ $btn-success-border: hsla(0, 100%, 100%, 0);
155
+
156
+ $btn-info-color: #fff;
157
+ $btn-info-bg: $brand-info;
158
+ $btn-info-border: hsla(0, 100%, 100%, 0);
159
+
160
+ $btn-warning-color: #fff;
161
+ $btn-warning-bg: $brand-warning;
162
+ $btn-warning-border: hsla(0, 100%, 100%, 0);
163
+
164
+ $btn-danger-color: #fff;
165
+ $btn-danger-bg: $brand-danger;
166
+ $btn-danger-border: hsla(0, 100%, 100%, 0);
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: $body-bg;
182
+ //** `<input>` border color
183
+ $input-border: hsla(0, 100%, 100%, 0);
184
+ //** `<input>` border radius
185
+ $input-border-radius: $border-radius-base;
186
+ //** Border color for inputs on focus
187
+ $input-border-focus: #FFF;
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: $text-color;
200
+ $legend-border-color: $table-border-color;
201
+
202
+ //** Background color for textual input addons
203
+ $input-group-addon-bg: $btn-default-bg;
204
+ //** Border color for textual input addons
205
+ $input-group-addon-border-color: hsla(0, 100%, 100%, 0);
206
+
207
+
208
+ //== Dropdowns
209
+ //
210
+ //## Dropdown menu container and contents.
211
+
212
+ //** Background for the dropdown menu.
213
+ $dropdown-bg: $table-border-color;
214
+ //** Dropdown menu `border-color`.
215
+ $dropdown-border: hsla(0, 100%, 100%, 0);
216
+ //** Dropdown menu `border-color` **for IE8**.
217
+ $dropdown-fallback-border: hsla(0, 100%, 100%, 0);
218
+ //** Divider color for between dropdown items.
219
+ $dropdown-divider-bg: $body-bg;
220
+
221
+ //** Dropdown link text color.
222
+ $dropdown-link-color: $text-color;
223
+ //** Hover color for dropdown links.
224
+ $dropdown-link-hover-color: $text-color;
225
+ //** Hover background for dropdown links.
226
+ $dropdown-link-hover-bg: $dark-blue;
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: $body-bg;
235
+
236
+ //** Text color for headers within dropdown menus.
237
+ $dropdown-header-color: $body-bg;
238
+
239
+ // Note: 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: 1010;
253
+ $zindex-tooltip: 1030;
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
+ // Note: Deprecated $screen-xs and $screen-phone as of v3.0.1
265
+ $screen-xs: 480px;
266
+ $screen-xs-min: $screen-xs;
267
+ $screen-phone: $screen-xs-min;
268
+
269
+ // Small screen / tablet
270
+ // Note: Deprecated $screen-sm and $screen-tablet as of v3.0.1
271
+ $screen-sm: 768px;
272
+ $screen-sm-min: $screen-sm;
273
+ $screen-tablet: $screen-sm-min;
274
+
275
+ // Medium screen / desktop
276
+ // Note: Deprecated $screen-md and $screen-desktop as of v3.0.1
277
+ $screen-md: 992px;
278
+ $screen-md-min: $screen-md;
279
+ $screen-desktop: $screen-md-min;
280
+
281
+ // Large screen / wide desktop
282
+ // Note: Deprecated $screen-lg and $screen-lg-desktop as of v3.0.1
283
+ $screen-lg: 1200px;
284
+ $screen-lg-min: $screen-lg;
285
+ $screen-lg-desktop: $screen-lg-min;
286
+
287
+ // So media queries don't overlap when required, provide a maximum
288
+ $screen-xs-max: ($screen-sm-min - 1);
289
+ $screen-sm-max: ($screen-md-min - 1);
290
+ $screen-md-max: ($screen-lg-min - 1);
291
+
292
+
293
+ //== Grid system
294
+ //
295
+ //## Define your custom responsive grid.
296
+
297
+ //** Number of columns in the grid.
298
+ $grid-columns: 12;
299
+ //** Padding between columns. Gets divided in half for the left and right.
300
+ $grid-gutter-width: 30px;
301
+ // Navbar collapse
302
+ //** Point at which the navbar becomes uncollapsed.
303
+ $grid-float-breakpoint: $screen-sm-min;
304
+ //** Point at which the navbar begins collapsing.
305
+ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1);
306
+
307
+
308
+ //== Container sizes
309
+ //
310
+ //## Define the maximum width of `.container` for different screen sizes.
311
+
312
+ // Small screen / tablet
313
+ $container-tablet: ((720px + $grid-gutter-width));
314
+ //** For `$screen-sm-min` and up.
315
+ $container-sm: $container-tablet;
316
+
317
+ // Medium screen / desktop
318
+ $container-desktop: ((940px + $grid-gutter-width));
319
+ //** For `$screen-md-min` and up.
320
+ $container-md: $container-desktop;
321
+
322
+ // Large screen / wide desktop
323
+ $container-large-desktop: ((1140px + $grid-gutter-width));
324
+ //** For `$screen-lg-min` and up.
325
+ $container-lg: $container-large-desktop;
326
+
327
+
328
+ //== Navbar
329
+ //
330
+ //##
331
+
332
+ // Basics of a navbar
333
+ $navbar-height: 40px;
334
+ $navbar-margin-bottom: $line-height-computed;
335
+ $navbar-border-radius: $border-radius-base;
336
+ $navbar-padding-horizontal: floor(($grid-gutter-width / 2));
337
+ $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
338
+ $navbar-collapse-max-height: 340px;
339
+
340
+ $navbar-default-color: $text-color;
341
+ $navbar-default-bg: $dark-blue;
342
+ $navbar-default-border: hsla(0, 100%, 100%, 0);
343
+
344
+ // Navbar links
345
+ $navbar-default-link-color: $text-color;
346
+ $navbar-default-link-hover-color: $navbar-default-link-color;
347
+ $navbar-default-link-hover-bg: darken($navbar-default-bg, 3%);
348
+ $navbar-default-link-active-color: $navbar-default-link-color;
349
+ $navbar-default-link-active-bg: darken($navbar-default-bg, 3%);
350
+ $navbar-default-link-disabled-color: #ccc;
351
+ $navbar-default-link-disabled-bg: hsla(0, 100%, 100%, 0);
352
+
353
+ // Navbar brand label
354
+ $navbar-default-brand-color: $navbar-default-link-color;
355
+ $navbar-default-brand-hover-color: $navbar-default-link-color;
356
+ $navbar-default-brand-hover-bg: hsla(0, 100%, 100%, 0);
357
+
358
+ // Navbar toggle
359
+ $navbar-default-toggle-hover-bg: $navbar-default-link-hover-bg;
360
+ $navbar-default-toggle-icon-bar-bg: $text-color;
361
+ $navbar-default-toggle-border-color: hsla(0, 100%, 100%, 0);
362
+
363
+
364
+ // Inverted navbar
365
+ // Reset inverted navbar basics
366
+ $navbar-inverse-color: $text-color;
367
+ $navbar-inverse-bg: $brand-primary;
368
+ $navbar-inverse-border: hsla(0, 100%, 100%, 0);
369
+
370
+ // Inverted navbar links
371
+ $navbar-inverse-link-color: $text-color;
372
+ $navbar-inverse-link-hover-color: $navbar-inverse-link-color;
373
+ $navbar-inverse-link-hover-bg: darken($navbar-inverse-bg, 5%);
374
+ $navbar-inverse-link-active-color: $navbar-inverse-link-color;
375
+ $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 5%);
376
+ $navbar-inverse-link-disabled-color: #444;
377
+ $navbar-inverse-link-disabled-bg: hsla(0, 100%, 100%, 0);
378
+
379
+ // Inverted navbar brand label
380
+ $navbar-inverse-brand-color: $navbar-inverse-link-color;
381
+ $navbar-inverse-brand-hover-color: $navbar-inverse-link-color;
382
+ $navbar-inverse-brand-hover-bg: hsla(0, 100%, 100%, 0);
383
+
384
+ // Inverted navbar toggle
385
+ $navbar-inverse-toggle-hover-bg: $navbar-inverse-link-hover-bg;
386
+ $navbar-inverse-toggle-icon-bar-bg: $text-color;
387
+ $navbar-inverse-toggle-border-color: hsla(0, 100%, 100%, 0);
388
+
389
+
390
+ //== Navs
391
+ //
392
+ //##
393
+
394
+ //=== Shared nav styles
395
+ $nav-link-padding: 10px 15px;
396
+ $nav-link-hover-bg: $table-border-color;
397
+
398
+ $nav-disabled-link-color: $table-border-color;
399
+ $nav-disabled-link-hover-color: $table-border-color;
400
+
401
+ $nav-open-link-hover-color: $text-color;
402
+
403
+ //== Tabs
404
+ $nav-tabs-border-color: hsla(0, 100%, 100%, 0);
405
+
406
+ $nav-tabs-link-hover-border-color: $table-border-color;
407
+
408
+ $nav-tabs-active-link-hover-bg: $body-bg;
409
+ $nav-tabs-active-link-hover-color: $text-color;
410
+ $nav-tabs-active-link-hover-border-color: $table-border-color;
411
+
412
+ $nav-tabs-justified-link-border-color: $table-border-color;
413
+ $nav-tabs-justified-active-link-border-color: $table-border-color;
414
+
415
+ //== Pills
416
+ $nav-pills-border-radius: $border-radius-base;
417
+ $nav-pills-active-link-hover-bg: $component-active-bg;
418
+ $nav-pills-active-link-hover-color: $component-active-color;
419
+
420
+
421
+ //== Pagination
422
+ //
423
+ //##
424
+
425
+ $pagination-color: $text-color;
426
+ $pagination-bg: $table-border-color;
427
+ $pagination-border: hsla(0, 100%, 100%, 0);
428
+
429
+ $pagination-hover-color: $text-color;
430
+ $pagination-hover-bg: $table-bg-hover;
431
+ $pagination-hover-border: hsla(0, 100%, 100%, 0);
432
+
433
+ $pagination-active-color: $text-color;
434
+ $pagination-active-bg: $brand-primary;
435
+ $pagination-active-border: hsla(0, 100%, 100%, 0);
436
+
437
+ $pagination-disabled-color: darken($table-bg-hover, 10%);
438
+ $pagination-disabled-bg: $table-border-color;
439
+ $pagination-disabled-border: hsla(0, 100%, 100%, 0);
440
+
441
+
442
+ //== Pager
443
+ //
444
+ //##
445
+
446
+ $pager-bg: $pagination-bg;
447
+ $pager-border: $pagination-border;
448
+ $pager-border-radius: 15px;
449
+
450
+ $pager-hover-bg: $pagination-hover-bg;
451
+
452
+ $pager-active-bg: $pagination-active-bg;
453
+ $pager-active-color: $pagination-active-color;
454
+
455
+ $pager-disabled-color: $pagination-disabled-color;
456
+
457
+
458
+ //== Jumbotron
459
+ //
460
+ //##
461
+
462
+ $jumbotron-padding: 30px;
463
+ $jumbotron-color: inherit;
464
+ $jumbotron-bg: $table-border-color;
465
+ $jumbotron-heading-color: inherit;
466
+ $jumbotron-font-size: ceil(($font-size-base * 1.5));
467
+
468
+
469
+ //== Form states and alerts
470
+ //
471
+ //## Define colors for form feedback states and, by default, alerts.
472
+
473
+ $state-success-text: $text-color;
474
+ $state-success-bg: $brand-success;
475
+ $state-success-border: hsla(0, 100%, 100%, 0);
476
+
477
+ $state-info-text: $text-color;
478
+ $state-info-bg: $brand-info;
479
+ $state-info-border: hsla(0, 100%, 100%, 0);
480
+
481
+ $state-warning-text: $text-color;
482
+ $state-warning-bg: $brand-warning;
483
+ $state-warning-border: hsla(0, 100%, 100%, 0);
484
+
485
+ $state-danger-text: $text-color;
486
+ $state-danger-bg: $brand-danger;
487
+ $state-danger-border: hsla(0, 100%, 100%, 0);
488
+
489
+
490
+ //== Tooltips
491
+ //
492
+ //##
493
+
494
+ //** Tooltip max width
495
+ $tooltip-max-width: 200px;
496
+ //** Tooltip text color
497
+ $tooltip-color: #fff;
498
+ //** Tooltip background color
499
+ $tooltip-bg: #000;
500
+ $tooltip-opacity: .9;
501
+
502
+ //** Tooltip arrow width
503
+ $tooltip-arrow-width: 5px;
504
+ //** Tooltip arrow color
505
+ $tooltip-arrow-color: $tooltip-bg;
506
+
507
+
508
+ //== Popovers
509
+ //
510
+ //##
511
+
512
+ //** Popover body background color
513
+ $popover-bg: $table-border-color;
514
+ //** Popover maximum width
515
+ $popover-max-width: 276px;
516
+ //** Popover border color
517
+ $popover-border-color: hsla(0, 100%, 100%, 0);
518
+ //** Popover fallback border color
519
+ $popover-fallback-border-color: hsla(0, 100%, 100%, 0);
520
+
521
+ //** Popover title background color
522
+ $popover-title-bg: $table-bg-hover;
523
+
524
+ //** Popover arrow width
525
+ $popover-arrow-width: 10px;
526
+ //** Popover arrow color
527
+ $popover-arrow-color: $table-border-color;
528
+
529
+ //** Popover outer arrow width
530
+ $popover-arrow-outer-width: ($popover-arrow-width + 1);
531
+ //** Popover outer arrow color
532
+ $popover-arrow-outer-color: hsla(0, 100%, 100%, 0);
533
+ //** Popover outer arrow fallback color
534
+ $popover-arrow-outer-fallback-color: hsla(0, 100%, 100%, 0);
535
+
536
+
537
+ //== Labels
538
+ //
539
+ //##
540
+
541
+ //** Default label background color
542
+ $label-default-bg: $gray-light;
543
+ //** Primary label background color
544
+ $label-primary-bg: $brand-primary;
545
+ //** Success label background color
546
+ $label-success-bg: $brand-success;
547
+ //** Info label background color
548
+ $label-info-bg: $brand-info;
549
+ //** Warning label background color
550
+ $label-warning-bg: $brand-warning;
551
+ //** Danger label background color
552
+ $label-danger-bg: $brand-danger;
553
+
554
+ //** Default label text color
555
+ $label-color: #fff;
556
+ //** Default text color of a linked label
557
+ $label-link-hover-color: #fff;
558
+
559
+
560
+ //== Modals
561
+ //
562
+ //##
563
+
564
+ //** Padding applied to the modal body
565
+ $modal-inner-padding: 20px;
566
+
567
+ //** Padding applied to the modal title
568
+ $modal-title-padding: 15px;
569
+ //** Modal title line-height
570
+ $modal-title-line-height: $line-height-base;
571
+
572
+ //** Background color of modal content area
573
+ $modal-content-bg: $table-border-color;
574
+ //** Modal content border color
575
+ $modal-content-border-color: hsla(0, 100%, 100%, 0);
576
+ //** Modal content border color **for IE8**
577
+ $modal-content-fallback-border-color: hsla(0, 100%, 100%, 0);
578
+
579
+ //** Modal backdrop background color
580
+ $modal-backdrop-bg: #000;
581
+ //** Modal backdrop opacity
582
+ $modal-backdrop-opacity: .5;
583
+ //** Modal header border color
584
+ $modal-header-border-color: $body-bg;
585
+ //** Modal footer border color
586
+ $modal-footer-border-color: $modal-header-border-color;
587
+
588
+ $modal-lg: 900px;
589
+ $modal-md: 600px;
590
+ $modal-sm: 300px;
591
+
592
+
593
+ //== Alerts
594
+ //
595
+ //## Define alert colors, border radius, and padding.
596
+
597
+ $alert-padding: 15px;
598
+ $alert-border-radius: $border-radius-base;
599
+ $alert-link-font-weight: bold;
600
+
601
+ $alert-success-bg: $state-success-bg;
602
+ $alert-success-text: $state-success-text;
603
+ $alert-success-border: $state-success-border;
604
+
605
+ $alert-info-bg: $state-info-bg;
606
+ $alert-info-text: $state-info-text;
607
+ $alert-info-border: $state-info-border;
608
+
609
+ $alert-warning-bg: $state-warning-bg;
610
+ $alert-warning-text: $state-warning-text;
611
+ $alert-warning-border: $state-warning-border;
612
+
613
+ $alert-danger-bg: $state-danger-bg;
614
+ $alert-danger-text: $state-danger-text;
615
+ $alert-danger-border: $state-danger-border;
616
+
617
+
618
+ //== Progress bars
619
+ //
620
+ //##
621
+
622
+ //** Background color of the whole progress component
623
+ $progress-bg: $table-border-color;
624
+ //** Progress bar text color
625
+ $progress-bar-color: #fff;
626
+
627
+ //** Default progress bar color
628
+ $progress-bar-bg: $brand-primary;
629
+ //** Success progress bar color
630
+ $progress-bar-success-bg: $brand-success;
631
+ //** Warning progress bar color
632
+ $progress-bar-warning-bg: $brand-warning;
633
+ //** Danger progress bar color
634
+ $progress-bar-danger-bg: $brand-danger;
635
+ //** Info progress bar color
636
+ $progress-bar-info-bg: $brand-info;
637
+
638
+
639
+ //== List group
640
+ //
641
+ //##
642
+
643
+ //** Background color on `.list-group-item`
644
+ $list-group-bg: $table-border-color;
645
+ //** `.list-group-item` border color
646
+ $list-group-border: hsla(0, 100%, 100%, 0);
647
+ //** List group border radius
648
+ $list-group-border-radius: $border-radius-base;
649
+
650
+ //** Background color of single list elements on hover
651
+ $list-group-hover-bg: $table-bg-hover;
652
+ //** Text color of active list elements
653
+ $list-group-active-color: $component-active-color;
654
+ //** Background color of active list elements
655
+ $list-group-active-bg: $component-active-bg;
656
+ //** Border color of active list elements
657
+ $list-group-active-border: $list-group-active-bg;
658
+ $list-group-active-text-color: lighten($list-group-active-bg, 40%);
659
+
660
+ $list-group-link-color: $text-color;
661
+ $list-group-link-heading-color: $text-color;
662
+
663
+
664
+ //== Panels
665
+ //
666
+ //##
667
+
668
+ $panel-bg: $table-border-color;
669
+ $panel-body-padding: 15px;
670
+ $panel-border-radius: $border-radius-base;
671
+
672
+ //** Border color for elements within panels
673
+ $panel-inner-border: hsla(0, 100%, 100%, 0);
674
+ $panel-footer-bg: $table-bg-hover;
675
+
676
+ $panel-default-text: $gray-dark;
677
+ $panel-default-border: hsla(0, 100%, 100%, 0);
678
+ $panel-default-heading-bg: #f5f5f5;
679
+
680
+ $panel-primary-text: #fff;
681
+ $panel-primary-border: hsla(0, 100%, 100%, 0);
682
+ $panel-primary-heading-bg: $brand-primary;
683
+
684
+ $panel-success-text: $state-success-text;
685
+ $panel-success-border: hsla(0, 100%, 100%, 0);
686
+ $panel-success-heading-bg: $state-success-bg;
687
+
688
+ $panel-info-text: $state-info-text;
689
+ $panel-info-border: hsla(0, 100%, 100%, 0);
690
+ $panel-info-heading-bg: $state-info-bg;
691
+
692
+ $panel-warning-text: $state-warning-text;
693
+ $panel-warning-border: hsla(0, 100%, 100%, 0);
694
+ $panel-warning-heading-bg: $state-warning-bg;
695
+
696
+ $panel-danger-text: $state-danger-text;
697
+ $panel-danger-border: hsla(0, 100%, 100%, 0);
698
+ $panel-danger-heading-bg: $state-danger-bg;
699
+
700
+
701
+ //== Thumbnails
702
+ //
703
+ //##
704
+
705
+ //** Padding around the thumbnail image
706
+ $thumbnail-padding: 4px;
707
+ //** Thumbnail background color
708
+ $thumbnail-bg: $body-bg;
709
+ //** Thumbnail border color
710
+ $thumbnail-border: #ddd;
711
+ //** Thumbnail border radius
712
+ $thumbnail-border-radius: $border-radius-base;
713
+
714
+ //** Custom text color for thumbnail captions
715
+ $thumbnail-caption-color: $text-color;
716
+ //** Padding around the thumbnail caption
717
+ $thumbnail-caption-padding: 9px;
718
+
719
+
720
+ //== Wells
721
+ //
722
+ //##
723
+
724
+ $well-bg: $table-border-color;
725
+ $well-border: hsla(0, 100%, 100%, 0);
726
+
727
+
728
+ //== Badges
729
+ //
730
+ //##
731
+
732
+ $badge-color: $text-color;
733
+ //** Linked badge text color on hover
734
+ $badge-link-hover-color: #fff;
735
+ $badge-bg: $gray-light;
736
+
737
+ //** Badge text color in active nav link
738
+ $badge-active-color: $link-color;
739
+ //** Badge background color in active nav link
740
+ $badge-active-bg: #fff;
741
+
742
+ $badge-font-weight: 300;
743
+ $badge-line-height: 1;
744
+ $badge-border-radius: 10px;
745
+
746
+
747
+ //== Breadcrumbs
748
+ //
749
+ //##
750
+
751
+ $breadcrumb-padding-vertical: 8px;
752
+ $breadcrumb-padding-horizontal: 15px;
753
+ //** Breadcrumb background color
754
+ $breadcrumb-bg: $table-border-color;
755
+ //** Breadcrumb text color
756
+ $breadcrumb-color: $text-color;
757
+ //** Text color of current page in the breadcrumb
758
+ $breadcrumb-active-color: $text-color;
759
+ //** Textual separator for between breadcrumb elements
760
+ $breadcrumb-separator: "/";
761
+
762
+
763
+ //== Carousel
764
+ //
765
+ //##
766
+
767
+ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
768
+
769
+ $carousel-control-color: #fff;
770
+ $carousel-control-width: 15%;
771
+ $carousel-control-opacity: .5;
772
+ $carousel-control-font-size: 20px;
773
+
774
+ $carousel-indicator-active-bg: #fff;
775
+ $carousel-indicator-border-color: #fff;
776
+
777
+ $carousel-caption-color: #fff;
778
+
779
+
780
+ //== Close
781
+ //
782
+ //##
783
+
784
+ $close-font-weight: bold;
785
+ $close-color: $text-color;
786
+ $close-text-shadow: none;
787
+
788
+
789
+ //== Code
790
+ //
791
+ //##
792
+
793
+ $code-color: #c7254e;
794
+ $code-bg: #f9f2f4;
795
+
796
+ $kbd-color: #fff;
797
+ $kbd-bg: #333;
798
+
799
+ $pre-bg: #f5f5f5;
800
+ $pre-color: $gray-dark;
801
+ $pre-border-color: #ccc;
802
+ $pre-scrollable-max-height: 340px;
803
+
804
+
805
+ //== Type
806
+ //
807
+ //##
808
+
809
+ //** Text muted color
810
+ $text-muted: $table-border-color;
811
+ //** Abbreviations and acronyms border color
812
+ $abbr-border-color: $table-border-color;
813
+ //** Headings small color
814
+ $headings-small-color: $text-color;
815
+ //** Blockquote small color
816
+ $blockquote-small-color: $text-color;
817
+ //** Blockquote font size
818
+ $blockquote-font-size: ($font-size-base * 1.25);
819
+ //** Blockquote border color
820
+ $blockquote-border-color: $table-border-color;
821
+ //** Page header border color
822
+ $page-header-border-color: $gray-lighter;
823
+
824
+
825
+ //== Miscellaneous
826
+ //
827
+ //##
828
+
829
+ //** Horizontal line color.
830
+ $hr-border: $table-border-color;
831
+
832
+ //** Horizontal offset for forms and lists.
833
+ $component-offset-horizontal: 180px;