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