viniBaxter-desk_front 0.7.0 → 10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/viniBaxter/desk_front/version.rb +1 -1
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/_index.scss +74 -76
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_buttons.scss +195 -162
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_buttons.scss +357 -343
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-bootstrap-select.scss +129 -69
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-new-bootstrap-select.scss +534 -0
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_buttons.scss +341 -327
- data/lib/viniBaxter/sass/desk_front/dashkit/_dropdowns.scss +8 -14
- data/lib/viniBaxter/sass/desk_front.scss +2 -5
- metadata +3 -2
@@ -1,343 +1,357 @@
|
|
1
|
-
@mixin btn-styles($btn-color, $btn-states-color) {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
{
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
}
|
296
|
-
|
297
|
-
//
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
1
|
+
// @mixin btn-styles($btn-color, $btn-states-color) {
|
2
|
+
// @include diagonal-gradient($btn-color, $btn-states-color);
|
3
|
+
// background-color: $btn-color;
|
4
|
+
// transition: all 0.15s ease;
|
5
|
+
// box-shadow: none;
|
6
|
+
|
7
|
+
// &.animation-on-hover:hover {
|
8
|
+
// background-position: bottom left;
|
9
|
+
// transition: 0.3s ease-in-out;
|
10
|
+
// }
|
11
|
+
|
12
|
+
// &:hover,
|
13
|
+
// &:focus,
|
14
|
+
// &:active,
|
15
|
+
// &.active,
|
16
|
+
// &:active:focus,
|
17
|
+
// &:active:hover,
|
18
|
+
// &.active:focus,
|
19
|
+
// &.active:hover {
|
20
|
+
// background-color: $btn-states-color !important;
|
21
|
+
// background-image: linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
22
|
+
// background-image: -webkit-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
23
|
+
// background-image: -o-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
24
|
+
// background-image: -moz-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
25
|
+
// color: $white;
|
26
|
+
// box-shadow: none;
|
27
|
+
// }
|
28
|
+
|
29
|
+
// &:active {
|
30
|
+
// box-shadow: none !important;
|
31
|
+
// transform: translateY(1px) !important;
|
32
|
+
// transition: all .15s ease;
|
33
|
+
// }
|
34
|
+
|
35
|
+
// &:not([data-action]):hover {
|
36
|
+
|
37
|
+
// box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
|
38
|
+
// transform: translateY(-1px);
|
39
|
+
// -webkit-transform: translateY(-1px);
|
40
|
+
// }
|
41
|
+
|
42
|
+
// &.disabled,
|
43
|
+
// &:disabled,
|
44
|
+
// &[disabled],
|
45
|
+
// fieldset[disabled] & {
|
46
|
+
|
47
|
+
// &,
|
48
|
+
// &:hover,
|
49
|
+
// &:focus,
|
50
|
+
// &.focus,
|
51
|
+
// &:active,
|
52
|
+
// &.active {
|
53
|
+
// background-color: $btn-color;
|
54
|
+
// border-color: $btn-color;
|
55
|
+
// }
|
56
|
+
// }
|
57
|
+
|
58
|
+
// // btn-neutral style
|
59
|
+
// @if $btn-color==$white {
|
60
|
+
// color: $primary;
|
61
|
+
|
62
|
+
// &.btn-danger {
|
63
|
+
// color: $danger;
|
64
|
+
|
65
|
+
// &:hover,
|
66
|
+
// &:focus,
|
67
|
+
// &:active,
|
68
|
+
// &:active:focus {
|
69
|
+
// color: $danger-states;
|
70
|
+
// }
|
71
|
+
// }
|
72
|
+
|
73
|
+
// &.btn-info {
|
74
|
+
// color: $info;
|
75
|
+
|
76
|
+
// &:hover,
|
77
|
+
// &:focus,
|
78
|
+
// &:active,
|
79
|
+
// &:active:focus {
|
80
|
+
// color: $info-states;
|
81
|
+
// }
|
82
|
+
// }
|
83
|
+
|
84
|
+
// &.btn-warning {
|
85
|
+
// color: $warning;
|
86
|
+
|
87
|
+
// &:hover,
|
88
|
+
// &:focus,
|
89
|
+
// &:active,
|
90
|
+
// &:active:focus {
|
91
|
+
// color: $warning-states;
|
92
|
+
// }
|
93
|
+
// }
|
94
|
+
|
95
|
+
// &.btn-success {
|
96
|
+
// color: $success;
|
97
|
+
|
98
|
+
// &:hover,
|
99
|
+
// &:focus,
|
100
|
+
// &:active,
|
101
|
+
// &:active:focus {
|
102
|
+
// color: $success-states;
|
103
|
+
// }
|
104
|
+
// }
|
105
|
+
|
106
|
+
// &.btn-default {
|
107
|
+
// color: $default;
|
108
|
+
|
109
|
+
// &:hover,
|
110
|
+
// &:focus,
|
111
|
+
// &:active,
|
112
|
+
// &:active:focus {
|
113
|
+
// color: $default-states;
|
114
|
+
// }
|
115
|
+
// }
|
116
|
+
|
117
|
+
// &.active,
|
118
|
+
// &:active,
|
119
|
+
// &:active:focus,
|
120
|
+
// &:active:hover,
|
121
|
+
// &.active:focus,
|
122
|
+
// &.active:hover,
|
123
|
+
// .show>&.dropdown-toggle,
|
124
|
+
// .show>&.dropdown-toggle:focus,
|
125
|
+
// .show>&.dropdown-toggle:hover {
|
126
|
+
// background-color: $white;
|
127
|
+
// color: $primary-states;
|
128
|
+
// box-shadow: none;
|
129
|
+
// }
|
130
|
+
|
131
|
+
// &:hover,
|
132
|
+
// &:focus {
|
133
|
+
// color: $primary-states;
|
134
|
+
|
135
|
+
// &:not(.nav-link) {
|
136
|
+
// box-shadow: none;
|
137
|
+
// }
|
138
|
+
|
139
|
+
// }
|
140
|
+
|
141
|
+
// }
|
142
|
+
|
143
|
+
// @else {
|
144
|
+
// color: $white;
|
145
|
+
// }
|
146
|
+
|
147
|
+
// &.btn-simple {
|
148
|
+
// color: $btn-color;
|
149
|
+
// border-color: $btn-color;
|
150
|
+
// background: $transparent-bg;
|
151
|
+
|
152
|
+
// &:hover,
|
153
|
+
// &:focus,
|
154
|
+
// &:active,
|
155
|
+
// &:not(:disabled):not(.disabled):active {
|
156
|
+
// color: $btn-color;
|
157
|
+
// border-color: $btn-color;
|
158
|
+
// background-color: $transparent-bg !important;
|
159
|
+
// background-image: none !important;
|
160
|
+
// box-shadow: none;
|
161
|
+
// }
|
162
|
+
|
163
|
+
// &.active {
|
164
|
+
// border-color: $btn-color !important;
|
165
|
+
|
166
|
+
// &:hover,
|
167
|
+
// &:focus,
|
168
|
+
// &:active,
|
169
|
+
// &:not(:disabled):not(.disabled):active {
|
170
|
+
// color: $white;
|
171
|
+
// border-color: $btn-color;
|
172
|
+
// background-image: linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
173
|
+
// background-image: -webkit-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
174
|
+
// background-image: -o-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
175
|
+
// background-image: -moz-linear-gradient(to bottom left, $btn-color, $btn-states-color, $btn-color) !important;
|
176
|
+
// background-color: $btn-states-color !important;
|
177
|
+
// box-shadow: none;
|
178
|
+
// }
|
179
|
+
// }
|
180
|
+
// }
|
181
|
+
|
182
|
+
// &.btn-link {
|
183
|
+
// color: $btn-color;
|
184
|
+
|
185
|
+
// &:hover,
|
186
|
+
// &:focus,
|
187
|
+
// &:active {
|
188
|
+
// background-color: $transparent-bg !important;
|
189
|
+
// background-image: none !important;
|
190
|
+
// color: $white !important;
|
191
|
+
// text-decoration: none;
|
192
|
+
// box-shadow: none;
|
193
|
+
// }
|
194
|
+
// }
|
195
|
+
// }
|
196
|
+
|
197
|
+
// @mixin button-variant($background, $border, $hover-background: darken($background, 0%), $hover-border: darken($border, 0%), $active-background: darken($background, 10%), $active-border: darken($border, 0%)) {
|
198
|
+
// color: color-yiq($background);
|
199
|
+
// @include gradient-bg($background);
|
200
|
+
// border-color: $border;
|
201
|
+
// @include box-shadow($btn-box-shadow);
|
202
|
+
|
203
|
+
// @include hover {
|
204
|
+
// color: color-yiq($hover-background);
|
205
|
+
// @include gradient-bg($hover-background);
|
206
|
+
// border-color: $hover-border;
|
207
|
+
// }
|
208
|
+
|
209
|
+
// &:focus,
|
210
|
+
// &.focus {
|
211
|
+
|
212
|
+
// // Avoid using mixin so we can pass custom focus shadow properly
|
213
|
+
// @if $enable-shadows {
|
214
|
+
// box-shadow: $btn-box-shadow, 0 0 0 $btn-focus-width rgba($border, .5);
|
215
|
+
// }
|
216
|
+
|
217
|
+
// @else {
|
218
|
+
// box-shadow: 0 0 0 $btn-focus-width rgba($border, .5);
|
219
|
+
// }
|
220
|
+
// }
|
221
|
+
|
222
|
+
// // Disabled comes first so active can properly restyle
|
223
|
+
// &.disabled,
|
224
|
+
// &:disabled {
|
225
|
+
// color: color-yiq($background);
|
226
|
+
// background-color: $background;
|
227
|
+
// border-color: $border;
|
228
|
+
// }
|
229
|
+
|
230
|
+
// &:not(:disabled):not(.disabled):active,
|
231
|
+
// &:not(:disabled):not(.disabled).active,
|
232
|
+
// .show>&.dropdown-toggle {
|
233
|
+
// color: color-yiq($active-background);
|
234
|
+
// background-color: $active-background;
|
235
|
+
|
236
|
+
// @if $enable-gradients {
|
237
|
+
// background-image: none; // Remove the gradient for the pressed/active state
|
238
|
+
// }
|
239
|
+
|
240
|
+
// border-color: $active-border;
|
241
|
+
|
242
|
+
// &:focus {
|
243
|
+
|
244
|
+
// // Avoid using mixin so we can pass custom focus shadow properly
|
245
|
+
// @if $enable-shadows {
|
246
|
+
// box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($border, .5);
|
247
|
+
// }
|
248
|
+
|
249
|
+
// @else {
|
250
|
+
// box-shadow: 0 0 0 $btn-focus-width rgba($border, .5);
|
251
|
+
// }
|
252
|
+
// }
|
253
|
+
// }
|
254
|
+
// }
|
255
|
+
|
256
|
+
// @mixin button-outline-variant($color, $color-hover: color-yiq($color), $active-background: $color, $active-border: $color) {
|
257
|
+
// color: $color;
|
258
|
+
// background-color: transparent;
|
259
|
+
// background-image: none;
|
260
|
+
// border-color: $color;
|
261
|
+
|
262
|
+
// &:hover {
|
263
|
+
// color: $color-hover;
|
264
|
+
// background-color: $active-background;
|
265
|
+
// border-color: $active-border;
|
266
|
+
// }
|
267
|
+
|
268
|
+
// &:focus,
|
269
|
+
// &.focus {
|
270
|
+
// box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
|
271
|
+
// }
|
272
|
+
|
273
|
+
// &.disabled,
|
274
|
+
// &:disabled {
|
275
|
+
// color: $color;
|
276
|
+
// background-color: transparent;
|
277
|
+
// }
|
278
|
+
|
279
|
+
// &:not(:disabled):not(.disabled):active,
|
280
|
+
// &:not(:disabled):not(.disabled).active,
|
281
|
+
// .show>&.dropdown-toggle {
|
282
|
+
// color: color-yiq($active-background);
|
283
|
+
// background-color: $active-background;
|
284
|
+
// border-color: $active-border;
|
285
|
+
|
286
|
+
// &:focus {
|
287
|
+
|
288
|
+
// // Avoid using mixin so we can pass custom focus shadow properly
|
289
|
+
// @if $enable-shadows and $btn-active-box-shadow !=none {
|
290
|
+
// box-shadow: $btn-active-box-shadow, 0 0 0 $btn-focus-width rgba($color, .5);
|
291
|
+
// }
|
292
|
+
|
293
|
+
// @else {
|
294
|
+
// box-shadow: 0 0 0 $btn-focus-width rgba($color, .5);
|
295
|
+
// }
|
296
|
+
// }
|
297
|
+
// }
|
298
|
+
// }
|
299
|
+
|
300
|
+
// // Button sizes
|
301
|
+
// @mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border) {
|
302
|
+
// font-size: $font-size;
|
303
|
+
// border-radius: $border;
|
304
|
+
// padding: $padding-vertical $padding-horizontal;
|
305
|
+
|
306
|
+
// &.btn-simple {
|
307
|
+
// padding: $padding-vertical - 1 $padding-horizontal - 1;
|
308
|
+
// }
|
309
|
+
|
310
|
+
// }
|
311
|
+
|
312
|
+
// // for social buttons
|
313
|
+
// @mixin social-buttons-color ($color, $state-color) {
|
314
|
+
// @include diagonal-gradient($color, darken($color, 20%));
|
315
|
+
// //background-color: $color;
|
316
|
+
// color: $white;
|
317
|
+
// background-size: 210% 210%;
|
318
|
+
// background-position: top right;
|
319
|
+
// background-repeat: space;
|
320
|
+
|
321
|
+
// &:focus,
|
322
|
+
// &:active,
|
323
|
+
// &:hover {
|
324
|
+
// background-color: $state-color;
|
325
|
+
// background-image: linear-gradient(to bottom left, $color, darken($color, 20%), $color) !important;
|
326
|
+
// background-image: -webkit-linear-gradient(to bottom left, $color, darken($color, 20%), $color) !important;
|
327
|
+
// background-image: -o-linear-gradient(to bottom left, $color, darken($color, 20%), $color) !important;
|
328
|
+
// background-image: -moz-linear-gradient(to bottom left, $color, darken($color, 20%), $color) !important;
|
329
|
+
// color: $white;
|
330
|
+
// }
|
331
|
+
|
332
|
+
// &.btn-simple {
|
333
|
+
// color: $state-color;
|
334
|
+
// background-color: $transparent-bg;
|
335
|
+
// background-image: none !important;
|
336
|
+
// box-shadow: none;
|
337
|
+
// border-color: $state-color;
|
338
|
+
|
339
|
+
// &:hover,
|
340
|
+
// &:focus,
|
341
|
+
// &:active {
|
342
|
+
// color: $state-color;
|
343
|
+
// border-color: $state-color;
|
344
|
+
// }
|
345
|
+
// }
|
346
|
+
|
347
|
+
// &.btn-neutral {
|
348
|
+
// color: $color;
|
349
|
+
// background-color: $white;
|
350
|
+
|
351
|
+
// &:hover,
|
352
|
+
// &:focus,
|
353
|
+
// &:active {
|
354
|
+
// color: $state-color;
|
355
|
+
// }
|
356
|
+
// }
|
357
|
+
// }
|