bootswatch-sass 3.3.1.3 → 3.3.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -2
  3. data/README.md +8 -2
  4. data/assets/stylesheets/cerulean/_bootswatch.scss +102 -101
  5. data/assets/stylesheets/cerulean/_variables.scss +1 -1
  6. data/assets/stylesheets/cosmo/_bootswatch.scss +204 -123
  7. data/assets/stylesheets/cosmo/_variables.scss +1 -1
  8. data/assets/stylesheets/cyborg/_bootswatch.scss +179 -109
  9. data/assets/stylesheets/cyborg/_variables.scss +1 -1
  10. data/assets/stylesheets/darkly/_bootswatch.scss +281 -209
  11. data/assets/stylesheets/darkly/_variables.scss +1 -1
  12. data/assets/stylesheets/flatly/_bootswatch.scss +279 -203
  13. data/assets/stylesheets/flatly/_variables.scss +1 -1
  14. data/assets/stylesheets/journal/_bootswatch.scss +102 -50
  15. data/assets/stylesheets/journal/_variables.scss +1 -1
  16. data/assets/stylesheets/lumen/_bootswatch.scss +436 -340
  17. data/assets/stylesheets/lumen/_variables.scss +1 -1
  18. data/assets/stylesheets/paper/_bootswatch.scss +335 -391
  19. data/assets/stylesheets/paper/_variables.scss +1 -1
  20. data/assets/stylesheets/readable/_bootswatch.scss +155 -93
  21. data/assets/stylesheets/readable/_variables.scss +1 -1
  22. data/assets/stylesheets/sandstone/_bootswatch.scss +168 -128
  23. data/assets/stylesheets/sandstone/_variables.scss +1 -1
  24. data/assets/stylesheets/simplex/_bootswatch.scss +111 -84
  25. data/assets/stylesheets/simplex/_variables.scss +1 -1
  26. data/assets/stylesheets/slate/_bootswatch.scss +357 -362
  27. data/assets/stylesheets/slate/_variables.scss +1 -1
  28. data/assets/stylesheets/spacelab/_bootswatch.scss +132 -166
  29. data/assets/stylesheets/spacelab/_variables.scss +1 -1
  30. data/assets/stylesheets/superhero/_bootswatch.scss +264 -164
  31. data/assets/stylesheets/superhero/_variables.scss +1 -1
  32. data/assets/stylesheets/united/_bootswatch.scss +40 -7
  33. data/assets/stylesheets/united/_variables.scss +1 -1
  34. data/assets/stylesheets/yeti/_bootswatch.scss +367 -238
  35. data/assets/stylesheets/yeti/_variables.scss +1 -1
  36. data/bootswatch-sass.gemspec +3 -6
  37. data/lib/bootswatch-sass.rb +18 -1
  38. data/lib/bootswatch-sass/version.rb +1 -1
  39. metadata +7 -49
@@ -76,7 +76,7 @@ $headings-color: inherit;
76
76
  //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
77
77
 
78
78
  //** Load fonts from this directory.
79
- $icon-font-path: "bootstrap/";
79
+ $icon-font-path: "bootstrap/" !default;
80
80
  //** File name for all font files.
81
81
  $icon-font-name: "glyphicons-halflings-regular";
82
82
  //** Element ID within SVG icon file.
@@ -1,171 +1,137 @@
1
+ // Spacelab 3.3.1
2
+ // Bootswatch
3
+ // -----------------------------------------------------
4
+
1
5
  @import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");
