bootstrap-generators 3.1.1.3 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -5
- data/README.md +8 -8
- data/Rakefile +7 -5
- data/lib/bootstrap/generators/version.rb +1 -1
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.less +40 -23
- data/lib/generators/bootstrap/install/templates/assets/stylesheets/bootstrap-variables.scss +41 -24
- data/vendor/assets/javascripts/bootstrap.js +6 -6
- data/vendor/assets/javascripts/bootstrap/affix.js +19 -14
- data/vendor/assets/javascripts/bootstrap/alert.js +10 -6
- data/vendor/assets/javascripts/bootstrap/button.js +11 -8
- data/vendor/assets/javascripts/bootstrap/carousel.js +49 -31
- data/vendor/assets/javascripts/bootstrap/collapse.js +22 -22
- data/vendor/assets/javascripts/bootstrap/dropdown.js +17 -13
- data/vendor/assets/javascripts/bootstrap/modal.js +66 -29
- data/vendor/assets/javascripts/bootstrap/popover.js +10 -7
- data/vendor/assets/javascripts/bootstrap/scrollspy.js +40 -23
- data/vendor/assets/javascripts/bootstrap/tab.js +11 -8
- data/vendor/assets/javascripts/bootstrap/tooltip.js +115 -57
- data/vendor/assets/javascripts/bootstrap/transition.js +18 -7
- data/vendor/assets/stylesheets/bootstrap.css.erb +2740 -2322
- data/vendor/twitter/bootstrap/less/alerts.less +4 -3
- data/vendor/twitter/bootstrap/less/badges.less +18 -18
- data/vendor/twitter/bootstrap/less/bootstrap.less +3 -2
- data/vendor/twitter/bootstrap/less/button-groups.less +16 -2
- data/vendor/twitter/bootstrap/less/buttons.less +0 -2
- data/vendor/twitter/bootstrap/less/carousel.less +15 -4
- data/vendor/twitter/bootstrap/less/code.less +6 -1
- data/vendor/twitter/bootstrap/less/component-animations.less +6 -4
- data/vendor/twitter/bootstrap/less/dropdowns.less +2 -0
- data/vendor/twitter/bootstrap/less/forms.less +144 -42
- data/vendor/twitter/bootstrap/less/glyphicons.less +5 -5
- data/vendor/twitter/bootstrap/less/input-groups.less +6 -2
- data/vendor/twitter/bootstrap/less/jumbotron.less +4 -0
- data/vendor/twitter/bootstrap/less/labels.less +1 -1
- data/vendor/twitter/bootstrap/less/list-group.less +22 -1
- data/vendor/twitter/bootstrap/less/mixins.less +35 -925
- data/vendor/twitter/bootstrap/less/mixins/alerts.less +14 -0
- data/vendor/twitter/bootstrap/less/mixins/background-variant.less +8 -0
- data/vendor/twitter/bootstrap/less/mixins/border-radius.less +18 -0
- data/vendor/twitter/bootstrap/less/mixins/buttons.less +50 -0
- data/vendor/twitter/bootstrap/less/mixins/center-block.less +7 -0
- data/vendor/twitter/bootstrap/less/mixins/clearfix.less +22 -0
- data/vendor/twitter/bootstrap/less/mixins/forms.less +81 -0
- data/vendor/twitter/bootstrap/less/mixins/gradients.less +59 -0
- data/vendor/twitter/bootstrap/less/mixins/grid-framework.less +91 -0
- data/vendor/twitter/bootstrap/less/mixins/grid.less +122 -0
- data/vendor/twitter/bootstrap/less/mixins/hide-text.less +21 -0
- data/vendor/twitter/bootstrap/less/mixins/image.less +34 -0
- data/vendor/twitter/bootstrap/less/mixins/labels.less +12 -0
- data/vendor/twitter/bootstrap/less/mixins/list-group.less +29 -0
- data/vendor/twitter/bootstrap/less/mixins/nav-divider.less +10 -0
- data/vendor/twitter/bootstrap/less/mixins/nav-vertical-align.less +9 -0
- data/vendor/twitter/bootstrap/less/mixins/opacity.less +8 -0
- data/vendor/twitter/bootstrap/less/mixins/pagination.less +23 -0
- data/vendor/twitter/bootstrap/less/mixins/panels.less +24 -0
- data/vendor/twitter/bootstrap/less/mixins/progress-bar.less +10 -0
- data/vendor/twitter/bootstrap/less/mixins/reset-filter.less +8 -0
- data/vendor/twitter/bootstrap/less/mixins/resize.less +6 -0
- data/vendor/twitter/bootstrap/less/mixins/responsive-visibility.less +15 -0
- data/vendor/twitter/bootstrap/less/mixins/size.less +10 -0
- data/vendor/twitter/bootstrap/less/mixins/tab-focus.less +9 -0
- data/vendor/twitter/bootstrap/less/mixins/table-row.less +28 -0
- data/vendor/twitter/bootstrap/less/mixins/text-emphasis.less +8 -0
- data/vendor/twitter/bootstrap/less/mixins/text-overflow.less +8 -0
- data/vendor/twitter/bootstrap/less/mixins/vendor-prefixes.less +224 -0
- data/vendor/twitter/bootstrap/less/modals.less +18 -7
- data/vendor/twitter/bootstrap/less/navbar.less +41 -2
- data/vendor/twitter/bootstrap/less/navs.less +1 -1
- data/vendor/twitter/bootstrap/less/normalize.less +20 -18
- data/vendor/twitter/bootstrap/less/panels.less +8 -6
- data/vendor/twitter/bootstrap/less/popovers.less +1 -1
- data/vendor/twitter/bootstrap/less/progress-bars.less +27 -2
- data/vendor/twitter/bootstrap/less/responsive-embed.less +34 -0
- data/vendor/twitter/bootstrap/less/responsive-utilities.less +103 -1
- data/vendor/twitter/bootstrap/less/scaffolding.less +17 -1
- data/vendor/twitter/bootstrap/less/tables.less +4 -4
- data/vendor/twitter/bootstrap/less/theme.less +11 -0
- data/vendor/twitter/bootstrap/less/type.less +32 -12
- data/vendor/twitter/bootstrap/less/utilities.less +1 -0
- data/vendor/twitter/bootstrap/less/variables.less +40 -23
- data/vendor/twitter/bootstrap/sass/_alerts.scss +4 -3
- data/vendor/twitter/bootstrap/sass/_badges.scss +13 -11
- data/vendor/twitter/bootstrap/sass/_button-groups.scss +16 -2
- data/vendor/twitter/bootstrap/sass/_buttons.scss +0 -2
- data/vendor/twitter/bootstrap/sass/_carousel.scss +15 -4
- data/vendor/twitter/bootstrap/sass/_code.scss +6 -1
- data/vendor/twitter/bootstrap/sass/_component-animations.scss +10 -4
- data/vendor/twitter/bootstrap/sass/_dropdowns.scss +2 -0
- data/vendor/twitter/bootstrap/sass/_forms.scss +144 -42
- data/vendor/twitter/bootstrap/sass/_glyphicons.scss +4 -0
- data/vendor/twitter/bootstrap/sass/_input-groups.scss +6 -2
- data/vendor/twitter/bootstrap/sass/_jumbotron.scss +4 -0
- data/vendor/twitter/bootstrap/sass/_labels.scss +11 -9
- data/vendor/twitter/bootstrap/sass/_list-group.scss +22 -1
- data/vendor/twitter/bootstrap/sass/_mixins.scss +35 -943
- data/vendor/twitter/bootstrap/sass/_modals.scss +18 -7
- data/vendor/twitter/bootstrap/sass/_navbar.scss +41 -2
- data/vendor/twitter/bootstrap/sass/_navs.scss +1 -1
- data/vendor/twitter/bootstrap/sass/_normalize.scss +20 -18
- data/vendor/twitter/bootstrap/sass/_panels.scss +8 -6
- data/vendor/twitter/bootstrap/sass/_popovers.scss +1 -1
- data/vendor/twitter/bootstrap/sass/_progress-bars.scss +27 -2
- data/vendor/twitter/bootstrap/sass/_responsive-embed.scss +34 -0
- data/vendor/twitter/bootstrap/sass/_responsive-utilities.scss +101 -1
- data/vendor/twitter/bootstrap/sass/_scaffolding.scss +17 -1
- data/vendor/twitter/bootstrap/sass/_tables.scss +4 -4
- data/vendor/twitter/bootstrap/sass/_theme.scss +11 -0
- data/vendor/twitter/bootstrap/sass/_type.scss +32 -12
- data/vendor/twitter/bootstrap/sass/_utilities.scss +1 -0
- data/vendor/twitter/bootstrap/sass/_variables.scss +41 -24
- data/vendor/twitter/bootstrap/sass/bootstrap.scss +3 -2
- data/vendor/twitter/bootstrap/sass/mixins/_alerts.scss +14 -0
- data/vendor/twitter/bootstrap/sass/mixins/_background-variant.scss +11 -0
- data/vendor/twitter/bootstrap/sass/mixins/_border-radius.scss +18 -0
- data/vendor/twitter/bootstrap/sass/mixins/_buttons.scss +50 -0
- data/vendor/twitter/bootstrap/sass/mixins/_center-block.scss +7 -0
- data/vendor/twitter/bootstrap/sass/mixins/_clearfix.scss +22 -0
- data/vendor/twitter/bootstrap/sass/mixins/_forms.scss +84 -0
- data/vendor/twitter/bootstrap/sass/mixins/_gradients.scss +58 -0
- data/vendor/twitter/bootstrap/sass/mixins/_grid-framework.scss +81 -0
- data/vendor/twitter/bootstrap/sass/mixins/_grid.scss +122 -0
- data/vendor/twitter/bootstrap/sass/mixins/_hide-text.scss +21 -0
- data/vendor/twitter/bootstrap/sass/mixins/_image.scss +34 -0
- data/vendor/twitter/bootstrap/sass/mixins/_labels.scss +12 -0
- data/vendor/twitter/bootstrap/sass/mixins/_list-group.scss +31 -0
- data/vendor/twitter/bootstrap/sass/mixins/_nav-divider.scss +10 -0
- data/vendor/twitter/bootstrap/sass/mixins/_nav-vertical-align.scss +9 -0
- data/vendor/twitter/bootstrap/sass/mixins/_opacity.scss +8 -0
- data/vendor/twitter/bootstrap/sass/mixins/_pagination.scss +23 -0
- data/vendor/twitter/bootstrap/sass/mixins/_panels.scss +24 -0
- data/vendor/twitter/bootstrap/sass/mixins/_progress-bar.scss +10 -0
- data/vendor/twitter/bootstrap/sass/mixins/_reset-filter.scss +8 -0
- data/vendor/twitter/bootstrap/sass/mixins/_resize.scss +6 -0
- data/vendor/twitter/bootstrap/sass/mixins/_responsive-visibility.scss +21 -0
- data/vendor/twitter/bootstrap/sass/mixins/_size.scss +10 -0
- data/vendor/twitter/bootstrap/sass/mixins/_tab-focus.scss +9 -0
- data/vendor/twitter/bootstrap/sass/mixins/_table-row.scss +28 -0
- data/vendor/twitter/bootstrap/sass/mixins/_text-emphasis.scss +11 -0
- data/vendor/twitter/bootstrap/sass/mixins/_text-overflow.scss +8 -0
- data/vendor/twitter/bootstrap/sass/mixins/_vendor-prefixes.scss +219 -0
- metadata +62 -2
@@ -20,7 +20,7 @@
|
|
20
20
|
// Body reset
|
21
21
|
|
22
22
|
html {
|
23
|
-
font-size:
|
23
|
+
font-size: 10px;
|
24
24
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
25
25
|
}
|
26
26
|
|
@@ -132,3 +132,19 @@ hr {
|
|
132
132
|
clip: rect(0,0,0,0);
|
133
133
|
border: 0;
|
134
134
|
}
|
135
|
+
|
136
|
+
// Use in conjunction with .sr-only to only display content when it's focused.
|
137
|
+
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
138
|
+
// Credit: HTML5 Boilerplate
|
139
|
+
|
140
|
+
.sr-only-focusable {
|
141
|
+
&:active,
|
142
|
+
&:focus {
|
143
|
+
position: static;
|
144
|
+
width: auto;
|
145
|
+
height: auto;
|
146
|
+
margin: 0;
|
147
|
+
overflow: visible;
|
148
|
+
clip: auto;
|
149
|
+
}
|
150
|
+
}
|
@@ -4,7 +4,6 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
table {
|
7
|
-
max-width: 100%;
|
8
7
|
background-color: $table-bg;
|
9
8
|
}
|
10
9
|
th {
|
@@ -16,6 +15,7 @@ th {
|
|
16
15
|
|
17
16
|
.table {
|
18
17
|
width: 100%;
|
18
|
+
max-width: 100%;
|
19
19
|
margin-bottom: $line-height-computed;
|
20
20
|
// Cells
|
21
21
|
> thead,
|
@@ -168,12 +168,12 @@ table {
|
|
168
168
|
// by enabling horizontal scrolling. Only applies <768px. Everything above that
|
169
169
|
// will display normally.
|
170
170
|
|
171
|
-
|
172
|
-
|
171
|
+
.table-responsive {
|
172
|
+
@media screen and (max-width: $screen-xs-max) {
|
173
173
|
width: 100%;
|
174
174
|
margin-bottom: ($line-height-computed * 0.75);
|
175
175
|
overflow-y: hidden;
|
176
|
-
overflow-x:
|
176
|
+
overflow-x: auto;
|
177
177
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
178
178
|
border: 1px solid $table-border-color;
|
179
179
|
-webkit-overflow-scrolling: touch;
|
@@ -48,6 +48,12 @@
|
|
48
48
|
background-color: darken($btn-color, 12%);
|
49
49
|
border-color: darken($btn-color, 14%);
|
50
50
|
}
|
51
|
+
|
52
|
+
&:disabled,
|
53
|
+
&[disabled] {
|
54
|
+
background-color: darken($btn-color, 12%);
|
55
|
+
background-image: none;
|
56
|
+
}
|
51
57
|
}
|
52
58
|
|
53
59
|
// Common styles
|
@@ -191,6 +197,11 @@
|
|
191
197
|
.progress-bar-warning { @include progress-bar-styles($progress-bar-warning-bg); }
|
192
198
|
.progress-bar-danger { @include progress-bar-styles($progress-bar-danger-bg); }
|
193
199
|
|
200
|
+
// Reset the striped class because our mixins don't do multiple gradients and
|
201
|
+
// the above custom styles override the new `.progress-bar-striped` in v3.2.0.
|
202
|
+
.progress-bar-striped {
|
203
|
+
@include gradient-striped();
|
204
|
+
}
|
194
205
|
|
195
206
|
|
196
207
|
//
|
@@ -62,7 +62,7 @@ p {
|
|
62
62
|
.lead {
|
63
63
|
margin-bottom: $line-height-computed;
|
64
64
|
font-size: floor(($font-size-base * 1.15));
|
65
|
-
font-weight:
|
65
|
+
font-weight: 300;
|
66
66
|
line-height: 1.4;
|
67
67
|
|
68
68
|
@media (min-width: $screen-sm-min) {
|
@@ -74,18 +74,34 @@ p {
|
|
74
74
|
// Emphasis & misc
|
75
75
|
// -------------------------
|
76
76
|
|
77
|
-
// Ex: 14px base font *
|
77
|
+
// Ex: (12px small font / 14px base font) * 100% = about 85%
|
78
78
|
small,
|
79
|
-
.small
|
79
|
+
.small {
|
80
|
+
font-size: floor((100% * $font-size-small / $font-size-base));
|
81
|
+
}
|
80
82
|
|
81
83
|
// Undo browser default styling
|
82
|
-
cite
|
84
|
+
cite {
|
85
|
+
font-style: normal;
|
86
|
+
}
|
87
|
+
|
88
|
+
mark,
|
89
|
+
.mark {
|
90
|
+
background-color: $state-warning-bg;
|
91
|
+
padding: .2em;
|
92
|
+
}
|
83
93
|
|
84
94
|
// Alignment
|
85
95
|
.text-left { text-align: left; }
|
86
96
|
.text-right { text-align: right; }
|
87
97
|
.text-center { text-align: center; }
|
88
98
|
.text-justify { text-align: justify; }
|
99
|
+
.text-nowrap { white-space: nowrap; }
|
100
|
+
|
101
|
+
// Transformation
|
102
|
+
.text-lowercase { text-transform: lowercase; }
|
103
|
+
.text-uppercase { text-transform: uppercase; }
|
104
|
+
.text-capitalize { text-transform: capitalize; }
|
89
105
|
|
90
106
|
// Contextual colors
|
91
107
|
.text-muted {
|
@@ -132,7 +148,7 @@ cite { font-style: normal; }
|
|
132
148
|
|
133
149
|
|
134
150
|
// Lists
|
135
|
-
//
|
151
|
+
// -------------------------
|
136
152
|
|
137
153
|
// Unordered and Ordered lists
|
138
154
|
ul,
|
@@ -186,24 +202,28 @@ dd {
|
|
186
202
|
// Defaults to being stacked without any of the below styles applied, until the
|
187
203
|
// grid breakpoint is reached (default of ~768px).
|
188
204
|
|
189
|
-
|
190
|
-
|
205
|
+
.dl-horizontal {
|
206
|
+
dd {
|
207
|
+
@include clearfix(); // Clear the floated `dt` if an empty `dd` is present
|
208
|
+
}
|
209
|
+
|
210
|
+
@media (min-width: $grid-float-breakpoint) {
|
191
211
|
dt {
|
192
212
|
float: left;
|
193
|
-
width: ($
|
213
|
+
width: ($dl-horizontal-offset - 20);
|
194
214
|
clear: left;
|
195
215
|
text-align: right;
|
196
216
|
@include text-overflow();
|
197
217
|
}
|
198
218
|
dd {
|
199
|
-
margin-left: $
|
200
|
-
@include clearfix(); // Clear the floated `dt` if an empty `dd` is present
|
219
|
+
margin-left: $dl-horizontal-offset;
|
201
220
|
}
|
202
221
|
}
|
203
222
|
}
|
204
223
|
|
205
|
-
|
206
|
-
//
|
224
|
+
|
225
|
+
// Misc
|
226
|
+
// -------------------------
|
207
227
|
|
208
228
|
// Abbreviations and acronyms
|
209
229
|
abbr[title],
|
@@ -14,7 +14,7 @@ $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")
|
|
14
14
|
$gray-darker: lighten(#000, 13.5%) !default; // #222
|
15
15
|
$gray-dark: lighten(#000, 20%) !default; // #333
|
16
16
|
$gray: lighten(#000, 33.5%) !default; // #555
|
17
|
-
$gray-light: lighten(#000,
|
17
|
+
$gray-light: lighten(#000, 46.7%) !default; // #777
|
18
18
|
$gray-lighter: lighten(#000, 93.5%) !default; // #eee
|
19
19
|
|
20
20
|
$brand-primary: #428bca !default;
|
@@ -26,7 +26,7 @@ $brand-danger: #d9534f !default;
|
|
26
26
|
|
27
27
|
//== Scaffolding
|
28
28
|
//
|
29
|
-
|
29
|
+
//## Settings for some of the most global styles.
|
30
30
|
|
31
31
|
//** Background color for `<body>`.
|
32
32
|
$body-bg: #fff !default;
|
@@ -72,14 +72,18 @@ $headings-line-height: 1.1 !default;
|
|
72
72
|
$headings-color: inherit !default;
|
73
73
|
|
74
74
|
|
75
|
-
|
75
|
+
//== Iconography
|
76
76
|
//
|
77
|
-
//## Specify custom
|
77
|
+
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
|
78
78
|
|
79
|
+
//** Load fonts from this directory.
|
79
80
|
$icon-font-path: "bootstrap/" !default;
|
81
|
+
//** File name for all font files.
|
80
82
|
$icon-font-name: "glyphicons-halflings-regular" !default;
|
83
|
+
//** Element ID within SVG icon file.
|
81
84
|
$icon-font-svg-id: "glyphicons_halflingsregular" !default;
|
82
85
|
|
86
|
+
|
83
87
|
//== Components
|
84
88
|
//
|
85
89
|
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
|
@@ -236,7 +240,7 @@ $dropdown-link-disabled-color: $gray-light !default;
|
|
236
240
|
//** Text color for headers within dropdown menus.
|
237
241
|
$dropdown-header-color: $gray-light !default;
|
238
242
|
|
239
|
-
|
243
|
+
//** Deprecated `$dropdown-caret-color` as of v3.1.0
|
240
244
|
$dropdown-caret-color: #000 !default;
|
241
245
|
|
242
246
|
|
@@ -249,8 +253,8 @@ $dropdown-caret-color: #000 !default;
|
|
249
253
|
|
250
254
|
$zindex-navbar: 1000 !default;
|
251
255
|
$zindex-dropdown: 1000 !default;
|
252
|
-
$zindex-popover:
|
253
|
-
$zindex-tooltip:
|
256
|
+
$zindex-popover: 1060 !default;
|
257
|
+
$zindex-tooltip: 1070 !default;
|
254
258
|
$zindex-navbar-fixed: 1030 !default;
|
255
259
|
$zindex-modal-background: 1040 !default;
|
256
260
|
$zindex-modal: 1050 !default;
|
@@ -261,27 +265,32 @@ $zindex-modal: 1050 !default;
|
|
261
265
|
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
|
262
266
|
|
263
267
|
// Extra small screen / phone
|
264
|
-
|
268
|
+
//** Deprecated `$screen-xs` as of v3.0.1
|
265
269
|
$screen-xs: 480px !default;
|
270
|
+
//** Deprecated `$screen-xs-min` as of v3.2.0
|
266
271
|
$screen-xs-min: $screen-xs !default;
|
272
|
+
//** Deprecated `$screen-phone` as of v3.0.1
|
267
273
|
$screen-phone: $screen-xs-min !default;
|
268
274
|
|
269
275
|
// Small screen / tablet
|
270
|
-
|
276
|
+
//** Deprecated `$screen-sm` as of v3.0.1
|
271
277
|
$screen-sm: 768px !default;
|
272
278
|
$screen-sm-min: $screen-sm !default;
|
279
|
+
//** Deprecated `$screen-tablet` as of v3.0.1
|
273
280
|
$screen-tablet: $screen-sm-min !default;
|
274
281
|
|
275
282
|
// Medium screen / desktop
|
276
|
-
|
283
|
+
//** Deprecated `$screen-md` as of v3.0.1
|
277
284
|
$screen-md: 992px !default;
|
278
285
|
$screen-md-min: $screen-md !default;
|
286
|
+
//** Deprecated `$screen-desktop` as of v3.0.1
|
279
287
|
$screen-desktop: $screen-md-min !default;
|
280
288
|
|
281
289
|
// Large screen / wide desktop
|
282
|
-
|
290
|
+
//** Deprecated `$screen-lg` as of v3.0.1
|
283
291
|
$screen-lg: 1200px !default;
|
284
292
|
$screen-lg-min: $screen-lg !default;
|
293
|
+
//** Deprecated `$screen-lg-desktop` as of v3.0.1
|
285
294
|
$screen-lg-desktop: $screen-lg-min !default;
|
286
295
|
|
287
296
|
// So media queries don't overlap when required, provide a maximum
|
@@ -529,7 +538,7 @@ $popover-arrow-color: #fff !default;
|
|
529
538
|
//** Popover outer arrow width
|
530
539
|
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
|
531
540
|
//** Popover outer arrow color
|
532
|
-
$popover-arrow-outer-color:
|
541
|
+
$popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
|
533
542
|
//** Popover outer arrow fallback color
|
534
543
|
$popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
|
535
544
|
|
@@ -562,7 +571,7 @@ $label-link-hover-color: #fff !default;
|
|
562
571
|
//##
|
563
572
|
|
564
573
|
//** Padding applied to the modal body
|
565
|
-
$modal-inner-padding:
|
574
|
+
$modal-inner-padding: 15px !default;
|
566
575
|
|
567
576
|
//** Padding applied to the modal title
|
568
577
|
$modal-title-padding: 15px !default;
|
@@ -647,17 +656,26 @@ $list-group-border: #ddd !default;
|
|
647
656
|
//** List group border radius
|
648
657
|
$list-group-border-radius: $border-radius-base !default;
|
649
658
|
|
650
|
-
//** Background color of single list
|
659
|
+
//** Background color of single list items on hover
|
651
660
|
$list-group-hover-bg: #f5f5f5 !default;
|
652
|
-
//** Text color of active list
|
661
|
+
//** Text color of active list items
|
653
662
|
$list-group-active-color: $component-active-color !default;
|
654
|
-
//** Background color of active list
|
663
|
+
//** Background color of active list items
|
655
664
|
$list-group-active-bg: $component-active-bg !default;
|
656
665
|
//** Border color of active list elements
|
657
666
|
$list-group-active-border: $list-group-active-bg !default;
|
667
|
+
//** Text color for content within active list items
|
658
668
|
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
|
659
669
|
|
670
|
+
//** Text color of disabled list items
|
671
|
+
$list-group-disabled-color: $gray-light !default;
|
672
|
+
//** Background color of disabled list items
|
673
|
+
$list-group-disabled-bg: $gray-lighter !default;
|
674
|
+
//** Text color for content within disabled list items
|
675
|
+
$list-group-disabled-text-color: $list-group-disabled-color !default;
|
676
|
+
|
660
677
|
$list-group-link-color: #555 !default;
|
678
|
+
$list-group-link-hover-color: $list-group-link-color !default;
|
661
679
|
$list-group-link-heading-color: #333 !default;
|
662
680
|
|
663
681
|
|
@@ -667,6 +685,8 @@ $list-group-link-heading-color: #333 !default;
|
|
667
685
|
|
668
686
|
$panel-bg: #fff !default;
|
669
687
|
$panel-body-padding: 15px !default;
|
688
|
+
$panel-heading-padding: 10px 15px !default;
|
689
|
+
$panel-footer-padding: $panel-heading-padding !default;
|
670
690
|
$panel-border-radius: $border-radius-base !default;
|
671
691
|
|
672
692
|
//** Border color for elements within panels
|
@@ -806,6 +826,8 @@ $pre-scrollable-max-height: 340px !default;
|
|
806
826
|
//
|
807
827
|
//##
|
808
828
|
|
829
|
+
//** Horizontal offset for forms and lists.
|
830
|
+
$component-offset-horizontal: 180px !default;
|
809
831
|
//** Text muted color
|
810
832
|
$text-muted: $gray-light !default;
|
811
833
|
//** Abbreviations and acronyms border color
|
@@ -820,14 +842,9 @@ $blockquote-font-size: ($font-size-base * 1.25) !default;
|
|
820
842
|
$blockquote-border-color: $gray-lighter !default;
|
821
843
|
//** Page header border color
|
822
844
|
$page-header-border-color: $gray-lighter !default;
|
823
|
-
|
824
|
-
|
825
|
-
//== Miscellaneous
|
826
|
-
//
|
827
|
-
//##
|
828
|
-
|
845
|
+
//** Width of horizontal description list titles
|
846
|
+
$dl-horizontal-offset: $component-offset-horizontal !default;
|
829
847
|
//** Horizontal line color.
|
830
848
|
$hr-border: $gray-lighter !default;
|
831
849
|
|
832
|
-
|
833
|
-
$component-offset-horizontal: 180px !default;
|
850
|
+
|
@@ -2,9 +2,10 @@
|
|
2
2
|
@import "variables";
|
3
3
|
@import "mixins";
|
4
4
|
|
5
|
-
// Reset
|
5
|
+
// Reset and dependencies
|
6
6
|
@import "normalize";
|
7
7
|
@import "print";
|
8
|
+
@import "glyphicons";
|
8
9
|
|
9
10
|
// Core CSS
|
10
11
|
@import "scaffolding";
|
@@ -17,7 +18,6 @@
|
|
17
18
|
|
18
19
|
// Components
|
19
20
|
@import "component-animations";
|
20
|
-
@import "glyphicons";
|
21
21
|
@import "dropdowns";
|
22
22
|
@import "button-groups";
|
23
23
|
@import "input-groups";
|
@@ -35,6 +35,7 @@
|
|
35
35
|
@import "media";
|
36
36
|
@import "list-group";
|
37
37
|
@import "panels";
|
38
|
+
@import "responsive-embed";
|
38
39
|
@import "wells";
|
39
40
|
@import "close";
|
40
41
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// Alerts
|
2
|
+
|
3
|
+
@mixin alert-variant($background, $border, $text-color) {
|
4
|
+
background-color: $background;
|
5
|
+
border-color: $border;
|
6
|
+
color: $text-color;
|
7
|
+
|
8
|
+
hr {
|
9
|
+
border-top-color: darken($border, 5%);
|
10
|
+
}
|
11
|
+
.alert-link {
|
12
|
+
color: darken($text-color, 10%);
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Single side border-radius
|
2
|
+
|
3
|
+
@mixin border-top-radius($radius) {
|
4
|
+
border-top-right-radius: $radius;
|
5
|
+
border-top-left-radius: $radius;
|
6
|
+
}
|
7
|
+
@mixin border-right-radius($radius) {
|
8
|
+
border-bottom-right-radius: $radius;
|
9
|
+
border-top-right-radius: $radius;
|
10
|
+
}
|
11
|
+
@mixin border-bottom-radius($radius) {
|
12
|
+
border-bottom-right-radius: $radius;
|
13
|
+
border-bottom-left-radius: $radius;
|
14
|
+
}
|
15
|
+
@mixin border-left-radius($radius) {
|
16
|
+
border-bottom-left-radius: $radius;
|
17
|
+
border-top-left-radius: $radius;
|
18
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// Button variants
|
2
|
+
//
|
3
|
+
// Easily pump out default styles, as well as :hover, :focus, :active,
|
4
|
+
// and disabled options for all buttons
|
5
|
+
|
6
|
+
@mixin button-variant($color, $background, $border) {
|
7
|
+
color: $color;
|
8
|
+
background-color: $background;
|
9
|
+
border-color: $border;
|
10
|
+
|
11
|
+
&:hover,
|
12
|
+
&:focus,
|
13
|
+
&:active,
|
14
|
+
&.active,
|
15
|
+
.open > &.dropdown-toggle {
|
16
|
+
color: $color;
|
17
|
+
background-color: darken($background, 10%);
|
18
|
+
border-color: darken($border, 12%);
|
19
|
+
}
|
20
|
+
&:active,
|
21
|
+
&.active,
|
22
|
+
.open > &.dropdown-toggle {
|
23
|
+
background-image: none;
|
24
|
+
}
|
25
|
+
&.disabled,
|
26
|
+
&[disabled],
|
27
|
+
fieldset[disabled] & {
|
28
|
+
&,
|
29
|
+
&:hover,
|
30
|
+
&:focus,
|
31
|
+
&:active,
|
32
|
+
&.active {
|
33
|
+
background-color: $background;
|
34
|
+
border-color: $border;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.badge {
|
39
|
+
color: $background;
|
40
|
+
background-color: $color;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
// Button sizes
|
45
|
+
@mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
|
46
|
+
padding: $padding-vertical $padding-horizontal;
|
47
|
+
font-size: $font-size;
|
48
|
+
line-height: $line-height;
|
49
|
+
border-radius: $border-radius;
|
50
|
+
}
|