viniBaxter-desk_front 0.7.0 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/lib/viniBaxter/desk_front/version.rb +1 -1
- data/lib/viniBaxter/sass/desk_front.scss +3 -3
- data/lib/viniBaxter/sass/desk_front/administrate/base/_forms.scss +15 -1
- data/lib/viniBaxter/sass/desk_front/administrate/base/_lists.scss +4 -4
- data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +11 -11
- data/lib/viniBaxter/sass/desk_front/administrate/base/_typography.scss +49 -44
- data/lib/viniBaxter/sass/desk_front/administrate/components/_cells.scss +2 -1
- data/lib/viniBaxter/sass/desk_front/administrate/index.scss +1 -1
- data/lib/viniBaxter/sass/desk_front/administrate/library/_customSelectize.scss +3 -0
- 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/_dropdown.scss +260 -258
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_navbar.scss +472 -473
- data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_pagination.scss +113 -108
- 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-datetimepicker.scss +228 -159
- 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/landing/_landing.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_alert.scss +18 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_aos.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_avatar.scss +192 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_badge.scss +95 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_breadcrumb.scss +35 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_button-group.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_buttons.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_card.scss +219 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_carousel.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_close.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_code.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_collapse.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_custom-forms.scss +65 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_device.scss +103 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_dropdown.scss +106 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_fancybox.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_feather.scss +1093 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_flickity.scss +112 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_footer.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_forms.scss +92 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_functions.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_grid.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_highlight.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_icon.scss +56 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_images.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_input-group.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_jumbotron.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_list-group.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_list.scss +27 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_media.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_mixins.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_modal.scss +21 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_nav.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_navbar.scss +377 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_pagination.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_popover.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_print.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_progress.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_reboot.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_root.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_screenshot.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_section.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_shapes.scss +178 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_sidenav.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_tables.scss +23 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_theme.scss +57 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_tooltip.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_transitions.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_type.scss +169 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/_utilities.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/mixins/_badge.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/mixins/_buttons.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/mixins/_overlay.scss +24 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_background.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_borders.scss +76 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_images.scss +35 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_lift.scss +18 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_overlay.scss +49 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_position.scss +41 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_shadows.scss +24 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_sizing.scss +72 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_type.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/landing/spa_landing/theme/utilities/_visibility.scss +12 -0
- data/viniBaxter-desk_front-13.0.0.gem +0 -0
- metadata +68 -2
@@ -1,141 +1,146 @@
|
|
1
1
|
.pagination {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}
|
2
|
+
.page-item .page-link {
|
3
|
+
border: 0;
|
4
|
+
border-radius: 30px !important;
|
5
|
+
transition: all 0.3s;
|
6
|
+
margin: 0 3px;
|
7
|
+
min-width: 30px;
|
8
|
+
text-align: center;
|
9
|
+
height: 30px;
|
10
|
+
line-height: 30px;
|
11
|
+
cursor: pointer;
|
12
|
+
text-transform: uppercase;
|
13
|
+
outline: none;
|
14
|
+
|
15
|
+
&:hover,
|
16
|
+
&:focus {
|
17
|
+
background-color: rgba($white, 0.1);
|
18
|
+
color: $white;
|
19
|
+
border: none;
|
20
|
+
box-shadow: none;
|
22
21
|
}
|
22
|
+
}
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
24
|
+
.arrow-margin-left,
|
25
|
+
.arrow-margin-right {
|
26
|
+
position: absolute;
|
27
|
+
}
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
.arrow-margin-right {
|
30
|
+
right: 0;
|
31
|
+
}
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
.arrow-margin-left {
|
34
|
+
left: 0;
|
35
|
+
}
|
36
36
|
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
.page-item.active > .page-link {
|
38
|
+
color: $white;
|
39
|
+
box-shadow: $box-shadow;
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
41
|
+
&,
|
42
|
+
&:focus,
|
43
|
+
&:hover {
|
44
|
+
@include diagonal-gradient($primary, $primary-states);
|
45
45
|
|
46
|
-
|
47
|
-
}
|
46
|
+
color: $white;
|
48
47
|
}
|
48
|
+
}
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
|
50
|
+
.page-item.disabled > .page-link {
|
51
|
+
opacity: 0.5;
|
52
|
+
}
|
53
53
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
}
|
54
|
+
// Colors
|
55
|
+
&.pagination-info {
|
56
|
+
.page-item.active > .page-link {
|
57
|
+
&,
|
58
|
+
&:focus,
|
59
|
+
&:hover {
|
60
|
+
@include diagonal-gradient($info, $info-states);
|
61
|
+
}
|
63
62
|
}
|
63
|
+
}
|
64
64
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
}
|
65
|
+
&.pagination-success {
|
66
|
+
.page-item.active > .page-link {
|
67
|
+
&,
|
68
|
+
&:focus,
|
69
|
+
&:hover {
|
70
|
+
@include diagonal-gradient($success, $success-states);
|
71
|
+
}
|
73
72
|
}
|
73
|
+
}
|
74
74
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
}
|
83
|
-
}
|
75
|
+
&.pagination-primary {
|
76
|
+
.page-item.active > .page-link {
|
77
|
+
&,
|
78
|
+
&:focus,
|
79
|
+
&:hover {
|
80
|
+
@include diagonal-gradient($primary, $primary-states);
|
81
|
+
}
|
84
82
|
}
|
83
|
+
}
|
85
84
|
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
85
|
+
&.pagination-warning {
|
86
|
+
.page-item.active > .page-link {
|
87
|
+
&,
|
88
|
+
&:focus,
|
89
|
+
&:hover {
|
90
|
+
@include diagonal-gradient($warning, $warning-states);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
&.pagination-dark {
|
95
|
+
.page-item.active > .page-link {
|
96
|
+
&,
|
97
|
+
&:focus,
|
98
|
+
&:hover {
|
99
|
+
@include diagonal-gradient($dark, $warning);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
92
103
|
|
93
|
-
|
94
|
-
|
104
|
+
&.pagination-danger {
|
105
|
+
.page-item.active > .page-link {
|
106
|
+
&,
|
107
|
+
&:focus,
|
108
|
+
&:hover {
|
109
|
+
@include diagonal-gradient($danger, $danger-states);
|
110
|
+
}
|
95
111
|
}
|
112
|
+
}
|
96
113
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
&:focus,
|
101
|
-
&:hover{
|
102
|
-
@include diagonal-gradient($danger, $danger-states);
|
114
|
+
&.pagination-neutral {
|
115
|
+
.page-item > .page-link {
|
116
|
+
color: $white;
|
103
117
|
|
104
|
-
|
105
|
-
|
118
|
+
&:focus,
|
119
|
+
&:hover {
|
120
|
+
background-color: $opacity-2;
|
121
|
+
color: $white;
|
122
|
+
}
|
106
123
|
}
|
107
124
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
.page-item.active > .page-link{
|
120
|
-
&,
|
121
|
-
&:focus,
|
122
|
-
&:hover{
|
123
|
-
background-color: $white;
|
124
|
-
border-color: $white;
|
125
|
-
color: $brand-primary;
|
126
|
-
}
|
127
|
-
}
|
125
|
+
.page-item.active > .page-link {
|
126
|
+
&,
|
127
|
+
&:focus,
|
128
|
+
&:hover {
|
129
|
+
background-color: $white;
|
130
|
+
border-color: $white;
|
131
|
+
color: $brand-primary;
|
132
|
+
}
|
128
133
|
}
|
129
|
-
|
134
|
+
}
|
130
135
|
}
|
131
136
|
|
132
|
-
@include media-breakpoint-down(sm){
|
137
|
+
@include media-breakpoint-down(sm) {
|
133
138
|
div.dataTables_paginate ul.pagination {
|
134
139
|
.page-item:first-of-type,
|
135
140
|
.page-item:nth-of-type(2),
|
136
141
|
.page-item:nth-of-type(8),
|
137
142
|
.page-item:last-of-type {
|
138
|
-
|
139
|
-
|
143
|
+
display: none !important;
|
144
|
+
}
|
140
145
|
}
|
141
146
|
}
|
@@ -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
|
+
// }
|