active_frontend 6.6.2 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -6
  3. data/CODE_OF_CONDUCT.md +13 -0
  4. data/LICENSE.txt +17 -18
  5. data/README.md +0 -1
  6. data/active_frontend.gemspec +7 -6
  7. data/lib/active_frontend/version.rb +1 -1
  8. data/vendor/assets/javascripts/chart.js +4 -4
  9. data/vendor/assets/stylesheets/_ad.scss +2 -2
  10. data/vendor/assets/stylesheets/_alert.scss +9 -9
  11. data/vendor/assets/stylesheets/_aside.scss +10 -10
  12. data/vendor/assets/stylesheets/_breadcrumb.scss +4 -4
  13. data/vendor/assets/stylesheets/_button.scss +189 -93
  14. data/vendor/assets/stylesheets/_carousel.scss +25 -12
  15. data/vendor/assets/stylesheets/_code.scss +63 -63
  16. data/vendor/assets/stylesheets/_colorpicker.scss +2 -2
  17. data/vendor/assets/stylesheets/_datepicker.scss +9 -9
  18. data/vendor/assets/stylesheets/_dropdown.scss +8 -8
  19. data/vendor/assets/stylesheets/_footer.scss +21 -10
  20. data/vendor/assets/stylesheets/_form.scss +33 -32
  21. data/vendor/assets/stylesheets/_header.scss +39 -40
  22. data/vendor/assets/stylesheets/_label_and_badge.scss +32 -32
  23. data/vendor/assets/stylesheets/_list.scss +8 -7
  24. data/vendor/assets/stylesheets/_loader.scss +4 -4
  25. data/vendor/assets/stylesheets/_map.scss +2 -2
  26. data/vendor/assets/stylesheets/_modal.scss +9 -9
  27. data/vendor/assets/stylesheets/_nav_and_tab.scss +25 -25
  28. data/vendor/assets/stylesheets/_navbar.scss +8 -8
  29. data/vendor/assets/stylesheets/_pagination.scss +5 -5
  30. data/vendor/assets/stylesheets/_panel.scss +8 -8
  31. data/vendor/assets/stylesheets/_placeholder.scss +6 -6
  32. data/vendor/assets/stylesheets/_popover.scss +15 -15
  33. data/vendor/assets/stylesheets/_progress.scss +3 -3
  34. data/vendor/assets/stylesheets/_reset.scss +7 -7
  35. data/vendor/assets/stylesheets/_sidebar.scss +11 -11
  36. data/vendor/assets/stylesheets/_spinner.scss +19 -19
  37. data/vendor/assets/stylesheets/_swoggle.scss +21 -21
  38. data/vendor/assets/stylesheets/_table.scss +12 -12
  39. data/vendor/assets/stylesheets/_timepicker.scss +6 -6
  40. data/vendor/assets/stylesheets/_tooltip.scss +7 -7
  41. data/vendor/assets/stylesheets/_trunk.scss +7 -7
  42. data/vendor/assets/stylesheets/_typeahead.scss +1 -1
  43. data/vendor/assets/stylesheets/_typography.scss +19 -13
  44. data/vendor/assets/stylesheets/activefrontend.scss +22 -1
  45. metadata +13 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2d874983dd902ef692d5169a83999d71a17777c
4
- data.tar.gz: bc3f2a7e34765f8d5b1674413db3fa887efe73f1
3
+ metadata.gz: 3f22024580bf3a03a1d471ae24c894ecb6f96fce
4
+ data.tar.gz: b5d98bb9b68768eb6f3cc956219c61133470f999
5
5
  SHA512:
6
- metadata.gz: 1b9930efb47d97a8512a40d3edb51be4301aa544ee384465b47bf0d34f0dfe32de5ce0efd10d027de1b801c281b4412090d4b9067d16097912aefb76efdeb557
7
- data.tar.gz: 0f3e6ae9fb98eabe3786ec1723d6a0de56b49cf3dc7bb7be85d2eaf0fc7634e57eaba416745e8bccd29a9fd56f62d3968d257631f32c98233a0b25d02a787137
6
+ metadata.gz: a33187b0513ff3240056b511aadd10a0d3ad049794912da59bdc5105737b71cc9831ea1f5d04c9edc0d44dc3a0da2c58ee5e3ec737c28ae3c6c980ef17f3877b
7
+ data.tar.gz: e0e76d90f59516b8f273f566cf65f908ec3a46e2b133e850240de5df9af377d31879f965bd33180c05498f3b135aa874abf21be48d6eb514594a76834636234f
data/.gitignore CHANGED
@@ -6,9 +6,4 @@
6
6
  /doc/
7
7
  /pkg/
8
8
  /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log
9
+ /tmp/
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
@@ -1,22 +1,21 @@
1
- Copyright (c) 2015 Juan Gomez
1
+ The MIT License (MIT)
2
2
 
3
- MIT License
3
+ Copyright (c) 2015 Juan Gomez
4
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:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
12
11
 
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
15
14
 
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.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -25,7 +25,6 @@ Or install it yourself as:
25
25
  Add the CSS files you want to include:
26
26
 
27
27
  ```ruby
28
- *= require _activefrontend.css (place before any files)
29
28
  *= require reset.css (place before any files)
30
29
  *= require ad.css
31
30
  *= require affix.css
@@ -8,16 +8,17 @@ Gem::Specification.new do |spec|
8
8
  spec.version = ActiveFrontend::VERSION
9
9
  spec.authors = ["Juan Gomez"]
10
10
  spec.email = ["j.gomez@drexed.com"]
11
+
11
12
  spec.description = %q{ActiveFrontend is a refreshingly modern responsive web framework for beautiful and faster project development.}
12
13
  spec.summary = %q{ActiveFrontend Responsive Web Framework}
13
- spec.homepage = "http://flashgrid.drexed.com"
14
+ spec.homepage = "https://github.com/drexed/active_frontend"
14
15
  spec.license = "MIT"
15
16
 
16
- spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
20
  spec.require_paths = ["lib"]
20
21
 
21
- spec.add_development_dependency "bundler", "~> 1.7"
22
- spec.add_development_dependency "rake", "~> 10.0"
22
+ spec.add_development_dependency "bundler"
23
+ spec.add_development_dependency "rake"
23
24
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveFrontend
2
- VERSION = "6.6.2"
2
+ VERSION = "7.0.0"
3
3
  end
@@ -49,7 +49,7 @@
49
49
  scaleStartValue: null,
50
50
 
51
51
  // String - Colour of the scale line
52
- scaleLineColor: "rgba(230,237,242,1)",
52
+ scaleLineColor: "rgba(235,240,243,1)",
53
53
 
54
54
  // Number - Pixel width of the scale line
55
55
  scaleLineWidth: 1,
@@ -1910,7 +1910,7 @@
1910
1910
  scaleShowGridLines : true,
1911
1911
 
1912
1912
  //String - Colour of the grid lines
1913
- scaleGridLineColor : "rgba(230,237,242,1)",
1913
+ scaleGridLineColor : "rgba(235,240,243,1)",
1914
1914
 
1915
1915
  //Number - Width of the grid lines
1916
1916
  scaleGridLineWidth : 1,
@@ -2387,7 +2387,7 @@
2387
2387
  scaleShowGridLines : true,
2388
2388
 
2389
2389
  //String - Colour of the grid lines
2390
- scaleGridLineColor : "rgba(230,237,242,1)",
2390
+ scaleGridLineColor : "rgba(235,240,243,1)",
2391
2391
 
2392
2392
  //Number - Width of the grid lines
2393
2393
  scaleGridLineWidth : 1,
@@ -2992,7 +2992,7 @@
2992
2992
  scaleBeginAtZero : true,
2993
2993
 
2994
2994
  //String - Colour of the angle line
2995
- angleLineColor : "rgba(230,237,242,1)",
2995
+ angleLineColor : "rgba(235,240,243,1)",
2996
2996
 
2997
2997
  //Number - Pixel width of the angle line
2998
2998
  angleLineWidth : 1,
@@ -5,8 +5,8 @@
5
5
  /* # Ad
6
6
  ================================================== */
7
7
  .ad {
8
- background: rgba(245,248,250,1);
9
- border: 1px solid rgba(225,232,237,1);
8
+ background: $color-haze-light;
9
+ border: 1px solid $color-haze;
10
10
  box-sizing: border-box;
11
11
  height: 220px;
12
12
  width: 220px;
@@ -15,10 +15,10 @@
15
15
  z-index: 1040;
16
16
  }
17
17
  .alert {
18
- background: rgba(85,94,113,1);
18
+ background: $color-gray;
19
19
  border-bottom: 2px solid rgba(0,0,0,0.1);
20
20
  box-sizing: border-box;
21
- color: rgba(255,255,255,1);
21
+ color: $color-white;
22
22
  display: block;
23
23
  font-size: 16px;
24
24
  line-height: 20px;
@@ -27,14 +27,14 @@
27
27
  width: 100%;
28
28
  }
29
29
  .alert > a {
30
- color: rgba(255,255,255,1);
31
- border-bottom: 1px dotted rgba(255,255,255,1);
30
+ color: $color-white;
31
+ border-bottom: 1px dotted $color-white;
32
32
  font-style: italic;
33
33
  }
34
34
  .alert-lined { border: 2px solid rgba(0,0,0,0.1); }
35
35
  .alert-close {
36
36
  border: 0 !important;
37
- color: rgba(255,255,255,1) !important;
37
+ color: $color-white !important;
38
38
  float: right;
39
39
  font-size: 18px;
40
40
  line-height: 24px;
@@ -47,14 +47,14 @@
47
47
  /* # Colors
48
48
  ================================================== */
49
49
  .alert-green,
50
- .alert-success { background: rgba(0,200,0,1); }
50
+ .alert-success { background: $color-green; }
51
51
  .alert-orange,
52
- .alert-warning { background: rgba(255,82,0,1); }
52
+ .alert-warning { background: $color-orange; }
53
53
  .alert-red,
54
54
  .alert-error,
55
- .alert-alert { background: rgba(240,35,17,1); }
55
+ .alert-alert { background: $color-red; }
56
56
  .alert-black,
57
- .alert-system { background: rgba(35,41,55,1); }
57
+ .alert-system { background: $color-gray-dark; }
58
58
 
59
59
  /* # Media Queries
60
60
  ================================================== */
@@ -7,7 +7,7 @@
7
7
  ================================================== */
8
8
  .aside {
9
9
  background-clip: padding-box;
10
- background: rgba(255,255,255,1);
10
+ background: $color-white;
11
11
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
12
12
  display: none;
13
13
  height: 100%;
@@ -45,8 +45,8 @@
45
45
  right: initial;
46
46
  }
47
47
  .aside-header {
48
- background: rgba(255,255,255,1);
49
- border-bottom: 1px solid rgba(230,237,242,1);
48
+ background: $color-white;
49
+ border-bottom: 1px solid $color-haze;
50
50
  margin: 0;
51
51
  padding: 21px 0px 19px 0px;
52
52
  position: absolute;
@@ -57,7 +57,7 @@
57
57
  z-index: 1051;
58
58
  }
59
59
  .aside-header > h3 {
60
- color: rgba(35,41,55,1);
60
+ color: $color-black;
61
61
  font-size: 14px;
62
62
  letter-spacing: 1px;
63
63
  line-height: 14px;
@@ -76,8 +76,8 @@
76
76
  }
77
77
  .aside-body > p:last-child { margin-bottom: 0; }
78
78
  .aside-footer {
79
- background: rgba(255,255,255,1);
80
- border-top: 1px solid rgba(230,237,242,1);
79
+ background: $color-white;
80
+ border-top: 1px solid $color-haze;
81
81
  bottom: 0;
82
82
  margin-bottom: 0;
83
83
  padding: 0;
@@ -90,11 +90,11 @@ button.aside-footer-btn,
90
90
  input.aside-footer-btn {
91
91
  -webkit-appearance: none;
92
92
  appearance: none;
93
- background: rgba(255,255,255,1);
93
+ background: $color-white;
94
94
  border-radius: 0;
95
95
  border: 0;
96
96
  box-sizing: border-box;
97
- color: rgba(35,41,55,1) !important;
97
+ color: $color-black !important;
98
98
  cursor: pointer;
99
99
  float: left;
100
100
  -webkit-font-smoothing: antialiased;
@@ -113,13 +113,13 @@ input.aside-footer-btn {
113
113
  .aside-footer-btn[disabled],
114
114
  button.aside-footer-btn[disabled],
115
115
  input.aside-footer-btn[disabled] {
116
- color: rgba(136,153,166,1) !important;
116
+ color: $color-gray !important;
117
117
  cursor: not-allowed;
118
118
  }
119
119
  .aside-footer-btn-group > .aside-footer-btn,
120
120
  .aside-footer-btn-group > button.aside-footer-btn
121
121
  .aside-footer-btn-group > input.aside-footer-btn {
122
- border-right: 1px solid rgba(230,237,242,1);
122
+ border-right: 1px solid $color-haze;
123
123
  width: 50%;
124
124
  }
125
125
  .aside-footer-btn-group > .aside-footer-btn:last-child,
@@ -14,12 +14,12 @@
14
14
  font-size: 13px;
15
15
  font-weight: bold;
16
16
  }
17
- .breadcrumb > li > a { color: rgba(35,41,55,1); }
17
+ .breadcrumb > li > a { color: $color-black; }
18
18
  .breadcrumb > li > a:hover,
19
19
  .breadcrumb > li > a:active,
20
- .breadcrumb > li > a:focus { color: $primary-color; }
20
+ .breadcrumb > li > a:focus { color: $color-primary; }
21
21
  .breadcrumb > li > .divider {
22
- color: rgba(35,41,55,1);
22
+ color: $color-black;
23
23
  padding: 0 5px;
24
24
  }
25
- .breadcrumb > .active { color: $primary-color; }
25
+ .breadcrumb > .active { color: $color-primary; }
@@ -17,11 +17,11 @@
17
17
  .btn {
18
18
  -webkit-appearance: none;
19
19
  appearance: none;
20
- background: rgba(245,248,250,1);
21
- border: 1px solid rgba(245,248,250,1);
20
+ background: $color-haze-light;
21
+ border: 1px solid $color-haze-light;
22
22
  border-radius: 2px;
23
23
  box-sizing: border-box;
24
- color: rgba(35,41,55,1);
24
+ color: $color-black;
25
25
  cursor: pointer;
26
26
  display: inline-block;
27
27
  -webkit-font-smoothing: antialiased;
@@ -50,8 +50,8 @@
50
50
  .btn[disabled]:active,
51
51
  .btn[disabled]:focus,
52
52
  .open > .dropdown-toggle.btn {
53
- background: rgba(240,243,245,1);
54
- border-color: rgba(240,243,245,1);
53
+ background: $color-haze;
54
+ border-color: $color-haze;
55
55
  text-decoration: none;
56
56
  }
57
57
  .btn[disabled],
@@ -91,15 +91,18 @@ input.btn-block {
91
91
  ================================================== */
92
92
  .btn-black,
93
93
  .btn-blue,
94
+ .btn-gray-light,
95
+ .btn-gray,
96
+ .btn-gray-dark,
94
97
  .btn-green,
95
98
  .btn-orange,
99
+ .btn-pink,
96
100
  .btn-purple,
97
101
  .btn-red,
98
- .btn-smoke,
99
- .btn-yellow { color: rgba(255,255,255,1); }
102
+ .btn-yellow { color: $color-white; }
100
103
  .btn-black {
101
- background: rgba(35,41,55,1);
102
- border-color: rgba(35,41,55,1);
104
+ background: $color-black;
105
+ border-color: $color-black;
103
106
  }
104
107
  .btn-black:hover,
105
108
  .btn-black:active,
@@ -110,12 +113,12 @@ input.btn-block {
110
113
  .btn-black[disabled]:active,
111
114
  .btn-black[disabled]:focus,
112
115
  .open > .dropdown-toggle.btn.btn-black {
113
- background: rgba(25,31,45,1);
114
- border-color: rgba(25,31,45,1);
116
+ background: darken($color-black, 4%);
117
+ border-color: darken($color-black, 4%);
115
118
  }
116
119
  .btn-blue {
117
- background: rgba(0,102,255,1);
118
- border-color: rgba(0,102,255,1);
120
+ background: $color-blue;
121
+ border-color: $color-blue;
119
122
  }
120
123
  .btn-blue:hover,
121
124
  .btn-blue:active,
@@ -126,12 +129,60 @@ input.btn-block {
126
129
  .btn-blue[disabled]:active,
127
130
  .btn-blue[disabled]:focus,
128
131
  .open > .dropdown-toggle.btn.btn-blue {
129
- background: rgba(0,92,245,1);
130
- border-color: rgba(0,92,245,1);
132
+ background: darken($color-blue, 4%);
133
+ border-color: darken($color-blue, 4%);
134
+ }
135
+ .btn-gray-light {
136
+ background: $color-gray-light;
137
+ border-color: $color-gray-light;
138
+ }
139
+ .btn-gray-light:hover,
140
+ .btn-gray-light:active,
141
+ .btn-gray-light.active,
142
+ .btn-gray-light:focus,
143
+ .btn-gray-light[disabled],
144
+ .btn-gray-light[disabled]:hover,
145
+ .btn-gray-light[disabled]:active,
146
+ .btn-gray-light[disabled]:focus,
147
+ .open > .dropdown-toggle.btn.btn-gray-light {
148
+ background: darken($color-gray-light, 4%);
149
+ border-color: darken($color-gray-light, 4%);
150
+ }
151
+ .btn-gray {
152
+ background: $color-gray;
153
+ border-color: $color-gray;
154
+ }
155
+ .btn-gray:hover,
156
+ .btn-gray:active,
157
+ .btn-gray.active,
158
+ .btn-gray:focus,
159
+ .btn-gray[disabled],
160
+ .btn-gray[disabled]:hover,
161
+ .btn-gray[disabled]:active,
162
+ .btn-gray[disabled]:focus,
163
+ .open > .dropdown-toggle.btn.btn-gray {
164
+ background: darken($color-gray, 4%);
165
+ border-color: darken($color-gray, 4%);
166
+ }
167
+ .btn-gray-dark {
168
+ background: $color-gray-dark;
169
+ border-color: $color-gray-dark;
170
+ }
171
+ .btn-gray-dark:hover,
172
+ .btn-gray-dark:active,
173
+ .btn-gray-dark.active,
174
+ .btn-gray-dark:focus,
175
+ .btn-gray-dark[disabled],
176
+ .btn-gray-dark[disabled]:hover,
177
+ .btn-gray-dark[disabled]:active,
178
+ .btn-gray-dark[disabled]:focus,
179
+ .open > .dropdown-toggle.btn.btn-gray-dark {
180
+ background: darken($color-gray-dark, 4%);
181
+ border-color: darken($color-gray-dark, 4%);
131
182
  }
132
183
  .btn-green {
133
- background: rgba(0,200,0,1);
134
- border-color: rgba(0,200,0,1);
184
+ background: $color-green;
185
+ border-color: $color-green;
135
186
  }
136
187
  .btn-green:hover,
137
188
  .btn-green:active,
@@ -142,12 +193,12 @@ input.btn-block {
142
193
  .btn-green[disabled]:active,
143
194
  .btn-green[disabled]:focus,
144
195
  .open > .dropdown-toggle.btn.btn-green {
145
- background: rgba(0,190,0,1);
146
- border-color: rgba(0,190,0,1);
196
+ background: darken($color-green, 4%);
197
+ border-color: darken($color-green, 4%);
147
198
  }
148
199
  .btn-orange {
149
- background: rgba(255,82,0,1);
150
- border-color: rgba(255,82,0,1);
200
+ background: $color-orange;
201
+ border-color: $color-orange;
151
202
  }
152
203
  .btn-orange:hover,
153
204
  .btn-orange:active,
@@ -158,12 +209,28 @@ input.btn-block {
158
209
  .btn-orange[disabled]:active,
159
210
  .btn-orange[disabled]:focus,
160
211
  .open > .dropdown-toggle.btn.btn-orange {
161
- background: rgba(245,72,0,1);
162
- border-color: rgba(245,72,0,1);
212
+ background: darken($color-orange, 4%);
213
+ border-color: darken($color-orange, 4%);
214
+ }
215
+ .btn-pink {
216
+ background: $color-pink;
217
+ border-color: $color-pink;
218
+ }
219
+ .btn-pink:hover,
220
+ .btn-pink:active,
221
+ .btn-pink.active,
222
+ .btn-pink:focus,
223
+ .btn-pink[disabled],
224
+ .btn-pink[disabled]:hover,
225
+ .btn-pink[disabled]:active,
226
+ .btn-pink[disabled]:focus,
227
+ .open > .dropdown-toggle.btn.btn-pink {
228
+ background: darken($color-pink, 4%);
229
+ border-color: darken($color-pink, 4%);
163
230
  }
164
231
  .btn-purple {
165
- background: rgba(128,0,255,1);
166
- border-color: rgba(128,0,255,1);
232
+ background: $color-purple;
233
+ border-color: $color-purple;
167
234
  }
168
235
  .btn-purple:hover,
169
236
  .btn-purple:active,
@@ -174,12 +241,12 @@ input.btn-block {
174
241
  .btn-purple[disabled]:active,
175
242
  .btn-purple[disabled]:focus,
176
243
  .open > .dropdown-toggle.btn.btn-purple {
177
- background: rgba(118,0,255,1);
178
- border-color: rgba(118,0,255,1);
244
+ background: darken($color-purple, 4%);
245
+ border-color: darken($color-purple, 4%);
179
246
  }
180
247
  .btn-red {
181
- background: rgba(240,35,17,1);
182
- border-color: rgba(240,35,17,1);
248
+ background: $color-red;
249
+ border-color: $color-red;
183
250
  }
184
251
  .btn-red:hover,
185
252
  .btn-red:active,
@@ -190,28 +257,12 @@ input.btn-block {
190
257
  .btn-red[disabled]:active,
191
258
  .btn-red[disabled]:focus,
192
259
  .open > .dropdown-toggle.btn.btn-red {
193
- background: rgba(230,25,7,1);
194
- border-color: rgba(230,25,7,1);
195
- }
196
- .btn-smoke {
197
- background: rgba(85,94,113,1);
198
- border-color: rgba(85,94,113,1);
199
- }
200
- .btn-smoke:hover,
201
- .btn-smoke:active,
202
- .btn-smoke.active,
203
- .btn-smoke:focus,
204
- .btn-smoke[disabled],
205
- .btn-smoke[disabled]:hover,
206
- .btn-smoke[disabled]:active,
207
- .btn-smoke[disabled]:focus,
208
- .open > .dropdown-toggle.btn.btn-smoke {
209
- background: rgba(75,84,103,1);
210
- border-color: rgba(75,84,103,1);
260
+ background: darken($color-red, 4%);
261
+ border-color: darken($color-red, 4%);
211
262
  }
212
263
  .btn-white {
213
- background: rgba(255,255,255,1);
214
- border-color: rgba(255,255,255,1);
264
+ background: $color-white;
265
+ border-color: $color-white;
215
266
  }
216
267
  .btn-white:hover,
217
268
  .btn-white:active,
@@ -222,12 +273,12 @@ input.btn-block {
222
273
  .btn-white[disabled]:active,
223
274
  .btn-white[disabled]:focus,
224
275
  .open > .dropdown-toggle.btn.btn-white {
225
- background: rgba(240,243,245,1);
226
- border-color: rgba(240,243,245,1);
276
+ background: $color-haze;
277
+ border-color: $color-haze;
227
278
  }
228
279
  .btn-yellow {
229
- background: rgba(255,245,0,1);
230
- border-color: rgba(255,245,0,1);
280
+ background: $color-yellow;
281
+ border-color: $color-yellow;
231
282
  }
232
283
  .btn-yellow:hover,
233
284
  .btn-yellow:active,
@@ -238,8 +289,8 @@ input.btn-block {
238
289
  .btn-yellow[disabled]:active,
239
290
  .btn-yellow[disabled]:focus,
240
291
  .open > .dropdown-toggle.btn.btn-yellow {
241
- background: rgba(245,235,0,1);
242
- border-color: rgba(245,235,0,1);
292
+ background: darken($color-yellow, 4%);
293
+ border-color: darken($color-yellow, 4%);
243
294
  }
244
295
 
245
296
  /* # Links
@@ -248,7 +299,7 @@ input.btn-block {
248
299
  background: transparent;
249
300
  border-color: transparent;
250
301
  border-radius: 0;
251
- color: rgba(136,153,166,1);
302
+ color: $color-gray;
252
303
  padding: 0;
253
304
  }
254
305
  .btn-link:hover,
@@ -261,7 +312,7 @@ input.btn-block {
261
312
  .btn-link[disabled]:focus, {
262
313
  background: transparent;
263
314
  border-color: transparent;
264
- color: rgba(85,94,113,1);
315
+ color: $color-black;
265
316
  }
266
317
 
267
318
  /* # Icons
@@ -305,61 +356,76 @@ input.btn-block {
305
356
  .btn-outline[disabled]:active,
306
357
  .btn-outline[disabled]:focus {
307
358
  background: transparent;
308
- color: rgba(85,94,113,1);
359
+ color: $color-gray-dark;
309
360
  }
310
361
  .btn-outline:hover,
311
362
  .btn-outline:active,
312
363
  .btn-outline.active,
313
364
  .btn-outline:focus,
314
365
  .open > .dropdown-toggle.btn.btn-outline {
315
- background: rgba(240,243,245,1);
316
- color: rgba(35,41,55,1);
366
+ background: $color-haze;
367
+ color: $color-black;
317
368
  }
318
369
  .btn-outline.btn-black,
319
370
  .btn-outline.btn-black[disabled],
320
371
  .btn-outline.btn-black[disabled]:hover,
321
372
  .btn-outline.btn-black[disabled]:active,
322
- .btn-outline.btn-black[disabled]:focus { color: rgba(35,41,55,1); }
373
+ .btn-outline.btn-black[disabled]:focus { color: $color-black; }
323
374
  .btn-outline.btn-blue,
324
375
  .btn-outline.btn-blue[disabled],
325
376
  .btn-outline.btn-blue[disabled]:hover,
326
377
  .btn-outline.btn-blue[disabled]:active,
327
- .btn-outline.btn-blue[disabled]:focus { color: rgba(0,102,255,1); }
378
+ .btn-outline.btn-blue[disabled]:focus { color: $color-blue; }
379
+ .btn-outline.btn-gray-light,
380
+ .btn-outline.btn-gray-light[disabled],
381
+ .btn-outline.btn-gray-light[disabled]:hover,
382
+ .btn-outline.btn-gray-light[disabled]:active,
383
+ .btn-outline.btn-gray-light[disabled]:focus { color: $color-gray-light; }
384
+ .btn-outline.btn-gray,
385
+ .btn-outline.btn-gray[disabled],
386
+ .btn-outline.btn-gray[disabled]:hover,
387
+ .btn-outline.btn-gray[disabled]:active,
388
+ .btn-outline.btn-gray[disabled]:focus { color: $color-gray; }
389
+ .btn-outline.btn-gray-dark,
390
+ .btn-outline.btn-gray-dark[disabled],
391
+ .btn-outline.btn-gray-dark[disabled]:hover,
392
+ .btn-outline.btn-gray-dark[disabled]:active,
393
+ .btn-outline.btn-gray-dark[disabled]:focus { color: $color-gray-dark; }
328
394
  .btn-outline.btn-green,
329
395
  .btn-outline.btn-green[disabled],
330
396
  .btn-outline.btn-green[disabled]:hover,
331
397
  .btn-outline.btn-green[disabled]:active,
332
- .btn-outline.btn-green[disabled]:focus { color: rgba(0,204,0,1); }
398
+ .btn-outline.btn-green[disabled]:focus { color: $color-green; }
333
399
  .btn-outline.btn-orange,
334
400
  .btn-outline.btn-orange[disabled],
335
401
  .btn-outline.btn-orange[disabled]:hover,
336
402
  .btn-outline.btn-orange[disabled]:active,
337
- .btn-outline.btn-orange[disabled]:focus { color: rgba(255,82,0,1); }
403
+ .btn-outline.btn-orange[disabled]:focus { color: $color-orange; }
404
+ .btn-outline.btn-pink,
405
+ .btn-outline.btn-pink[disabled],
406
+ .btn-outline.btn-pink[disabled]:hover,
407
+ .btn-outline.btn-pink[disabled]:active,
408
+ .btn-outline.btn-pink[disabled]:focus { color: $color-pink; }
338
409
  .btn-outline.btn-purple,
339
410
  .btn-outline.btn-purple[disabled],
340
411
  .btn-outline.btn-purple[disabled]:hover,
341
412
  .btn-outline.btn-purple[disabled]:active,
342
- .btn-outline.btn-purple[disabled]:focus { color: rgba(128,0,255,1); }
413
+ .btn-outline.btn-purple[disabled]:focus { color: $color-purple; }
343
414
  .btn-outline.btn-red,
344
415
  .btn-outline.btn-red[disabled],
345
416
  .btn-outline.btn-red[disabled]:hover,
346
417
  .btn-outline.btn-red[disabled]:active,
347
- .btn-outline.btn-red[disabled]:focus { color: rgba(240,35,17,1); }
348
- .btn-outline.btn-smoke,
349
- .btn-outline.btn-smoke[disabled],
350
- .btn-outline.btn-smoke[disabled]:hover,
351
- .btn-outline.btn-smoke[disabled]:active,
352
- .btn-outline.btn-smoke[disabled]:focus { color: rgba(85,94,113,1); }
418
+ .btn-outline.btn-red[disabled]:focus { color: $color-red; }
353
419
  .btn-outline.btn-white,
354
420
  .btn-outline.btn-white[disabled],
355
421
  .btn-outline.btn-white[disabled]:hover,
356
422
  .btn-outline.btn-white[disabled]:active,
357
- .btn-outline.btn-white[disabled]:focus { color: rgba(255,255,255,1); }
423
+ .btn-outline.btn-white[disabled]:focus { color: $color-white; }
358
424
  .btn-outline.btn-yellow,
359
425
  .btn-outline.btn-yellow[disabled],
360
426
  .btn-outline.btn-yellow[disabled]:hover,
361
427
  .btn-outline.btn-yellow[disabled]:active,
362
- .btn-outline.btn-yellow[disabled]:focus { color: rgba(255,245,0,1); }
428
+ .btn-outline.btn-yellow[disabled]:focus { color: $color-yellow; }
363
429
  .btn-outline.btn-black:hover,
364
430
  .btn-outline.btn-black:active,
365
431
  .btn-outline.btn-black.active,
@@ -370,6 +436,21 @@ input.btn-block {
370
436
  .btn-outline.btn-blue.active,
371
437
  .btn-outline.btn-blue:focus,
372
438
  .open > .dropdown-toggle.btn.btn-outline.btn-blue,
439
+ .btn-outline.btn-gray-light:hover,
440
+ .btn-outline.btn-gray-light:active,
441
+ .btn-outline.btn-gray-light.active,
442
+ .btn-outline.btn-gray-light:focus,
443
+ .open > .dropdown-toggle.btn.btn-outline.btn-gray-light,
444
+ .btn-outline.btn-gray:hover,
445
+ .btn-outline.btn-gray:active,
446
+ .btn-outline.btn-gray.active,
447
+ .btn-outline.btn-gray:focus,
448
+ .open > .dropdown-toggle.btn.btn-outline.btn-gray,
449
+ .btn-outline.btn-gray-dark:hover,
450
+ .btn-outline.btn-gray-dark:active,
451
+ .btn-outline.btn-gray-dark.active,
452
+ .btn-outline.btn-gray-dark:focus,
453
+ .open > .dropdown-toggle.btn.btn-outline.btn-gray-dark,
373
454
  .btn-outline.btn-green:hover,
374
455
  .btn-outline.btn-green:active,
375
456
  .btn-outline.btn-green.active,
@@ -380,6 +461,11 @@ input.btn-block {
380
461
  .btn-outline.btn-orange.active,
381
462
  .btn-outline.btn-orange:focus,
382
463
  .open > .dropdown-toggle.btn.btn-outline.btn-orange,
464
+ .btn-outline.btn-pink:hover,
465
+ .btn-outline.btn-pink:active,
466
+ .btn-outline.btn-pink.active,
467
+ .btn-outline.btn-pink:focus,
468
+ .open > .dropdown-toggle.btn.btn-outline.btn-pink,
383
469
  .btn-outline.btn-purple:hover,
384
470
  .btn-outline.btn-purple:active,
385
471
  .btn-outline.btn-purple.active,
@@ -390,64 +476,74 @@ input.btn-block {
390
476
  .btn-outline.btn-red.active,
391
477
  .btn-outline.btn-red:focus,
392
478
  .open > .dropdown-toggle.btn.btn-outline.btn-red,
393
- .btn-outline.btn-smoke:hover,
394
- .btn-outline.btn-smoke:active,
395
- .btn-outline.btn-smoke.active,
396
- .btn-outline.btn-smoke:focus,
397
- .open > .dropdown-toggle.btn.btn-outline.btn-smoke,
398
479
  .btn-outline.btn-yellow:hover,
399
480
  .btn-outline.btn-yellow:active,
400
481
  .btn-outline.btn-yellow.active,
401
482
  .btn-outline.btn-yellow:focus,
402
- .open > .dropdown-toggle.btn.btn-outline.btn-yellow { color: rgba(255,255,255,1); }
483
+ .open > .dropdown-toggle.btn.btn-outline.btn-yellow { color: $color-white; }
403
484
  .btn-outline.btn-black:hover,
404
485
  .btn-outline.btn-black:active,
405
486
  .btn-outline.btn-black.active,
406
487
  .btn-outline.btn-black:focus,
407
- .open > .dropdown-toggle.btn.btn-outline.btn-black { background: rgba(25,31,45,1); }
488
+ .open > .dropdown-toggle.btn.btn-outline.btn-black { background: darken($color-black, 4%); }
408
489
  .btn-outline.btn-blue:hover,
409
490
  .btn-outline.btn-blue:active,
410
491
  .btn-outline.btn-blue.active,
411
492
  .btn-outline.btn-blue:focus,
412
- .open > .dropdown-toggle.btn.btn-outline.btn-blue { background: rgba(0,92,245,1); }
493
+ .open > .dropdown-toggle.btn.btn-outline.btn-blue { background: darken($color-blue, 4%); }
494
+ .btn-outline.btn-gray-light:hover,
495
+ .btn-outline.btn-gray-light:active,
496
+ .btn-outline.btn-gray-light.active,
497
+ .btn-outline.btn-gray-light:focus,
498
+ .open > .dropdown-toggle.btn.btn-outline.btn-gray-light { background: darken($color-gray-light, 4%); }
499
+ .btn-outline.btn-gray:hover,
500
+ .btn-outline.btn-gray:active,
501
+ .btn-outline.btn-gray.active,
502
+ .btn-outline.btn-gray:focus,
503
+ .open > .dropdown-toggle.btn.btn-outline.btn-gray { background: darken($color-gray, 4%); }
504
+ .btn-outline.btn-gray-dark:hover,
505
+ .btn-outline.btn-gray-dark:active,
506
+ .btn-outline.btn-gray-dark.active,
507
+ .btn-outline.btn-gray-dark:focus,
508
+ .open > .dropdown-toggle.btn.btn-outline.btn-gray-dark { background: darken($color-gray-dark, 4%); }
413
509
  .btn-outline.btn-green:hover,
414
510
  .btn-outline.btn-green:active,
415
511
  .btn-outline.btn-green.active,
416
512
  .btn-outline.btn-green:focus,
417
- .open > .dropdown-toggle.btn.btn-outline.btn-green { background: rgba(0,190,0,1); }
513
+ .open > .dropdown-toggle.btn.btn-outline.btn-green { background: darken($color-green, 4%); }
418
514
  .btn-outline.btn-orange:hover,
419
515
  .btn-outline.btn-orange:active,
420
516
  .btn-outline.btn-orange.active,
421
517
  .btn-outline.btn-orange:focus,
422
- .open > .dropdown-toggle.btn.btn-outline.btn-orange { background: rgba(245,72,0,1); }
518
+ .open > .dropdown-toggle.btn.btn-outline.btn-orange { background: darken($color-orange, 4%); }
519
+ .btn-outline.btn-pink:hover,
520
+ .btn-outline.btn-pink:active,
521
+ .btn-outline.btn-pink.active,
522
+ .btn-outline.btn-pink:focus,
523
+ .open > .dropdown-toggle.btn.btn-outline.btn-pink { background: darken($color-pink, 4%); }
423
524
  .btn-outline.btn-purple:hover,
424
525
  .btn-outline.btn-purple:active,
425
526
  .btn-outline.btn-purple.active,
426
527
  .btn-outline.btn-purple:focus,
427
- .open > .dropdown-toggle.btn.btn-outline.btn-purple { background: rgba(118,0,255,1); }
528
+ .open > .dropdown-toggle.btn.btn-outline.btn-purple { background: darken($color-purple, 4%); }
428
529
  .btn-outline.btn-red:hover,
429
530
  .btn-outline.btn-red:active,
430
531
  .btn-outline.btn-red.active,
431
532
  .btn-outline.btn-red:focus,
432
- .open > .dropdown-toggle.btn.btn-outline.btn-red { background: rgba(230,25,7,1); }
433
- .btn-outline.btn-smoke:hover,
434
- .btn-outline.btn-smoke:active,
435
- .btn-outline.btn-smoke.active,
436
- .btn-outline.btn-smoke:focus,
437
- .open > .dropdown-toggle.btn.btn-outline.btn-smoke { background: rgba(75,84,103,1); }
533
+ .open > .dropdown-toggle.btn.btn-outline.btn-red { background: darken($color-red, 4%); }
438
534
  .btn-outline.btn-white:hover,
439
535
  .btn-outline.btn-white:active,
440
536
  .btn-outline.btn-white.active,
441
537
  .btn-outline.btn-white:focus,
442
538
  .open > .dropdown-toggle.btn.btn-outline.btn-white {
443
- background: rgba(240,243,245,1);
444
- color: rgba(35,41,55,1);
539
+ background: $color-haze;
540
+ color: $color-black;
445
541
  }
446
542
  .btn-outline.btn-yellow:hover,
447
543
  .btn-outline.btn-yellow:active,
448
544
  .btn-outline.btn-yellow.active,
449
545
  .btn-outline.btn-yellow:focus,
450
- .open > .dropdown-toggle.btn.btn-outline.btn-yellow { background: rgba(245,235,0,1); }
546
+ .open > .dropdown-toggle.btn.btn-outline.btn-yellow { background: darken($color-yellow, 4%); }
451
547
 
452
548
  /* # Styles
453
549
  ================================================== */