bootswatch 4.0.0.alpha1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 82d6497169cb966f9671713cafa7d3f73b777404
|
4
|
+
data.tar.gz: c5e388742295406f077142756423e1bb7d0a7d2e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 052c75dbf47138c13bf38c5448e8229037848176112436dd8ffd92a95fcfb15bad49633542e56eecf3d223b760dd348be613efd33c4f019e79e151cdf04a748b
|
7
|
+
data.tar.gz: 3cb4487224ef38e7d1540d62819853013f92ded137a3335e5ecce4b7374f8d1e4a7a51134011d61d1e0eef50ee48f3f128d3d148b84a5bdd66f76f1f46a59af7
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 TODO: Write your name
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# Bootswatch ruby gem
|
2
|
+
|
3
|
+
[Bootswatch](http://bootswatch.com/4-alpha/) is a collection of free themes for [Bootstrap](v4-alpha.getbootstrap.com).
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'bootstrap'
|
11
|
+
gem 'bootswatch'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install bootswatch
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
in your application.css.scss
|
25
|
+
```scss
|
26
|
+
// example override bootswatch variables
|
27
|
+
$brand-primary: #FFCF06;
|
28
|
+
$navbar-inverse-link-color: #444444;
|
29
|
+
$state-success-bg: #28b62c;
|
30
|
+
$state-warning-bg: #fbe42c;
|
31
|
+
$state-danger-bg: #ff4136;
|
32
|
+
// end example override
|
33
|
+
// import scss file
|
34
|
+
@import "bootswatch/materia/variables";
|
35
|
+
@import "bootstrap";
|
36
|
+
@import "bootswatch/materia/bootswatch";
|
37
|
+
```
|
38
|
+
|
39
|
+
## Contributing
|
40
|
+
|
41
|
+
1. Fork it ( https://github.com/mkhairi/bootswatch/fork )
|
42
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
43
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
44
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
45
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
|
3
|
+
THEMES = %w(
|
4
|
+
cerulean
|
5
|
+
cosmo
|
6
|
+
custom
|
7
|
+
cyborg
|
8
|
+
darkly
|
9
|
+
default
|
10
|
+
flatly
|
11
|
+
journal
|
12
|
+
litera
|
13
|
+
lumen
|
14
|
+
lux
|
15
|
+
materia
|
16
|
+
minty
|
17
|
+
pulse
|
18
|
+
sandstone
|
19
|
+
simplex
|
20
|
+
slate
|
21
|
+
spacelab
|
22
|
+
superhero
|
23
|
+
united
|
24
|
+
yeti
|
25
|
+
).freeze
|
26
|
+
|
27
|
+
source_dir = "bootswatch-src"
|
28
|
+
|
29
|
+
namespace :stylesheets do
|
30
|
+
desc "Cleaning stylesheets directory"
|
31
|
+
task :clean do
|
32
|
+
rm_rf "app/assets/stylesheets/bootswatch"
|
33
|
+
end
|
34
|
+
|
35
|
+
desc "Copy #{source_dir}/themes/"
|
36
|
+
task :copy do
|
37
|
+
THEMES.each do |theme|
|
38
|
+
src_dir = FileList["#{source_dir}/#{theme}/*.scss"]
|
39
|
+
tgt_dir = "app/assets/stylesheets/bootswatch/#{theme}/"
|
40
|
+
mkdir_p tgt_dir
|
41
|
+
cp_r src_dir, tgt_dir
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
|
46
|
+
desc "Setup stylesheet assets"
|
47
|
+
task setup: [:clean, :copy]
|
48
|
+
end
|
49
|
+
|
50
|
+
desc "Remove minified file .min"
|
51
|
+
task :cleanup do
|
52
|
+
Dir.glob('app/assets/**/*.min.*').each do |file|
|
53
|
+
rm file
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
desc "Setup or update assets files"
|
60
|
+
task setup: ["stylesheets:setup"]
|
@@ -0,0 +1,71 @@
|
|
1
|
+
// Cerulean 4.0.0
|
2
|
+
// Bootswatch
|
3
|
+
|
4
|
+
|
5
|
+
@mixin btn-shadow($color){
|
6
|
+
@include gradient-y-three-colors(lighten($color, 8%), $color, 60%, darken($color, 4%));
|
7
|
+
}
|
8
|
+
|
9
|
+
$text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) !default;
|
10
|
+
|
11
|
+
// Navbar ======================================================================
|
12
|
+
|
13
|
+
.bg-primary {
|
14
|
+
@include btn-shadow($brand-primary);
|
15
|
+
}
|
16
|
+
|
17
|
+
.bg-faded {
|
18
|
+
@include gradient-y-three-colors(lighten($gray-light, 8%), $gray-light, 60%, darken($gray-light, 2%));
|
19
|
+
}
|
20
|
+
|
21
|
+
.bg-inverse {
|
22
|
+
@include gradient-y-three-colors(lighten($brand-info, 5%), lighten($brand-info, 4%), 60%, darken($brand-info, 2%));
|
23
|
+
}
|
24
|
+
|
25
|
+
.nav-item {
|
26
|
+
text-shadow: $text-shadow
|
27
|
+
}
|
28
|
+
|
29
|
+
// Buttons =====================================================================
|
30
|
+
|
31
|
+
.btn {
|
32
|
+
text-shadow: $text-shadow
|
33
|
+
}
|
34
|
+
|
35
|
+
.btn-primary {
|
36
|
+
@include btn-shadow($btn-primary-bg);
|
37
|
+
}
|
38
|
+
|
39
|
+
.btn-secondary {
|
40
|
+
@include btn-shadow($btn-secondary-bg);
|
41
|
+
}
|
42
|
+
|
43
|
+
.btn-success {
|
44
|
+
@include btn-shadow($btn-success-bg);
|
45
|
+
}
|
46
|
+
|
47
|
+
.btn-info {
|
48
|
+
@include btn-shadow($btn-info-bg);
|
49
|
+
}
|
50
|
+
|
51
|
+
.btn-warning {
|
52
|
+
@include btn-shadow($btn-warning-bg);
|
53
|
+
}
|
54
|
+
|
55
|
+
.btn-danger {
|
56
|
+
@include btn-shadow($btn-danger-bg);
|
57
|
+
}
|
58
|
+
|
59
|
+
// Typography ==================================================================
|
60
|
+
|
61
|
+
// Tables ======================================================================
|
62
|
+
|
63
|
+
// Forms =======================================================================
|
64
|
+
|
65
|
+
// Navs ========================================================================
|
66
|
+
|
67
|
+
// Indicators ==================================================================
|
68
|
+
|
69
|
+
// Progress bars ===============================================================
|
70
|
+
|
71
|
+
// Containers ==================================================================
|
@@ -0,0 +1,855 @@
|
|
1
|
+
// Cerulean 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: #373a3c !default;
|
44
|
+
$gray: #666;
|
45
|
+
$gray-light: #e7e7e7;
|
46
|
+
$gray-lighter: #eceeef !default;
|
47
|
+
$gray-lightest: #f7f7f9 !default;
|
48
|
+
|
49
|
+
$brand-primary: #2FA4E7;
|
50
|
+
$brand-success: #73A839;
|
51
|
+
$brand-info: #033C73;
|
52
|
+
$brand-warning: #DD5600;
|
53
|
+
$brand-danger: #C71C22;
|
54
|
+
$brand-inverse: $gray-dark;
|
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;
|
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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
|
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: 16px !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: $brand-primary;
|
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-lighter !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-lighter !default;
|
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: $btn-primary-bg !default;
|
278
|
+
|
279
|
+
$btn-secondary-color: $gray;
|
280
|
+
$btn-secondary-bg: #fff !default;
|
281
|
+
$btn-secondary-border: #ccc !default;
|
282
|
+
|
283
|
+
$btn-info-color: #fff !default;
|
284
|
+
$btn-info-bg: $brand-info !default;
|
285
|
+
$btn-info-border: $btn-info-bg !default;
|
286
|
+
|
287
|
+
$btn-success-color: #fff !default;
|
288
|
+
$btn-success-bg: $brand-success !default;
|
289
|
+
$btn-success-border: $btn-success-bg !default;
|
290
|
+
|
291
|
+
$btn-warning-color: #fff !default;
|
292
|
+
$btn-warning-bg: $brand-warning !default;
|
293
|
+
$btn-warning-border: $btn-warning-bg !default;
|
294
|
+
|
295
|
+
$btn-danger-color: #fff !default;
|
296
|
+
$btn-danger-bg: $brand-danger !default;
|
297
|
+
$btn-danger-border: $btn-danger-bg !default;
|
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-lighter !default;
|
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-lighter !default;
|
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: $gray-dark !default;
|
462
|
+
$dropdown-link-hover-color: #fff;
|
463
|
+
$dropdown-link-hover-bg: $brand-primary;
|
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,.8);
|
509
|
+
$navbar-dark-hover-color: #fff;
|
510
|
+
$navbar-dark-active-color: #fff;
|
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-light !default;
|
529
|
+
$nav-disabled-link-hover-color: $gray-light !default;
|
530
|
+
$nav-disabled-link-hover-bg: transparent !default;
|
531
|
+
|
532
|
+
$nav-tabs-border-color: #ddd !default;
|
533
|
+
$nav-tabs-border-width: $border-width !default;
|
534
|
+
$nav-tabs-border-radius: $border-radius !default;
|
535
|
+
$nav-tabs-link-hover-border-color: $gray-lighter !default;
|
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: #ddd !default;
|
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: $link-color !default;
|
558
|
+
$pagination-bg: #fff !default;
|
559
|
+
$pagination-border-width: $border-width !default;
|
560
|
+
$pagination-border-color: #ddd !default;
|
561
|
+
|
562
|
+
$pagination-hover-color: $link-hover-color !default;
|
563
|
+
$pagination-hover-bg: $gray-lighter !default;
|
564
|
+
$pagination-hover-border: #ddd !default;
|
565
|
+
|
566
|
+
$pagination-active-color: #fff !default;
|
567
|
+
$pagination-active-bg: $brand-primary !default;
|
568
|
+
$pagination-active-border: $brand-primary !default;
|
569
|
+
|
570
|
+
$pagination-disabled-color: $gray-light !default;
|
571
|
+
$pagination-disabled-bg: #fff !default;
|
572
|
+
$pagination-disabled-border: #ddd !default;
|
573
|
+
|
574
|
+
|
575
|
+
// Jumbotron
|
576
|
+
|
577
|
+
$jumbotron-padding: 2rem !default;
|
578
|
+
$jumbotron-bg: $gray-lighter !default;
|
579
|
+
|
580
|
+
|
581
|
+
// Form states and alerts
|
582
|
+
//
|
583
|
+
// Define colors for form feedback states and, by default, alerts.
|
584
|
+
|
585
|
+
$state-success-text: #3c763d !default;
|
586
|
+
$state-success-bg: #dff0d8 !default;
|
587
|
+
$state-success-border: darken($state-success-bg, 5%) !default;
|
588
|
+
|
589
|
+
$state-info-text: #31708f !default;
|
590
|
+
$state-info-bg: #d9edf7 !default;
|
591
|
+
$state-info-border: darken($state-info-bg, 7%) !default;
|
592
|
+
|
593
|
+
$state-warning-text: #8a6d3b !default;
|
594
|
+
$state-warning-bg: #fcf8e3 !default;
|
595
|
+
$mark-bg: $state-warning-bg !default;
|
596
|
+
$state-warning-border: darken($state-warning-bg, 5%) !default;
|
597
|
+
|
598
|
+
$state-danger-text: #a94442 !default;
|
599
|
+
$state-danger-bg: #f2dede !default;
|
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,.2) !default;
|
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: #eee !default;
|
739
|
+
$progress-bar-color: #0074d9 !default;
|
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-light !default;
|
764
|
+
$list-group-disabled-bg: $gray-lighter !default;
|
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-lighter !default;
|
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;
|