2
- .navbar {
3
- background-image: -webkit-linear-gradient(#ffffff, #eeeeee 50%, #e4e4e4);
4
- background-image: -o-linear-gradient(#ffffff, #eeeeee 50%, #e4e4e4);
5
- background-image: linear-gradient(#ffffff, #eeeeee 50%, #e4e4e4);
6
- background-repeat: no-repeat;
7
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe4e4e4', GradientType=0);
6
+
7
+ @mixin btn-shadow($color){
8
+ @include gradient-vertical-three-colors(lighten($color, 15%), $color, 50%, darken($color, 4%));
8
9
  filter: none;
9
- border: 1px solid #d5d5d5;
10
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
11
- }
12
- .navbar-inverse {
13
- background-image: -webkit-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
14
- background-image: -o-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
15
- background-image: linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
16
- background-repeat: no-repeat;
17
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d94bf', endColorstr='#ff3e648d', GradientType=0);
18
- filter: none;
19
- border: 1px solid #345578;
20
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
21
- }
22
- .navbar-inverse .badge {
23
- background-color: #fff;
24
- color: #446e9b;
25
- }
26
- .navbar .badge {
27
- text-shadow: none;
28
- }
29
- .navbar-nav > li > a,
30
- .navbar-nav > li > a:hover {
31
- padding-top: 17px;
32
- padding-bottom: 13px;
33
- -webkit-transition: color ease-in-out 0.2s;
34
- -o-transition: color ease-in-out 0.2s;
35
- transition: color ease-in-out 0.2s;
36
- }
37
- .navbar-brand,
38
- .navbar-brand:hover {
39
- -webkit-transition: color ease-in-out 0.2s;
40
- -o-transition: color ease-in-out 0.2s;
41
- transition: color ease-in-out 0.2s;
42
- }
43
- .navbar .caret,
44
- .navbar .caret:hover {
45
- -webkit-transition: border-color ease-in-out 0.2s;
46
- -o-transition: border-color ease-in-out 0.2s;
47
- transition: border-color ease-in-out 0.2s;
48
- }
49
- .navbar .dropdown-menu {
50
- text-shadow: none;
10
+ border: 1px solid darken($color, 10%);
51
11
  }
12
+
13
+ // Navbar =====================================================================
14
+
15
+ .navbar {
16
+
17
+ @include btn-shadow($navbar-default-bg);
18
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
19
+
20
+ &-inverse {
21
+ @include btn-shadow($navbar-inverse-bg);
22
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
23
+
24
+ .badge {
25
+ background-color: #fff;
26
+ color: $navbar-inverse-bg;
27
+ }
28
+ }
29
+
30
+ .badge {
31
+ text-shadow: none;
32
+ }
33
+
34
+ &-nav > li > a,
35
+ &-nav > li > a:hover {
36
+ padding-top: $navbar-padding-vertical + 2px;
37
+ padding-bottom: $navbar-padding-vertical - 2px;
38
+ @include transition(color ease-in-out .2s);
39
+ }
40
+
41
+ &-brand,
42
+ &-brand:hover {
43
+ @include transition(color ease-in-out .2s);
44
+ }
45
+
46
+ .caret,
47
+ .caret:hover {
48
+ @include transition(border-color ease-in-out .2s);
49
+ }
50
+
51
+ .dropdown-menu {
52
+ text-shadow: none;
53
+ }
54
+ }
55
+
56
+ // Buttons ====================================================================
57
+
52
58
  .btn {
53
59
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
54
- }
55
- .btn-default {
56
- background-image: -webkit-linear-gradient(#6d7070, #474949 50%, #3d3f3f);
57
- background-image: -o-linear-gradient(#6d7070, #474949 50%, #3d3f3f);
58
- background-image: linear-gradient(#6d7070, #474949 50%, #3d3f3f);
59
- background-repeat: no-repeat;
60
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d7070', endColorstr='#ff3d3f3f', GradientType=0);
61
- filter: none;
62
- border: 1px solid #2e2f2f;
63
- }
64
- .btn-default:hover {
65
- background-image: -webkit-linear-gradient(#636565, #3d3f3f 50%, #333434);
66
- background-image: -o-linear-gradient(#636565, #3d3f3f 50%, #333434);
67
- background-image: linear-gradient(#636565, #3d3f3f 50%, #333434);
68
- background-repeat: no-repeat;
69
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff636565', endColorstr='#ff333434', GradientType=0);
70
- filter: none;
71
- border: 1px solid #242525;
72
- }
73
- .btn-primary {
74
- background-image: -webkit-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
75
- background-image: -o-linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
76
- background-image: linear-gradient(#6d94bf, #446e9b 50%, #3e648d);
77
- background-repeat: no-repeat;
78
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6d94bf', endColorstr='#ff3e648d', GradientType=0);
79
- filter: none;
80
- border: 1px solid #345578;
81
- }
82
- .btn-primary:hover {
83
- background-image: -webkit-linear-gradient(#5f8ab9, #3e648d 50%, #385a7f);
84
- background-image: -o-linear-gradient(#5f8ab9, #3e648d 50%, #385a7f);
85
- background-image: linear-gradient(#5f8ab9, #3e648d 50%, #385a7f);
86
- background-repeat: no-repeat;
87
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5f8ab9', endColorstr='#ff385a7f', GradientType=0);
88
- filter: none;
89
- border: 1px solid #2e4b69;
90
- }
91
- .btn-success {
92
- background-image: -webkit-linear-gradient(#61dd45, #3cb521 50%, #36a41e);
93
- background-image: -o-linear-gradient(#61dd45, #3cb521 50%, #36a41e);
94
- background-image: linear-gradient(#61dd45, #3cb521 50%, #36a41e);
95
- background-repeat: no-repeat;
96
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff61dd45', endColorstr='#ff36a41e', GradientType=0);
97
- filter: none;
98
- border: 1px solid #2e8a19;
99
- }
100
- .btn-success:hover {
101
- background-image: -webkit-linear-gradient(#52da34, #36a41e 50%, #31921b);
102
- background-image: -o-linear-gradient(#52da34, #36a41e 50%, #31921b);
103
- background-image: linear-gradient(#52da34, #36a41e 50%, #31921b);
104
- background-repeat: no-repeat;
105
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52da34', endColorstr='#ff31921b', GradientType=0);
106
- filter: none;
107
- border: 1px solid #287916;
108
- }
109
- .btn-info {
110
- background-image: -webkit-linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);
111
- background-image: -o-linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);
112
- background-image: linear-gradient(#7bbdf7, #3399f3 50%, #208ff2);
113
- background-repeat: no-repeat;
114
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7bbdf7', endColorstr='#ff208ff2', GradientType=0);
115
- filter: none;
116
- border: 1px solid #0e80e5;
117
- }
118
- .btn-info:hover {
119
- background-image: -webkit-linear-gradient(#68b3f6, #208ff2 50%, #0e86ef);
120
- background-image: -o-linear-gradient(#68b3f6, #208ff2 50%, #0e86ef);
121
- background-image: linear-gradient(#68b3f6, #208ff2 50%, #0e86ef);
122
- background-repeat: no-repeat;
123
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff68b3f6', endColorstr='#ff0e86ef', GradientType=0);
124
- filter: none;
125
- border: 1px solid #0c75d2;
126
- }
127
- .btn-warning {
128
- background-image: -webkit-linear-gradient(#ff9c21, #d47500 50%, #c06a00);
129
- background-image: -o-linear-gradient(#ff9c21, #d47500 50%, #c06a00);
130
- background-image: linear-gradient(#ff9c21, #d47500 50%, #c06a00);
131
- background-repeat: no-repeat;
132
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9c21', endColorstr='#ffc06a00', GradientType=0);
133
- filter: none;
134
- border: 1px solid #a15900;
135
- }
136
- .btn-warning:hover {
137
- background-image: -webkit-linear-gradient(#ff930d, #c06a00 50%, #ab5e00);
138
- background-image: -o-linear-gradient(#ff930d, #c06a00 50%, #ab5e00);
139
- background-image: linear-gradient(#ff930d, #c06a00 50%, #ab5e00);
140
- background-repeat: no-repeat;
141
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff930d', endColorstr='#ffab5e00', GradientType=0);
142
- filter: none;
143
- border: 1px solid #8d4e00;
144
- }
145
- .btn-danger {
146
- background-image: -webkit-linear-gradient(#ff1d1b, #cd0200 50%, #b90200);
147
- background-image: -o-linear-gradient(#ff1d1b, #cd0200 50%, #b90200);
148
- background-image: linear-gradient(#ff1d1b, #cd0200 50%, #b90200);
149
- background-repeat: no-repeat;
150
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff1d1b', endColorstr='#ffb90200', GradientType=0);
151
- filter: none;
152
- border: 1px solid #9a0200;
153
- }
154
- .btn-danger:hover {
155
- background-image: -webkit-linear-gradient(#ff0906, #b90200 50%, #a40200);
156
- background-image: -o-linear-gradient(#ff0906, #b90200 50%, #a40200);
157
- background-image: linear-gradient(#ff0906, #b90200 50%, #a40200);
158
- background-repeat: no-repeat;
159
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff0906', endColorstr='#ffa40200', GradientType=0);
160
- filter: none;
161
- border: 1px solid #860100;
162
- }
163
- .btn:active,
164
- .btn.active {
165
- background-image: none;
166
- -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
167
- box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
168
- }
169
- .panel-primary .panel-title {
170
- color: #fff;
171
- }
60
+
61
+ &-default {
62
+ @include btn-shadow($btn-default-bg);
63
+
64
+ &:hover {
65
+ @include btn-shadow(darken($btn-default-bg, 4%));
66
+ }
67
+ }
68
+
69
+ &-primary {
70
+ @include btn-shadow($btn-primary-bg);
71
+
72
+ &:hover {
73
+ @include btn-shadow(darken($btn-primary-bg, 4%));
74
+ }
75
+ }
76
+
77
+ &-success {
78
+ @include btn-shadow($btn-success-bg);
79
+
80
+ &:hover {
81
+ @include btn-shadow(darken($btn-success-bg, 4%));
82
+ }
83
+ }
84
+
85
+ &-info {
86
+ @include btn-shadow($btn-info-bg);
87
+
88
+ &:hover {
89
+ @include btn-shadow(darken($btn-info-bg, 4%));
90
+ }
91
+ }
92
+
93
+ &-warning {
94
+ @include btn-shadow($btn-warning-bg);
95
+
96
+ &:hover {
97
+ @include btn-shadow(darken($btn-warning-bg, 4%));
98
+ }
99
+ }
100
+
101
+ &-danger {
102
+ @include btn-shadow($btn-danger-bg);
103
+
104
+ &:hover {
105
+ @include btn-shadow(darken($btn-danger-bg, 4%));
106
+ }
107
+ }
108
+
109
+ &:active,
110
+ &.active {
111
+ background-image: none;
112
+ @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
113
+ }
114
+ }
115
+
116
+ // Typography =================================================================
117
+
118
+ // Tables =====================================================================
119
+
120
+ // Forms ======================================================================
121
+
122
+ // Navs =======================================================================
123
+
124
+ // Indicators =================================================================
125
+
126
+ // Progress bars ==============================================================
127
+
128
+ // Containers =================================================================
129
+
130
+ .panel {
131
+
132
+ &-primary {
133
+ .panel-title {
134
+ color: #fff;
135
+ }
136
+ }
137
+ }
@@ -76,7 +76,7 @@ $headings-color: $gray-darker;
76
76
  //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
77
77
 
78
78
  //** Load fonts from this directory.
79
- $icon-font-path: "bootstrap/";
79
+ $icon-font-path: "bootstrap/" !default;
80
80
  //** File name for all font files.
81
81
  $icon-font-name: "glyphicons-halflings-regular";
82
82
  //** Element ID within SVG icon file.
@@ -1,106 +1,142 @@
1
+ // Superhero 3.3.1
2
+ // Bootswatch
3
+ // -----------------------------------------------------
4
+
1
5
  @import url("//fonts.googleapis.com/css?family=Lato:300,400,700");
6
+
7
+ // Navbar =====================================================================
8
+
2
9
  .navbar {
3
- -webkit-box-shadow: none;
4
- box-shadow: none;
10
+ @include box-shadow(none);
5
11
  border: none;
6
12
  font-size: 12px;
7
- }
8
- .navbar-default .badge {
9
- background-color: #fff;
10
- color: #4e5d6c;
11
- }
12
- .navbar-inverse .badge {
13
- background-color: #fff;
14
- color: #df691a;
15
- }
13
+
14
+ &-default {
15
+
16
+ .badge {
17
+ background-color: #fff;
18
+ color: $navbar-default-bg;
19
+ }
20
+ }
21
+
22
+ &-inverse {
23
+
24
+ .badge {
25
+ background-color: #fff;
26
+ color: $navbar-inverse-bg;
27
+ }
28
+ }
29
+ }
30
+
31
+ // Buttons ====================================================================
32
+
16
33
  .btn {
34
+
17
35
  font-weight: 300;
18
- }
19
- .btn-default:hover {
20
- background-color: #485563;
21
- }
22
- .btn-sm,
23
- .btn-xs {
24
- font-size: 12px;
25
- }
36
+
37
+ &-default {
38
+ &:hover {
39
+ background-color: darken($btn-default-bg, 3%);
40
+ }
41
+ }
42
+
43
+ &-sm,
44
+ &-xs {
45
+ font-size: 12px;
46
+ }
47
+ }
48
+
49
+ // Typography =================================================================
50
+
26
51
  body {
27
52
  font-weight: 300;
28
53
  }
54
+
29
55
  .text-primary,
30
56
  .text-primary:hover {
31
- color: #df691a;
57
+ color: $brand-primary;
32
58
  }
59
+
33
60
  .text-success,
34
61
  .text-success:hover {
35
- color: #5cb85c;
62
+ color: $brand-success;
36
63
  }
64
+
37
65
  .text-danger,
38
66
  .text-danger:hover {
39
- color: #d9534f;
67
+ color: $brand-danger;
40
68
  }
69
+
41
70
  .text-warning,
42
71
  .text-warning:hover {
43
- color: #f0ad4e;
72
+ color: $brand-warning;
44
73
  }
74
+
45
75
  .text-info,
46
76
  .text-info:hover {
47
- color: #5bc0de;
77
+ color: $brand-info;
48
78
  }
79
+
49
80
  .page-header {
50
- border-bottom-color: #4e5d6c;
81
+ border-bottom-color: $table-border-color;
51
82
  }
83
+
52
84
  .dropdown-menu {
85
+
53
86
  border: none;
54
87
  margin: 0;
55
- -webkit-box-shadow: none;
56
- box-shadow: none;
57
- }
58
- .dropdown-menu > li > a {
59
- font-size: 12px;
60
- font-weight: 300;
61
- }
88
+ @include box-shadow(none);
89
+
90
+ > li > a {
91
+ font-size: 12px;
92
+ font-weight: 300;
93
+ }
94
+ }
95
+
62
96
  .btn-group.open .dropdown-toggle {
63
- -webkit-box-shadow: none;
64
- box-shadow: none;
97
+ @include box-shadow(none);
65
98
  }
99
+
66
100
  .dropdown-header {
67
101
  font-size: 12px;
68
102
  }
103
+
104
+ // Tables =====================================================================
105
+
69
106
  table,
70
107
  .table {
71
108
  font-size: 12px;
72
- }
73
- table a:not(.btn),
74
- .table a:not(.btn) {
75
- color: #fff;
76
- text-decoration: underline;
77
- }
78
- table .dropdown-menu a,
79
- .table .dropdown-menu a {
80
- text-decoration: none;
81
- }
82
- table .text-muted,
83
- .table .text-muted {
84
- color: #4e5d6c;
85
- }
86
- table > thead > tr > th,
87
- .table > thead > tr > th,
88
- table > tbody > tr > th,
89
- .table > tbody > tr > th,
90
- table > tfoot > tr > th,
91
- .table > tfoot > tr > th,
92
- table > thead > tr > td,
93
- .table > thead > tr > td,
94
- table > tbody > tr > td,
95
- .table > tbody > tr > td,
96
- table > tfoot > tr > td,
97
- .table > tfoot > tr > td {
98
- border-color: transparent;
99
- }
109
+
110
+ a:not(.btn) {
111
+ color: #fff;
112
+ text-decoration: underline;
113
+ }
114
+
115
+ .dropdown-menu a {
116
+ text-decoration: none;
117
+ }
118
+
119
+ .text-muted {
120
+ color: $text-muted;
121
+ }
122
+
123
+ > thead > tr > th,
124
+ > tbody > tr > th,
125
+ > tfoot > tr > th,
126
+ > thead > tr > td,
127
+ > tbody > tr > td,
128
+ > tfoot > tr > td {
129
+ border-color: transparent;
130
+ }
131
+ }
132
+
133
+ // Forms ======================================================================
134
+
100
135
  input,
101
136
  textarea {
102
- color: #2b3e50;
137
+ color: $input-color;
103
138
  }
139
+
104
140
  label,
105
141
  .radio label,
106
142
  .checkbox label,
@@ -108,125 +144,189 @@ label,
108
144
  font-size: 12px;
109
145
  font-weight: 300;
110
146
  }
147
+
111
148
  .input-addon,
112
149
  .input-group-addon {
113
- color: #ebebeb;
114
- }
115
- .has-warning .help-block,
116
- .has-warning .control-label,
117
- .has-warning .form-control-feedback {
118
- color: #f0ad4e;
119
- }
120
- .has-warning .input-group-addon {
121
- border: none;
122
- }
123
- .has-error .help-block,
124
- .has-error .control-label,
125
- .has-error .form-control-feedback {
126
- color: #d9534f;
127
- }
128
- .has-error .input-group-addon {
129
- border: none;
130
- }
131
- .has-success .help-block,
132
- .has-success .control-label,
133
- .has-success .form-control-feedback {
134
- color: #5cb85c;
135
- }
136
- .has-success .input-group-addon {
137
- border: none;
138
- }
150
+ color: $text-color;
151
+ }
152
+
153
+ .has-warning {
154
+ .help-block,
155
+ .control-label,
156
+ .form-control-feedback {
157
+ color: $brand-warning;
158
+ }
159
+
160
+ .input-group-addon {
161
+ border: none;
162
+ }
163
+ }
164
+
165
+ .has-error {
166
+ .help-block,
167
+ .control-label,
168
+ .form-control-feedback {
169
+ color: $brand-danger;
170
+ }
171
+
172
+ .input-group-addon {
173
+ border: none;
174
+ }
175
+ }
176
+
177
+ .has-success {
178
+ .help-block,
179
+ .control-label,
180
+ .form-control-feedback {
181
+ color: $brand-success;
182
+ }
183
+
184
+ .input-group-addon {
185
+ border: none;
186
+ }
187
+ }
188
+
139
189
  .form-control:focus {
140
- -webkit-box-shadow: none;
141
- box-shadow: none;
142
- }
143
- .has-warning .form-control:focus,
144
- .has-error .form-control:focus,
145
- .has-success .form-control:focus {
146
- -webkit-box-shadow: none;
147
- box-shadow: none;
148
- }
149
- .nav .open > a,
150
- .nav .open > a:hover,
151
- .nav .open > a:focus {
152
- border-color: transparent;
153
- }
154
- .nav-tabs > li > a {
155
- color: #ebebeb;
156
- }
157
- .nav-pills > li > a {
158
- color: #ebebeb;
159
- }
160
- .pager a {
161
- color: #ebebeb;
162
- }
190
+ @include box-shadow(none);
191
+ }
192
+
193
+ .has-warning,
194
+ .has-error,
195
+ .has-success {
196
+ .form-control:focus {
197
+ @include box-shadow(none);
198
+ }
199
+ }
200
+
201
+ // Navs =======================================================================
202
+
203
+ .nav {
204
+ .open > a,
205
+ .open > a:hover,
206
+ .open > a:focus {
207
+ border-color: transparent;
208
+ }
209
+ }
210
+
211
+ .nav-tabs {
212
+ > li > a {
213
+ color: $text-color;
214
+ }
215
+ }
216
+
217
+ .nav-pills {
218
+ > li > a {
219
+ color: $text-color;
220
+ }
221
+ }
222
+
223
+ .pager {
224
+ a {
225
+ color: $text-color;
226
+ }
227
+ }
228
+
229
+ // Indicators =================================================================
230
+
163
231
  .label {
164
232
  font-weight: 300;
165
233
  }
234
+
166
235
  .alert {
167
236
  color: #fff;
237
+
238
+ a,
239
+ .alert-link {
240
+ color: #fff;
241
+ }
168
242
  }
169
- .alert a,
170
- .alert .alert-link {
171
- color: #fff;
172
- }
243
+
173
244
  .close {
174
245
  opacity: 0.4;
175
- }
176
- .close:hover,
177
- .close:focus {
178
- opacity: 1;
179
- }
246
+
247
+ &:hover,
248
+ &:focus {
249
+ opacity: 1;
250
+ }
251
+ }
252
+
253
+ // Progress bars ==============================================================
254
+
255
+ // Containers =================================================================
256
+
180
257
  .well {
181
- -webkit-box-shadow: none;
182
- box-shadow: none;
183
- }
184
- a.list-group-item.active,
185
- a.list-group-item.active:hover,
186
- a.list-group-item.active:focus {
187
- border: none;
188
- }
189
- a.list-group-item-success.active {
190
- background-color: #5cb85c;
191
- }
192
- a.list-group-item-success.active:hover,
193
- a.list-group-item-success.active:focus {
194
- background-color: #4cae4c;
195
- }
196
- a.list-group-item-warning.active {
197
- background-color: #f0ad4e;
198
- }
199
- a.list-group-item-warning.active:hover,
200
- a.list-group-item-warning.active:focus {
201
- background-color: #eea236;
202
- }
203
- a.list-group-item-danger.active {
204
- background-color: #d9534f;
205
- }
206
- a.list-group-item-danger.active:hover,
207
- a.list-group-item-danger.active:focus {
208
- background-color: #d43f3a;
209
- }
258
+ @include box-shadow(none);
259
+ }
260
+
261
+ a.list-group-item {
262
+
263
+ &.active,
264
+ &.active:hover,
265
+ &.active:focus {
266
+ border: none;
267
+ }
268
+
269
+ &-success {
270
+ &.active {
271
+ background-color: $state-success-bg;
272
+ }
273
+
274
+ &.active:hover,
275
+ &.active:focus {
276
+ background-color: darken($state-success-bg, 5%);
277
+ }
278
+ }
279
+
280
+ &-warning {
281
+ &.active {
282
+ background-color: $state-warning-bg;
283
+ }
284
+
285
+ &.active:hover,
286
+ &.active:focus {
287
+ background-color: darken($state-warning-bg, 5%);
288
+ }
289
+ }
290
+
291
+ &-danger {
292
+ &.active {
293
+ background-color: $state-danger-bg;
294
+ }
295
+
296
+ &.active:hover,
297
+ &.active:focus {
298
+ background-color: darken($state-danger-bg, 5%);
299
+ }
300
+ }
301
+ }
302
+
210
303
  .panel {
211
304
  border: none;
305
+
306
+ &-default > .panel-heading {
307
+ background-color: $table-bg-hover;
308
+ color: $text-color;
309
+ }
212
310
  }
213
- .panel-default > .panel-heading {
214
- background-color: #485563;
215
- color: #ebebeb;
216
- }
311
+
217
312
  .thumbnail {
218
- background-color: #4e5d6c;
313
+ background-color: $well-bg;
219
314
  border: none;
220
315
  }
316
+
221
317
  .modal {
222
318
  padding: 0;
223
- }
224
- .modal-header,
225
- .modal-footer {
226
- background-color: #485563;
227
- border: none;
228
- border-radius: 0;
229
- }
230
- .popover-title {
231
- border: none;
319
+
320
+ &-header,
321
+ &-footer {
322
+ background-color: $table-bg-hover;
323
+ border: none;
324
+ border-radius: 0;
325
+ }
326
+ }
327
+
328
+ .popover {
329
+ &-title {
330
+ border: none;
331
+ }
232
332
  }