bootswatch 4.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +45 -0
- data/Rakefile +60 -0
- data/app/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +71 -0
- data/app/assets/stylesheets/bootswatch/cerulean/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +45 -0
- data/app/assets/stylesheets/bootswatch/cosmo/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/custom/_bootswatch.scss +21 -0
- data/app/assets/stylesheets/bootswatch/custom/_variables.scss +857 -0
- data/app/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +140 -0
- data/app/assets/stylesheets/bootswatch/cyborg/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +146 -0
- data/app/assets/stylesheets/bootswatch/darkly/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +116 -0
- data/app/assets/stylesheets/bootswatch/flatly/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/journal/_bootswatch.scss +65 -0
- data/app/assets/stylesheets/bootswatch/journal/_variables.scss +857 -0
- data/app/assets/stylesheets/bootswatch/litera/_bootswatch.scss +130 -0
- data/app/assets/stylesheets/bootswatch/litera/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +298 -0
- data/app/assets/stylesheets/bootswatch/lumen/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/lux/_bootswatch.scss +115 -0
- data/app/assets/stylesheets/bootswatch/lux/_variables.scss +857 -0
- data/app/assets/stylesheets/bootswatch/materia/_bootswatch.scss +614 -0
- data/app/assets/stylesheets/bootswatch/materia/_variables.scss +857 -0
- data/app/assets/stylesheets/bootswatch/minty/_bootswatch.scss +89 -0
- data/app/assets/stylesheets/bootswatch/minty/_variables.scss +856 -0
- data/app/assets/stylesheets/bootswatch/pulse/_bootswatch.scss +126 -0
- data/app/assets/stylesheets/bootswatch/pulse/_variables.scss +857 -0
- data/app/assets/stylesheets/bootswatch/sandstone/_bootswatch.scss +156 -0
- data/app/assets/stylesheets/bootswatch/sandstone/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +106 -0
- data/app/assets/stylesheets/bootswatch/simplex/_variables.scss +857 -0
- data/app/assets/stylesheets/bootswatch/slate/_bootswatch.scss +278 -0
- data/app/assets/stylesheets/bootswatch/slate/_variables.scss +856 -0
- data/app/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +129 -0
- data/app/assets/stylesheets/bootswatch/spacelab/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +140 -0
- data/app/assets/stylesheets/bootswatch/superhero/_variables.scss +856 -0
- data/app/assets/stylesheets/bootswatch/united/_bootswatch.scss +36 -0
- data/app/assets/stylesheets/bootswatch/united/_variables.scss +855 -0
- data/app/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +304 -0
- data/app/assets/stylesheets/bootswatch/yeti/_variables.scss +855 -0
- data/bootswatch.gemspec +23 -0
- data/lib/bootswatch.rb +6 -0
- data/lib/bootswatch/version.rb +3 -0
- metadata +120 -0
@@ -0,0 +1,298 @@
|
|
1
|
+
// Lumen 4.0.0
|
2
|
+
// Bootswatch
|
3
|
+
|
4
|
+
|
5
|
+
$web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic" !default;
|
6
|
+
@import url($web-font-path);
|
7
|
+
|
8
|
+
@mixin shadow($width: 4px){
|
9
|
+
border-style: solid;
|
10
|
+
border-width: 0 1px $width 1px;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Navbar ======================================================================
|
14
|
+
|
15
|
+
.navbar {
|
16
|
+
@include shadow();
|
17
|
+
}
|
18
|
+
|
19
|
+
.bg-primary {
|
20
|
+
border-color: darken($brand-primary, 5%);
|
21
|
+
}
|
22
|
+
|
23
|
+
.bg-faded {
|
24
|
+
background-color: #fff;
|
25
|
+
border-color: darken(#fff, 5%);
|
26
|
+
}
|
27
|
+
|
28
|
+
.bg-inverse {
|
29
|
+
background-color: $gray-lightest !important;
|
30
|
+
border-color: darken($gray-lightest, 5%);
|
31
|
+
}
|
32
|
+
|
33
|
+
// Buttons =====================================================================
|
34
|
+
|
35
|
+
.btn {
|
36
|
+
@include shadow();
|
37
|
+
font-size: 12px;
|
38
|
+
font-weight: bold;
|
39
|
+
text-transform: uppercase;
|
40
|
+
|
41
|
+
&:not(.disabled):hover {
|
42
|
+
margin-top: 1px;
|
43
|
+
border-bottom-width: 3px;
|
44
|
+
}
|
45
|
+
|
46
|
+
&:not(.disabled):active {
|
47
|
+
margin-top: 2px;
|
48
|
+
border-bottom-width: 2px;
|
49
|
+
@include box-shadow(none);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
[class*="btn-outline"] {
|
54
|
+
border-top-width: 1px;
|
55
|
+
}
|
56
|
+
|
57
|
+
.btn-secondary,
|
58
|
+
.btn-secondary:hover{
|
59
|
+
background-color: $gray-lightest;
|
60
|
+
border-color: darken($gray-lightest, 7%);
|
61
|
+
}
|
62
|
+
|
63
|
+
.btn-outline-secondary {
|
64
|
+
background-color: #fff;
|
65
|
+
color: $gray-dark;
|
66
|
+
}
|
67
|
+
|
68
|
+
.btn-outline-secondary:hover {
|
69
|
+
color: $gray-dark;
|
70
|
+
}
|
71
|
+
|
72
|
+
.btn-group-vertical {
|
73
|
+
.btn + .btn {
|
74
|
+
&:hover {
|
75
|
+
margin-top: -1px;
|
76
|
+
border-top-width: 1px;
|
77
|
+
}
|
78
|
+
|
79
|
+
&:active {
|
80
|
+
margin-top: -1px;
|
81
|
+
border-top-width: 2px;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
// Typography ==================================================================
|
87
|
+
|
88
|
+
.blockquote-footer {
|
89
|
+
color: $gray-lighter;
|
90
|
+
}
|
91
|
+
|
92
|
+
// Tables ======================================================================
|
93
|
+
|
94
|
+
.table-success,
|
95
|
+
.table-info,
|
96
|
+
.table-warning,
|
97
|
+
.table-danger {
|
98
|
+
color: #fff;
|
99
|
+
}
|
100
|
+
|
101
|
+
.thead-inverse th {
|
102
|
+
background-color: $brand-primary;
|
103
|
+
}
|
104
|
+
|
105
|
+
// Forms =======================================================================
|
106
|
+
|
107
|
+
.form-control {
|
108
|
+
box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.075);
|
109
|
+
}
|
110
|
+
|
111
|
+
// Navs ========================================================================
|
112
|
+
|
113
|
+
.nav {
|
114
|
+
.open > a,
|
115
|
+
.open > a:hover,
|
116
|
+
.open > a:focus {
|
117
|
+
border-color: transparent;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
.nav-tabs {
|
122
|
+
|
123
|
+
.nav-link {
|
124
|
+
color: $body-color;
|
125
|
+
|
126
|
+
&,
|
127
|
+
&.disabled,
|
128
|
+
&.disabled:hover,
|
129
|
+
&.disabled:focus {
|
130
|
+
margin-top: 6px;
|
131
|
+
border-color: $nav-tabs-border-color;
|
132
|
+
transition: all 0.2s ease-in-out;
|
133
|
+
}
|
134
|
+
|
135
|
+
&:not(.disabled):hover,
|
136
|
+
&:not(.disabled):focus {
|
137
|
+
padding-bottom: calc(0.5em + 6px);
|
138
|
+
margin-top: 0;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
&.nav-justified > li {
|
143
|
+
vertical-align: bottom;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
.dropdown-menu {
|
148
|
+
margin-top: 0;
|
149
|
+
@include shadow();
|
150
|
+
border-top-width: 1px;
|
151
|
+
@include box-shadow(none);
|
152
|
+
}
|
153
|
+
|
154
|
+
.breadcrumb {
|
155
|
+
border-color: darken($breadcrumb-bg, 5%);
|
156
|
+
@include shadow();
|
157
|
+
}
|
158
|
+
|
159
|
+
.pagination {
|
160
|
+
|
161
|
+
> li > a,
|
162
|
+
> li > span {
|
163
|
+
position: relative;
|
164
|
+
top: 0;
|
165
|
+
@include shadow();
|
166
|
+
color: $pagination-color;
|
167
|
+
font-size: 12px;
|
168
|
+
font-weight: bold;
|
169
|
+
text-transform: uppercase;
|
170
|
+
|
171
|
+
&:hover,
|
172
|
+
&:focus {
|
173
|
+
top: 1px;
|
174
|
+
border-bottom-width: 3px;
|
175
|
+
text-decoration: none;
|
176
|
+
}
|
177
|
+
|
178
|
+
&:active {
|
179
|
+
top: 2px;
|
180
|
+
border-bottom-width: 2px;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
> .disabled > a,
|
185
|
+
> .disabled > span {
|
186
|
+
|
187
|
+
&:hover {
|
188
|
+
top: 0;
|
189
|
+
@include shadow();
|
190
|
+
}
|
191
|
+
|
192
|
+
&:active {
|
193
|
+
top: 0;
|
194
|
+
@include shadow();
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
.pager {
|
200
|
+
|
201
|
+
> li > a,
|
202
|
+
> li > span,
|
203
|
+
> .disabled > a,
|
204
|
+
> .disabled > span {
|
205
|
+
|
206
|
+
&,
|
207
|
+
&:hover,
|
208
|
+
&:active {
|
209
|
+
border-left-width: 2px;
|
210
|
+
border-right-width: 2px;
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
// Indicators ==================================================================
|
216
|
+
|
217
|
+
.close {
|
218
|
+
color: #fff;
|
219
|
+
text-decoration: none;
|
220
|
+
opacity: 0.4;
|
221
|
+
|
222
|
+
&:hover,
|
223
|
+
&:focus {
|
224
|
+
color: #fff;
|
225
|
+
opacity: 1;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
.alert {
|
230
|
+
@include shadow();
|
231
|
+
|
232
|
+
.alert-link {
|
233
|
+
font-weight: normal;
|
234
|
+
color: #fff;
|
235
|
+
text-decoration: underline;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
// Progress bars ===============================================================
|
240
|
+
|
241
|
+
// Containers ==================================================================
|
242
|
+
|
243
|
+
a.list-group-item {
|
244
|
+
|
245
|
+
&.active,
|
246
|
+
&.active:hover,
|
247
|
+
&.active:focus {
|
248
|
+
// border-color: $list-group-border;
|
249
|
+
}
|
250
|
+
|
251
|
+
&-success {
|
252
|
+
&.active {
|
253
|
+
background-color: $state-success-bg;
|
254
|
+
}
|
255
|
+
|
256
|
+
&.active:hover,
|
257
|
+
&.active:focus {
|
258
|
+
background-color: darken($state-success-bg, 5%);
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
&-warning {
|
263
|
+
&.active {
|
264
|
+
background-color: $state-warning-bg;
|
265
|
+
}
|
266
|
+
|
267
|
+
&.active:hover,
|
268
|
+
&.active:focus {
|
269
|
+
background-color: darken($state-warning-bg, 5%);
|
270
|
+
}
|
271
|
+
}
|
272
|
+
|
273
|
+
&-danger {
|
274
|
+
&.active {
|
275
|
+
background-color: $state-danger-bg;
|
276
|
+
}
|
277
|
+
|
278
|
+
&.active:hover,
|
279
|
+
&.active:focus {
|
280
|
+
background-color: darken($state-danger-bg, 5%);
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
.jumbotron {
|
286
|
+
border: 1px solid $gray-lightest;
|
287
|
+
box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.05);
|
288
|
+
}
|
289
|
+
|
290
|
+
.modal {
|
291
|
+
.close {
|
292
|
+
color: $body-color;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
|
296
|
+
.popover {
|
297
|
+
color: $body-color;
|
298
|
+
}
|
@@ -0,0 +1,855 @@
|
|
1
|
+
// Lumen 4.0.0
|
2
|
+
// Bootswatch
|
3
|
+
|
4
|
+
|
5
|
+
// Table of Contents
|
6
|
+
//
|
7
|
+
// Colors
|
8
|
+
// Options
|
9
|
+
// Spacing
|
10
|
+
// Body
|
11
|
+
// Links
|
12
|
+
// Grid breakpoints
|
13
|
+
// Grid containers
|
14
|
+
// Grid columns
|
15
|
+
// Fonts
|
16
|
+
// Components
|
17
|
+
|
18
|
+
@mixin _assert-ascending($map, $map-name) {
|
19
|
+
$prev-key: null;
|
20
|
+
$prev-num: null;
|
21
|
+
@each $key, $num in $map {
|
22
|
+
@if $prev-num == null {
|
23
|
+
// Do nothing
|
24
|
+
} @else if not comparable($prev-num, $num) {
|
25
|
+
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
26
|
+
} @else if $prev-num >= $num {
|
27
|
+
@warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
28
|
+
}
|
29
|
+
$prev-key: $key;
|
30
|
+
$prev-num: $num;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
// General variable structure
|
35
|
+
//
|
36
|
+
// Variable format should follow the `$component-modifier-state-property` order.
|
37
|
+
|
38
|
+
|
39
|
+
// Colors
|
40
|
+
//
|
41
|
+
// Grayscale and brand colors for use across Bootstrap.
|
42
|
+
|
43
|
+
$gray-dark: #222;
|
44
|
+
$gray: #333;
|
45
|
+
$gray-light: #555;
|
46
|
+
$gray-lighter: #999;
|
47
|
+
$gray-lightest: #f0f0f0;
|
48
|
+
|
49
|
+
$brand-primary: #158CBA;
|
50
|
+
$brand-success: #28B62C;
|
51
|
+
$brand-info: #75CAEB;
|
52
|
+
$brand-warning: #FF851B;
|
53
|
+
$brand-danger: #FF4136;
|
54
|
+
$brand-inverse: $gray-dark !default;
|
55
|
+
|
56
|
+
|
57
|
+
// Options
|
58
|
+
//
|
59
|
+
// Quickly modify global styling by enabling or disabling optional features.
|
60
|
+
|
61
|
+
$enable-flex: false !default;
|
62
|
+
$enable-rounded: true !default;
|
63
|
+
$enable-shadows: false !default;
|
64
|
+
$enable-gradients: false !default;
|
65
|
+
$enable-transitions: false !default;
|
66
|
+
$enable-hover-media-query: false !default;
|
67
|
+
$enable-grid-classes: true !default;
|
68
|
+
$enable-print-styles: true !default;
|
69
|
+
|
70
|
+
|
71
|
+
// Spacing
|
72
|
+
//
|
73
|
+
// Control the default styling of most Bootstrap elements by modifying these
|
74
|
+
// variables. Mostly focused on spacing.
|
75
|
+
// You can add more entries to the $spacers map, should you need more variation.
|
76
|
+
|
77
|
+
$spacer: 1rem !default;
|
78
|
+
$spacer-x: $spacer !default;
|
79
|
+
$spacer-y: $spacer !default;
|
80
|
+
$spacers: (
|
81
|
+
0: (
|
82
|
+
x: 0,
|
83
|
+
y: 0
|
84
|
+
),
|
85
|
+
1: (
|
86
|
+
x: $spacer-x,
|
87
|
+
y: $spacer-y
|
88
|
+
),
|
89
|
+
2: (
|
90
|
+
x: ($spacer-x * 1.5),
|
91
|
+
y: ($spacer-y * 1.5)
|
92
|
+
),
|
93
|
+
3: (
|
94
|
+
x: ($spacer-x * 3),
|
95
|
+
y: ($spacer-y * 3)
|
96
|
+
)
|
97
|
+
) !default;
|
98
|
+
$border-width: 1px !default;
|
99
|
+
|
100
|
+
|
101
|
+
// Body
|
102
|
+
//
|
103
|
+
// Settings for the `<body>` element.
|
104
|
+
|
105
|
+
$body-bg: #fff !default;
|
106
|
+
$body-color: $gray-light !default;
|
107
|
+
|
108
|
+
|
109
|
+
// Links
|
110
|
+
//
|
111
|
+
// Style anchor elements.
|
112
|
+
|
113
|
+
$link-color: $brand-primary !default;
|
114
|
+
$link-decoration: none !default;
|
115
|
+
$link-hover-color: darken($link-color, 15%) !default;
|
116
|
+
$link-hover-decoration: underline !default;
|
117
|
+
|
118
|
+
|
119
|
+
// Grid breakpoints
|
120
|
+
//
|
121
|
+
// Define the minimum dimensions at which your layout will change,
|
122
|
+
// adapting to different screen sizes, for use in media queries.
|
123
|
+
|
124
|
+
$grid-breakpoints: (
|
125
|
+
xs: 0,
|
126
|
+
sm: 576px,
|
127
|
+
md: 768px,
|
128
|
+
lg: 992px,
|
129
|
+
xl: 1200px
|
130
|
+
) !default;
|
131
|
+
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
132
|
+
|
133
|
+
|
134
|
+
// Grid containers
|
135
|
+
//
|
136
|
+
// Define the maximum width of `.container` for different screen sizes.
|
137
|
+
|
138
|
+
$container-max-widths: (
|
139
|
+
sm: 540px,
|
140
|
+
md: 720px,
|
141
|
+
lg: 960px,
|
142
|
+
xl: 1140px
|
143
|
+
) !default;
|
144
|
+
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
145
|
+
|
146
|
+
|
147
|
+
// Grid columns
|
148
|
+
//
|
149
|
+
// Set the number of columns and specify the width of the gutters.
|
150
|
+
|
151
|
+
$grid-columns: 12 !default;
|
152
|
+
$grid-gutter-width-base: 30px !default;
|
153
|
+
$grid-gutter-widths: (
|
154
|
+
xs: $grid-gutter-width-base,
|
155
|
+
sm: $grid-gutter-width-base,
|
156
|
+
md: $grid-gutter-width-base,
|
157
|
+
lg: $grid-gutter-width-base,
|
158
|
+
xl: $grid-gutter-width-base
|
159
|
+
) !default;
|
160
|
+
|
161
|
+
// Typography
|
162
|
+
//
|
163
|
+
// Font, line-height, and color for body text, headings, and more.
|
164
|
+
|
165
|
+
$font-family-sans-serif: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
166
|
+
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
|
167
|
+
$font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
168
|
+
$font-family-base: $font-family-sans-serif !default;
|
169
|
+
|
170
|
+
// Pixel value used to responsively scale all typography. Applied to the `<html>` element.
|
171
|
+
$font-size-root: 14px !default;
|
172
|
+
|
173
|
+
$font-size-base: 1rem !default;
|
174
|
+
$font-size-lg: 1.25rem !default;
|
175
|
+
$font-size-sm: .875rem !default;
|
176
|
+
$font-size-xs: .75rem !default;
|
177
|
+
|
178
|
+
$line-height-base: 1.5 !default;
|
179
|
+
|
180
|
+
$font-size-h1: 2.5rem !default;
|
181
|
+
$font-size-h2: 2rem !default;
|
182
|
+
$font-size-h3: 1.75rem !default;
|
183
|
+
$font-size-h4: 1.5rem !default;
|
184
|
+
$font-size-h5: 1.25rem !default;
|
185
|
+
$font-size-h6: 1rem !default;
|
186
|
+
|
187
|
+
$display1-size: 6rem !default;
|
188
|
+
$display2-size: 5.5rem !default;
|
189
|
+
$display3-size: 4.5rem !default;
|
190
|
+
$display4-size: 3.5rem !default;
|
191
|
+
|
192
|
+
$display1-weight: 300 !default;
|
193
|
+
$display2-weight: 300 !default;
|
194
|
+
$display3-weight: 300 !default;
|
195
|
+
$display4-weight: 300 !default;
|
196
|
+
|
197
|
+
$headings-margin-bottom: ($spacer / 2) !default;
|
198
|
+
$headings-font-family: inherit !default;
|
199
|
+
$headings-font-weight: 500 !default;
|
200
|
+
$headings-line-height: 1.1 !default;
|
201
|
+
$headings-color: inherit !default;
|
202
|
+
|
203
|
+
$lead-font-size: 1.25rem !default;
|
204
|
+
$lead-font-weight: 300 !default;
|
205
|
+
|
206
|
+
$small-font-size: 80% !default;
|
207
|
+
|
208
|
+
$text-muted: $gray-light !default;
|
209
|
+
|
210
|
+
$abbr-border-color: $gray-light !default;
|
211
|
+
|
212
|
+
$blockquote-small-color: $gray-light !default;
|
213
|
+
$blockquote-font-size: ($font-size-base * 1.25) !default;
|
214
|
+
$blockquote-border-color: $gray-lightest !default;
|
215
|
+
$blockquote-border-width: .25rem !default;
|
216
|
+
|
217
|
+
$hr-border-color: rgba(0,0,0,.1) !default;
|
218
|
+
$hr-border-width: $border-width !default;
|
219
|
+
|
220
|
+
$mark-padding: .2em !default;
|
221
|
+
|
222
|
+
$dt-font-weight: bold !default;
|
223
|
+
|
224
|
+
$kbd-box-shadow: inset 0 -.1rem 0 rgba(0,0,0,.25) !default;
|
225
|
+
$nested-kbd-font-weight: bold !default;
|
226
|
+
|
227
|
+
$list-inline-padding: 5px !default;
|
228
|
+
|
229
|
+
|
230
|
+
// Components
|
231
|
+
//
|
232
|
+
// Define common padding and border radius sizes and more.
|
233
|
+
|
234
|
+
$line-height-lg: (4 / 3) !default;
|
235
|
+
$line-height-sm: 1.5 !default;
|
236
|
+
|
237
|
+
$border-radius: .25rem !default;
|
238
|
+
$border-radius-lg: .3rem !default;
|
239
|
+
$border-radius-sm: .2rem !default;
|
240
|
+
|
241
|
+
$component-active-color: #fff !default;
|
242
|
+
$component-active-bg: $brand-primary !default;
|
243
|
+
|
244
|
+
$caret-width: .3em !default;
|
245
|
+
$caret-width-lg: $caret-width !default;
|
246
|
+
|
247
|
+
|
248
|
+
// Tables
|
249
|
+
//
|
250
|
+
// Customizes the `.table` component with basic values, each used across all table variations.
|
251
|
+
|
252
|
+
$table-cell-padding: .75rem !default;
|
253
|
+
$table-sm-cell-padding: .3rem !default;
|
254
|
+
|
255
|
+
$table-bg: transparent !default;
|
256
|
+
$table-bg-accent: rgba(0,0,0,.05) !default;
|
257
|
+
$table-bg-hover: rgba(0,0,0,.075) !default;
|
258
|
+
$table-bg-active: $table-bg-hover !default;
|
259
|
+
|
260
|
+
$table-border-width: $border-width !default;
|
261
|
+
$table-border-color: $gray-lightest;
|
262
|
+
|
263
|
+
|
264
|
+
// Buttons
|
265
|
+
//
|
266
|
+
// For each of Bootstrap's buttons, define text, background and border color.
|
267
|
+
|
268
|
+
$btn-padding-x: 1rem !default;
|
269
|
+
$btn-padding-y: .5rem !default;
|
270
|
+
$btn-line-height: 1.25 !default;
|
271
|
+
$btn-font-weight: normal !default;
|
272
|
+
$btn-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075) !default;
|
273
|
+
$btn-active-box-shadow: inset 0 3px 5px rgba(0,0,0,.125) !default;
|
274
|
+
|
275
|
+
$btn-primary-color: #fff !default;
|
276
|
+
$btn-primary-bg: $brand-primary !default;
|
277
|
+
$btn-primary-border: darken($btn-primary-bg, 5%);
|
278
|
+
|
279
|
+
$btn-secondary-color: $gray-dark !default;
|
280
|
+
$btn-secondary-bg: #fff !default;
|
281
|
+
$btn-secondary-border: darken($btn-secondary-bg, 5%);
|
282
|
+
|
283
|
+
$btn-info-color: #fff !default;
|
284
|
+
$btn-info-bg: $brand-info !default;
|
285
|
+
$btn-info-border: darken($btn-info-bg, 5%);
|
286
|
+
|
287
|
+
$btn-success-color: #fff !default;
|
288
|
+
$btn-success-bg: $brand-success !default;
|
289
|
+
$btn-success-border: darken($btn-success-bg, 5%);
|
290
|
+
|
291
|
+
$btn-warning-color: #fff !default;
|
292
|
+
$btn-warning-bg: $brand-warning !default;
|
293
|
+
$btn-warning-border: darken($btn-warning-bg, 5%);
|
294
|
+
|
295
|
+
$btn-danger-color: #fff !default;
|
296
|
+
$btn-danger-bg: $brand-danger !default;
|
297
|
+
$btn-danger-border: darken($btn-danger-bg, 5%);
|
298
|
+
|
299
|
+
$btn-link-disabled-color: $gray-light !default;
|
300
|
+
|
301
|
+
$btn-padding-x-sm: .5rem !default;
|
302
|
+
$btn-padding-y-sm: .25rem !default;
|
303
|
+
|
304
|
+
$btn-padding-x-lg: 1.5rem !default;
|
305
|
+
$btn-padding-y-lg: .75rem !default;
|
306
|
+
|
307
|
+
$btn-block-spacing-y: .5rem !default;
|
308
|
+
$btn-toolbar-margin: .5rem !default;
|
309
|
+
|
310
|
+
// Allows for customizing button radius independently from global border radius
|
311
|
+
$btn-border-radius: $border-radius !default;
|
312
|
+
$btn-border-radius-lg: $border-radius-lg !default;
|
313
|
+
$btn-border-radius-sm: $border-radius-sm !default;
|
314
|
+
|
315
|
+
|
316
|
+
// Forms
|
317
|
+
|
318
|
+
$input-padding-x: .75rem !default;
|
319
|
+
$input-padding-y: .5rem !default;
|
320
|
+
$input-line-height: 1.25 !default;
|
321
|
+
|
322
|
+
$input-bg: #fff !default;
|
323
|
+
$input-bg-disabled: $gray-lightest;
|
324
|
+
|
325
|
+
$input-color: $gray !default;
|
326
|
+
$input-border-color: rgba(0,0,0,.15) !default;
|
327
|
+
$input-btn-border-width: $border-width !default; // For form controls and buttons
|
328
|
+
$input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default;
|
329
|
+
|
330
|
+
$input-border-radius: $border-radius !default;
|
331
|
+
$input-border-radius-lg: $border-radius-lg !default;
|
332
|
+
$input-border-radius-sm: $border-radius-sm !default;
|
333
|
+
|
334
|
+
$input-bg-focus: $input-bg !default;
|
335
|
+
$input-border-focus: #66afe9 !default;
|
336
|
+
$input-box-shadow-focus: $input-box-shadow, 0 0 8px rgba(102,175,233,.6) !default;
|
337
|
+
$input-color-focus: $input-color !default;
|
338
|
+
|
339
|
+
$input-color-placeholder: #999 !default;
|
340
|
+
|
341
|
+
$input-padding-x-sm: .5rem !default;
|
342
|
+
$input-padding-y-sm: .25rem !default;
|
343
|
+
|
344
|
+
$input-padding-x-lg: 1.5rem !default;
|
345
|
+
$input-padding-y-lg: .75rem !default;
|
346
|
+
|
347
|
+
$input-height: (($font-size-base * $line-height-base) + ($input-padding-y * 2)) !default;
|
348
|
+
$input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2)) !default;
|
349
|
+
$input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2)) !default;
|
350
|
+
|
351
|
+
$form-group-margin-bottom: $spacer-y !default;
|
352
|
+
|
353
|
+
$input-group-addon-bg: $gray-lightest;
|
354
|
+
$input-group-addon-border-color: $input-border-color !default;
|
355
|
+
|
356
|
+
$cursor-disabled: not-allowed !default;
|
357
|
+
|
358
|
+
$custom-control-gutter: 1.5rem !default;
|
359
|
+
$custom-control-spacer-x: 1rem !default;
|
360
|
+
$custom-control-spacer-y: .25rem !default;
|
361
|
+
|
362
|
+
$custom-control-indicator-size: 1rem !default;
|
363
|
+
$custom-control-indicator-bg: #ddd !default;
|
364
|
+
$custom-control-indicator-bg-size: 50% 50% !default;
|
365
|
+
$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba(0,0,0,.1) !default;
|
366
|
+
|
367
|
+
$custom-control-disabled-cursor: $cursor-disabled !default;
|
368
|
+
$custom-control-disabled-indicator-bg: #eee !default;
|
369
|
+
$custom-control-disabled-description-color: #767676 !default;
|
370
|
+
|
371
|
+
$custom-control-checked-indicator-color: #fff !default;
|
372
|
+
$custom-control-checked-indicator-bg: #0074d9 !default;
|
373
|
+
$custom-control-checked-indicator-box-shadow: none !default;
|
374
|
+
|
375
|
+
$custom-control-focus-indicator-box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9 !default;
|
376
|
+
|
377
|
+
$custom-control-active-indicator-color: #fff !default;
|
378
|
+
$custom-control-active-indicator-bg: #84c6ff !default;
|
379
|
+
$custom-control-active-indicator-box-shadow: none !default;
|
380
|
+
|
381
|
+
$custom-checkbox-radius: $border-radius !default;
|
382
|
+
$custom-checkbox-checked-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-checked-indicator-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E") !default;
|
383
|
+
|
384
|
+
$custom-checkbox-indeterminate-bg: #0074d9 !default;
|
385
|
+
$custom-checkbox-indeterminate-indicator-color: $custom-control-checked-indicator-color !default;
|
386
|
+
$custom-checkbox-indeterminate-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indeterminate-indicator-color}' d='M0 2h4'/%3E%3C/svg%3E") !default;
|
387
|
+
$custom-checkbox-indeterminate-box-shadow: none !default;
|
388
|
+
|
389
|
+
$custom-radio-radius: 50% !default;
|
390
|
+
$custom-radio-checked-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-checked-indicator-color}'/%3E%3C/svg%3E") !default;
|
391
|
+
|
392
|
+
$custom-select-padding-x: .75rem !default;
|
393
|
+
$custom-select-padding-y: .375rem !default;
|
394
|
+
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
|
395
|
+
$custom-select-color: $input-color !default;
|
396
|
+
$custom-select-disabled-color: $gray-light !default;
|
397
|
+
$custom-select-bg: #fff !default;
|
398
|
+
$custom-select-disabled-bg: $gray-lighter !default;
|
399
|
+
$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
|
400
|
+
$custom-select-indicator-color: #333 !default;
|
401
|
+
$custom-select-indicator: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") !default;
|
402
|
+
$custom-select-border-width: $input-btn-border-width !default;
|
403
|
+
$custom-select-border-color: $input-border-color !default;
|
404
|
+
$custom-select-border-radius: $border-radius !default;
|
405
|
+
|
406
|
+
$custom-select-focus-border-color: #51a7e8 !default;
|
407
|
+
$custom-select-focus-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 5px rgba(81, 167, 232, .5) !default;
|
408
|
+
|
409
|
+
$custom-select-sm-padding-y: .2rem !default;
|
410
|
+
$custom-select-sm-font-size: 75% !default;
|
411
|
+
|
412
|
+
$custom-file-height: 2.5rem !default;
|
413
|
+
$custom-file-width: 14rem !default;
|
414
|
+
$custom-file-focus-box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9 !default;
|
415
|
+
|
416
|
+
$custom-file-padding-x: .5rem !default;
|
417
|
+
$custom-file-padding-y: 1rem !default;
|
418
|
+
$custom-file-line-height: 1.5 !default;
|
419
|
+
$custom-file-color: #555 !default;
|
420
|
+
$custom-file-bg: #fff !default;
|
421
|
+
$custom-file-border-width: $border-width !default;
|
422
|
+
$custom-file-border-color: #ddd !default;
|
423
|
+
$custom-file-border-radius: $border-radius !default;
|
424
|
+
$custom-file-box-shadow: inset 0 .2rem .4rem rgba(0,0,0,.05) !default;
|
425
|
+
$custom-file-button-color: $custom-file-color !default;
|
426
|
+
$custom-file-button-bg: #eee !default;
|
427
|
+
$custom-file-text: (
|
428
|
+
placeholder: (
|
429
|
+
en: "Choose file..."
|
430
|
+
),
|
431
|
+
button-label: (
|
432
|
+
en: "Browse"
|
433
|
+
)
|
434
|
+
) !default;
|
435
|
+
|
436
|
+
|
437
|
+
// Form validation icons
|
438
|
+
$form-icon-success-color: $brand-success !default;
|
439
|
+
$form-icon-success: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-success-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E") !default;
|
440
|
+
|
441
|
+
$form-icon-warning-color: $brand-warning !default;
|
442
|
+
$form-icon-warning: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-warning-color}' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E") !default;
|
443
|
+
|
444
|
+
$form-icon-danger-color: $brand-danger !default;
|
445
|
+
$form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-icon-danger-color}' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E") !default;
|
446
|
+
|
447
|
+
|
448
|
+
// Dropdowns
|
449
|
+
//
|
450
|
+
// Dropdown menu container and contents.
|
451
|
+
|
452
|
+
$dropdown-min-width: 10rem !default;
|
453
|
+
$dropdown-padding-y: .5rem !default;
|
454
|
+
$dropdown-margin-top: .125rem !default;
|
455
|
+
$dropdown-bg: #fff !default;
|
456
|
+
$dropdown-border-color: rgba(0,0,0,.15) !default;
|
457
|
+
$dropdown-border-width: $border-width !default;
|
458
|
+
$dropdown-divider-bg: #e5e5e5 !default;
|
459
|
+
$dropdown-box-shadow: 0 .5rem 1rem rgba(0,0,0,.175) !default;
|
460
|
+
|
461
|
+
$dropdown-link-color: rgba(0,0,0,.5);
|
462
|
+
$dropdown-link-hover-color: darken($gray-dark, 5%) !default;
|
463
|
+
$dropdown-link-hover-bg: #f5f5f5 !default;
|
464
|
+
|
465
|
+
$dropdown-link-active-color: $component-active-color !default;
|
466
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
467
|
+
|
468
|
+
$dropdown-link-disabled-color: $gray-light !default;
|
469
|
+
|
470
|
+
$dropdown-item-padding-x: 1.5rem !default;
|
471
|
+
|
472
|
+
$dropdown-header-color: $gray-light !default;
|
473
|
+
|
474
|
+
|
475
|
+
// Z-index master list
|
476
|
+
//
|
477
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
478
|
+
// of components dependent on the z-axis and are designed to all work together.
|
479
|
+
|
480
|
+
$zindex-dropdown-backdrop: 990 !default;
|
481
|
+
$zindex-navbar: 1000 !default;
|
482
|
+
$zindex-dropdown: 1000 !default;
|
483
|
+
$zindex-popover: 1060 !default;
|
484
|
+
$zindex-tooltip: 1070 !default;
|
485
|
+
$zindex-navbar-fixed: 1030 !default;
|
486
|
+
$zindex-navbar-sticky: 1030 !default;
|
487
|
+
$zindex-modal-bg: 1040 !default;
|
488
|
+
$zindex-modal: 1050 !default;
|
489
|
+
|
490
|
+
|
491
|
+
// Navbar
|
492
|
+
|
493
|
+
$navbar-border-radius: $border-radius !default;
|
494
|
+
$navbar-padding-x: $spacer !default;
|
495
|
+
$navbar-padding-y: ($spacer / 2) !default;
|
496
|
+
|
497
|
+
$navbar-brand-padding-y: .25rem !default;
|
498
|
+
|
499
|
+
$navbar-divider-padding-y: .425rem !default;
|
500
|
+
|
501
|
+
$navbar-toggler-padding-x: .75rem !default;
|
502
|
+
$navbar-toggler-padding-y: .5rem !default;
|
503
|
+
$navbar-toggler-font-size: $font-size-lg !default;
|
504
|
+
$navbar-toggler-border-radius: $btn-border-radius !default;
|
505
|
+
$navbar-toggler-padding-x: .75rem !default;
|
506
|
+
$navbar-toggler-padding-y: .5rem !default;
|
507
|
+
|
508
|
+
$navbar-dark-color: rgba(255,255,255,.5) !default;
|
509
|
+
$navbar-dark-hover-color: rgba(255,255,255,.75) !default;
|
510
|
+
$navbar-dark-active-color: rgba(255,255,255,1) !default;
|
511
|
+
$navbar-dark-disabled-color: rgba(255,255,255,.25) !default;
|
512
|
+
$navbar-dark-toggler-bg: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !default;
|
513
|
+
$navbar-dark-toggler-border: rgba(255,255,255,.1) !default;
|
514
|
+
|
515
|
+
$navbar-light-color: rgba(0,0,0,.5) !default;
|
516
|
+
$navbar-light-hover-color: rgba(0,0,0,.7) !default;
|
517
|
+
$navbar-light-active-color: rgba(0,0,0,.9) !default;
|
518
|
+
$navbar-light-disabled-color: rgba(0,0,0,.3) !default;
|
519
|
+
$navbar-light-toggler-bg: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !default;
|
520
|
+
$navbar-light-toggler-border: rgba(0,0,0,.1) !default;
|
521
|
+
|
522
|
+
// Navs
|
523
|
+
|
524
|
+
$nav-item-margin: .2rem !default;
|
525
|
+
$nav-item-inline-spacer: 1rem !default;
|
526
|
+
$nav-link-padding: .5em 1em !default;
|
527
|
+
$nav-link-hover-bg: $gray-lighter !default;
|
528
|
+
$nav-disabled-link-color: $gray-lighter;
|
529
|
+
$nav-disabled-link-hover-color: $gray-lighter;
|
530
|
+
$nav-disabled-link-hover-bg: transparent !default;
|
531
|
+
|
532
|
+
$nav-tabs-border-color: $gray-lightest;
|
533
|
+
$nav-tabs-border-width: $border-width !default;
|
534
|
+
$nav-tabs-border-radius: $border-radius !default;
|
535
|
+
$nav-tabs-link-hover-border-color: $nav-tabs-border-color;
|
536
|
+
$nav-tabs-active-link-hover-color: $gray !default;
|
537
|
+
$nav-tabs-active-link-hover-bg: $body-bg !default;
|
538
|
+
$nav-tabs-active-link-hover-border-color: $nav-tabs-border-color;
|
539
|
+
$nav-tabs-justified-link-border-color: #ddd !default;
|
540
|
+
$nav-tabs-justified-active-link-border-color: $body-bg !default;
|
541
|
+
|
542
|
+
$nav-pills-border-radius: $border-radius !default;
|
543
|
+
$nav-pills-active-link-color: $component-active-color !default;
|
544
|
+
$nav-pills-active-link-bg: $component-active-bg !default;
|
545
|
+
|
546
|
+
|
547
|
+
// Pagination
|
548
|
+
|
549
|
+
$pagination-padding-x: .75rem !default;
|
550
|
+
$pagination-padding-y: .5rem !default;
|
551
|
+
$pagination-padding-x-sm: .75rem !default;
|
552
|
+
$pagination-padding-y-sm: .275rem !default;
|
553
|
+
$pagination-padding-x-lg: 1.5rem !default;
|
554
|
+
$pagination-padding-y-lg: .75rem !default;
|
555
|
+
|
556
|
+
|
557
|
+
$pagination-color: $body-color;
|
558
|
+
$pagination-bg: $gray-lightest;
|
559
|
+
$pagination-border-width: $border-width !default;
|
560
|
+
$pagination-border-color: #ddd !default;
|
561
|
+
|
562
|
+
$pagination-hover-color: $pagination-color;
|
563
|
+
$pagination-hover-bg: $pagination-bg;
|
564
|
+
$pagination-hover-border: #ddd !default;
|
565
|
+
|
566
|
+
$pagination-active-color: #fff !default;
|
567
|
+
$pagination-active-bg: $brand-primary !default;
|
568
|
+
$pagination-active-border: darken($brand-primary, 5%);
|
569
|
+
|
570
|
+
$pagination-disabled-color: $gray-lighter;
|
571
|
+
$pagination-disabled-bg: $pagination-bg;
|
572
|
+
$pagination-disabled-border: #ddd !default;
|
573
|
+
|
574
|
+
|
575
|
+
// Jumbotron
|
576
|
+
|
577
|
+
$jumbotron-padding: 2rem !default;
|
578
|
+
$jumbotron-bg: #fafafa;
|
579
|
+
|
580
|
+
|
581
|
+
// Form states and alerts
|
582
|
+
//
|
583
|
+
// Define colors for form feedback states and, by default, alerts.
|
584
|
+
|
585
|
+
$state-success-text: #fff;
|
586
|
+
$state-success-bg: $brand-success;
|
587
|
+
$state-success-border: darken($state-success-bg, 5%) !default;
|
588
|
+
|
589
|
+
$state-info-text: #fff;
|
590
|
+
$state-info-bg: $brand-info;
|
591
|
+
$state-info-border: darken($state-info-bg, 7%) !default;
|
592
|
+
|
593
|
+
$state-warning-text: #fff;
|
594
|
+
$state-warning-bg: $brand-warning;
|
595
|
+
$mark-bg: $state-warning-bg !default;
|
596
|
+
$state-warning-border: darken($state-warning-bg, 5%) !default;
|
597
|
+
|
598
|
+
$state-danger-text: #fff;
|
599
|
+
$state-danger-bg: $brand-danger;
|
600
|
+
$state-danger-border: darken($state-danger-bg, 5%) !default;
|
601
|
+
|
602
|
+
|
603
|
+
// Cards
|
604
|
+
$card-spacer-x: 1.25rem !default;
|
605
|
+
$card-spacer-y: .75rem !default;
|
606
|
+
$card-border-width: 1px !default;
|
607
|
+
$card-border-radius: $border-radius !default;
|
608
|
+
$card-border-color: rgba(0,0,0,.125) !default;
|
609
|
+
$card-border-radius-inner: calc(#{$card-border-radius} - #{$card-border-width}) !default;
|
610
|
+
$card-cap-bg: #f5f5f5 !default;
|
611
|
+
$card-bg: #fff !default;
|
612
|
+
|
613
|
+
$card-link-hover-color: #fff !default;
|
614
|
+
|
615
|
+
$card-img-overlay-padding: 1.25rem !default;
|
616
|
+
|
617
|
+
$card-deck-margin: .625rem !default;
|
618
|
+
|
619
|
+
$card-columns-sm-up-column-gap: 1.25rem !default;
|
620
|
+
|
621
|
+
|
622
|
+
// Tooltips
|
623
|
+
|
624
|
+
$tooltip-max-width: 200px !default;
|
625
|
+
$tooltip-color: #fff !default;
|
626
|
+
$tooltip-bg: #000 !default;
|
627
|
+
$tooltip-opacity: .9 !default;
|
628
|
+
$tooltip-padding-y: 3px !default;
|
629
|
+
$tooltip-padding-x: 8px !default;
|
630
|
+
$tooltip-margin: 3px !default;
|
631
|
+
|
632
|
+
$tooltip-arrow-width: 5px !default;
|
633
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
634
|
+
|
635
|
+
|
636
|
+
// Popovers
|
637
|
+
|
638
|
+
$popover-inner-padding: 1px !default;
|
639
|
+
$popover-bg: #fff !default;
|
640
|
+
$popover-max-width: 276px !default;
|
641
|
+
$popover-border-width: $border-width !default;
|
642
|
+
$popover-border-color: rgba(0,0,0,.2) !default;
|
643
|
+
$popover-box-shadow: 0 5px 10px rgba(0,0,0,.2) !default;
|
644
|
+
|
645
|
+
$popover-title-bg: darken($popover-bg, 3%) !default;
|
646
|
+
$popover-title-padding-x: 14px !default;
|
647
|
+
$popover-title-padding-y: 8px !default;
|
648
|
+
|
649
|
+
$popover-content-padding-x: 14px !default;
|
650
|
+
$popover-content-padding-y: 9px !default;
|
651
|
+
|
652
|
+
$popover-arrow-width: 10px !default;
|
653
|
+
$popover-arrow-color: $popover-bg !default;
|
654
|
+
|
655
|
+
$popover-arrow-outer-width: ($popover-arrow-width + 1px) !default;
|
656
|
+
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
657
|
+
|
658
|
+
|
659
|
+
// Tags
|
660
|
+
|
661
|
+
$tag-default-bg: $gray-light !default;
|
662
|
+
$tag-primary-bg: $brand-primary !default;
|
663
|
+
$tag-success-bg: $brand-success !default;
|
664
|
+
$tag-info-bg: $brand-info !default;
|
665
|
+
$tag-warning-bg: $brand-warning !default;
|
666
|
+
$tag-danger-bg: $brand-danger !default;
|
667
|
+
|
668
|
+
$tag-color: #fff !default;
|
669
|
+
$tag-link-hover-color: #fff !default;
|
670
|
+
$tag-font-size: 75% !default;
|
671
|
+
$tag-font-weight: bold !default;
|
672
|
+
$tag-padding-x: .4em !default;
|
673
|
+
$tag-padding-y: .25em !default;
|
674
|
+
|
675
|
+
$tag-pill-padding-x: .6em !default;
|
676
|
+
// Use a higher than normal value to ensure completely rounded edges when
|
677
|
+
// customizing padding or font-size on labels.
|
678
|
+
$tag-pill-border-radius: 10rem !default;
|
679
|
+
|
680
|
+
// Modals
|
681
|
+
|
682
|
+
// Padding applied to the modal body
|
683
|
+
$modal-inner-padding: 15px !default;
|
684
|
+
|
685
|
+
$modal-dialog-margin: 10px !default;
|
686
|
+
$modal-dialog-sm-up-margin-y: 30px !default;
|
687
|
+
|
688
|
+
$modal-title-padding: 15px !default;
|
689
|
+
$modal-title-line-height: $line-height-base !default;
|
690
|
+
|
691
|
+
$modal-content-bg: #fff !default;
|
692
|
+
$modal-content-border-color: rgba(0,0,0,.1);
|
693
|
+
$modal-content-border-width: $border-width !default;
|
694
|
+
$modal-content-xs-box-shadow: 0 3px 9px rgba(0,0,0,.5) !default;
|
695
|
+
$modal-content-sm-up-box-shadow: 0 5px 15px rgba(0,0,0,.5) !default;
|
696
|
+
|
697
|
+
$modal-backdrop-bg: #000 !default;
|
698
|
+
$modal-backdrop-opacity: .5 !default;
|
699
|
+
$modal-header-border-color: #e5e5e5 !default;
|
700
|
+
$modal-footer-border-color: $modal-header-border-color !default;
|
701
|
+
$modal-header-border-width: $modal-content-border-width !default;
|
702
|
+
$modal-footer-border-width: $modal-header-border-width !default;
|
703
|
+
|
704
|
+
$modal-lg: 900px !default;
|
705
|
+
$modal-md: 600px !default;
|
706
|
+
$modal-sm: 300px !default;
|
707
|
+
|
708
|
+
|
709
|
+
// Alerts
|
710
|
+
//
|
711
|
+
// Define alert colors, border radius, and padding.
|
712
|
+
|
713
|
+
$alert-padding-x: 1.25rem !default;
|
714
|
+
$alert-padding-y: .75rem !default;
|
715
|
+
$alert-border-radius: $border-radius !default;
|
716
|
+
$alert-link-font-weight: bold !default;
|
717
|
+
$alert-border-width: $border-width !default;
|
718
|
+
|
719
|
+
$alert-success-bg: $state-success-bg !default;
|
720
|
+
$alert-success-text: $state-success-text !default;
|
721
|
+
$alert-success-border: $state-success-border !default;
|
722
|
+
|
723
|
+
$alert-info-bg: $state-info-bg !default;
|
724
|
+
$alert-info-text: $state-info-text !default;
|
725
|
+
$alert-info-border: $state-info-border !default;
|
726
|
+
|
727
|
+
$alert-warning-bg: $state-warning-bg !default;
|
728
|
+
$alert-warning-text: $state-warning-text !default;
|
729
|
+
$alert-warning-border: $state-warning-border !default;
|
730
|
+
|
731
|
+
$alert-danger-bg: $state-danger-bg !default;
|
732
|
+
$alert-danger-text: $state-danger-text !default;
|
733
|
+
$alert-danger-border: $state-danger-border !default;
|
734
|
+
|
735
|
+
|
736
|
+
// Progress bars
|
737
|
+
|
738
|
+
$progress-bg: $gray-lightest;
|
739
|
+
$progress-bar-color: $brand-primary;
|
740
|
+
$progress-border-radius: $border-radius !default;
|
741
|
+
$progress-box-shadow: inset 0 .1rem .1rem rgba(0,0,0,.1) !default;
|
742
|
+
|
743
|
+
$progress-bar-bg: $brand-primary !default;
|
744
|
+
$progress-bar-success-bg: $brand-success !default;
|
745
|
+
$progress-bar-warning-bg: $brand-warning !default;
|
746
|
+
$progress-bar-danger-bg: $brand-danger !default;
|
747
|
+
$progress-bar-info-bg: $brand-info !default;
|
748
|
+
|
749
|
+
|
750
|
+
// List group
|
751
|
+
|
752
|
+
$list-group-bg: #fff !default;
|
753
|
+
$list-group-border-color: #ddd !default;
|
754
|
+
$list-group-border-width: $border-width !default;
|
755
|
+
$list-group-border-radius: $border-radius !default;
|
756
|
+
|
757
|
+
$list-group-hover-bg: #f5f5f5 !default;
|
758
|
+
$list-group-active-color: $component-active-color !default;
|
759
|
+
$list-group-active-bg: $component-active-bg !default;
|
760
|
+
$list-group-active-border: $list-group-active-bg !default;
|
761
|
+
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
|
762
|
+
|
763
|
+
$list-group-disabled-color: $gray-lighter;
|
764
|
+
$list-group-disabled-bg: #fff;
|
765
|
+
$list-group-disabled-text-color: $list-group-disabled-color !default;
|
766
|
+
|
767
|
+
$list-group-link-color: #555 !default;
|
768
|
+
$list-group-link-hover-color: $list-group-link-color !default;
|
769
|
+
$list-group-link-heading-color: #333 !default;
|
770
|
+
|
771
|
+
$list-group-item-padding-x: 1.25rem !default;
|
772
|
+
$list-group-item-padding-y: .75rem !default;
|
773
|
+
$list-group-item-heading-margin-bottom: 5px !default;
|
774
|
+
|
775
|
+
|
776
|
+
// Image thumbnails
|
777
|
+
|
778
|
+
$thumbnail-padding: .25rem !default;
|
779
|
+
$thumbnail-bg: $body-bg !default;
|
780
|
+
$thumbnail-border-width: $border-width !default;
|
781
|
+
$thumbnail-border-color: #ddd !default;
|
782
|
+
$thumbnail-border-radius: $border-radius !default;
|
783
|
+
$thumbnail-box-shadow: 0 1px 2px rgba(0,0,0,.075) !default;
|
784
|
+
|
785
|
+
|
786
|
+
// Figures
|
787
|
+
|
788
|
+
$figure-caption-font-size: 90% !default;
|
789
|
+
|
790
|
+
|
791
|
+
// Breadcrumbs
|
792
|
+
|
793
|
+
$breadcrumb-padding-y: .75rem !default;
|
794
|
+
$breadcrumb-padding-x: 1rem !default;
|
795
|
+
$breadcrumb-item-padding: .5rem !default;
|
796
|
+
|
797
|
+
$breadcrumb-bg: $gray-lightest;
|
798
|
+
$breadcrumb-divider-color: $gray-light !default;
|
799
|
+
$breadcrumb-active-color: $gray-light !default;
|
800
|
+
$breadcrumb-divider: "/" !default;
|
801
|
+
|
802
|
+
|
803
|
+
// Media objects
|
804
|
+
|
805
|
+
$media-margin-top: 15px !default;
|
806
|
+
$media-heading-margin-bottom: 5px !default;
|
807
|
+
$media-alignment-padding-x: 10px !default;
|
808
|
+
|
809
|
+
|
810
|
+
// Carousel
|
811
|
+
|
812
|
+
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
|
813
|
+
|
814
|
+
$carousel-control-color: #fff !default;
|
815
|
+
$carousel-control-width: 15% !default;
|
816
|
+
$carousel-control-sm-up-size: 30px !default;
|
817
|
+
$carousel-control-opacity: .5 !default;
|
818
|
+
$carousel-control-font-size: 20px !default;
|
819
|
+
|
820
|
+
$carousel-indicators-width: 60% !default;
|
821
|
+
|
822
|
+
$carousel-indicator-size: 10px !default;
|
823
|
+
$carousel-indicator-active-size: 12px !default;
|
824
|
+
$carousel-indicator-active-bg: #fff !default;
|
825
|
+
$carousel-indicator-border-color: #fff !default;
|
826
|
+
|
827
|
+
$carousel-caption-width: 70% !default;
|
828
|
+
$carousel-caption-sm-up-width: 60% !default;
|
829
|
+
$carousel-caption-color: #fff !default;
|
830
|
+
|
831
|
+
$carousel-icon-width: 20px !default;
|
832
|
+
|
833
|
+
|
834
|
+
// Close
|
835
|
+
|
836
|
+
$close-font-weight: bold !default;
|
837
|
+
$close-color: #000 !default;
|
838
|
+
$close-text-shadow: 0 1px 0 #fff !default;
|
839
|
+
|
840
|
+
|
841
|
+
// Code
|
842
|
+
|
843
|
+
$code-font-size: 90% !default;
|
844
|
+
$code-padding-x: .4rem !default;
|
845
|
+
$code-padding-y: .2rem !default;
|
846
|
+
$code-color: #bd4147 !default;
|
847
|
+
$code-bg: #f7f7f9 !default;
|
848
|
+
|
849
|
+
$kbd-color: #fff !default;
|
850
|
+
$kbd-bg: #333 !default;
|
851
|
+
|
852
|
+
$pre-bg: #f7f7f9 !default;
|
853
|
+
$pre-color: $gray-dark !default;
|
854
|
+
$pre-border-color: #ccc !default;
|
855
|
+
$pre-scrollable-max-height: 340px !default;
|