nice-elements 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +20 -0
- package/README.md +48 -1
- package/bower.json +1 -1
- package/dist/nice.js +144 -100
- package/dist/nice.min.js +1 -1
- package/dist/style.css +870 -66
- package/dist/style.css.map +3 -1
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-calendar/nice-calendar.html +10 -37
- package/src/components/nice-calendar/nice-calendar.scss +25 -24
- package/src/components/nice-checkbox/nice-checkbox.html +2 -2
- package/src/components/nice-checkbox/nice-checkbox.scss +5 -4
- package/src/components/nice-choice/nice-choice.html +1 -1
- package/src/components/nice-choice/nice-choice.scss +22 -22
- package/src/components/nice-date/nice-date.html +14 -34
- package/src/components/nice-date/nice-date.scss +41 -17
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +4 -34
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +18 -14
- package/src/components/nice-dropdown/nice-dropdown.js +5 -0
- package/src/components/nice-dropdown/nice-dropdown.scss +5 -4
- package/src/components/nice-dropdown-old/nice-dropdown-old.scss +27 -26
- package/src/components/nice-number/nice-number.html +2 -2
- package/src/components/nice-number/nice-number.scss +9 -0
- package/src/components/nice-popup/nice-popup.js +3 -0
- package/src/components/nice-popup/nice-popup.scss +4 -0
- package/src/components/nice-quantity/nice-quantity.html +3 -10
- package/src/components/nice-quantity/nice-quantity.scss +17 -10
- package/src/components/nice-search2/nice-search2.html +2 -12
- package/src/components/nice-search2/nice-search2.js +34 -27
- package/src/components/nice-upload/nice-upload.html +4 -5
- package/src/components/nice-upload/nice-upload.js +73 -41
- package/src/components/nice-upload/nice-upload.scss +32 -13
- package/src/components/nice-yesno/nice-yesno.html +1 -1
- package/src/components/nice-yesno/nice-yesno.scss +23 -15
- package/src/styles/_nice-buttons.scss +335 -0
- package/src/styles/_nice-common.scss +84 -47
- package/src/styles/_nice-spacing.scss +58 -0
- package/src/styles/_nice.scss +2 -0
- package/src/styles/_variables.scss +108 -32
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
label.nice{
|
|
1
|
+
label.nice {
|
|
2
2
|
color: $nice-label-color;
|
|
3
3
|
text-align: right;
|
|
4
4
|
display: block;
|
|
@@ -11,21 +11,51 @@ label.nice{
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
.nice-focus {
|
|
15
|
+
outline: 2px solid;
|
|
16
|
+
outline-color: var(--nice-primary-color);
|
|
17
|
+
outline-offset: 2px;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
}
|
|
14
20
|
|
|
15
21
|
.nice-component {
|
|
16
22
|
margin-bottom: 10px;
|
|
17
|
-
|
|
23
|
+
|
|
24
|
+
select,
|
|
25
|
+
input,
|
|
26
|
+
textarea {
|
|
27
|
+
&:focus {
|
|
28
|
+
outline: 2px solid var(--nice-primary-color);
|
|
29
|
+
outline-offset: 2px;
|
|
30
|
+
border-radius: 1px;
|
|
31
|
+
z-index: 1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.input-group,
|
|
36
|
+
.form-group {
|
|
37
|
+
&:focus-within {
|
|
38
|
+
@extend .nice-focus;
|
|
39
|
+
border-radius: var(--nice-border-radius);
|
|
40
|
+
|
|
41
|
+
input {
|
|
42
|
+
outline: 0 none;
|
|
43
|
+
border-color: var(--nice-border-color) !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
18
48
|
.nice-title {
|
|
19
49
|
display: flex;
|
|
20
50
|
justify-content: flex-end;
|
|
21
51
|
align-items: center;
|
|
22
52
|
min-height: 34px;
|
|
23
|
-
|
|
53
|
+
|
|
24
54
|
.nice-title-text {
|
|
25
55
|
text-align: right;
|
|
26
56
|
color: $nice-label-color;
|
|
27
57
|
}
|
|
28
|
-
|
|
58
|
+
|
|
29
59
|
.nice-title-help {
|
|
30
60
|
margin-left: 5px;
|
|
31
61
|
line-height: 1;
|
|
@@ -40,7 +70,8 @@ label.nice{
|
|
|
40
70
|
}
|
|
41
71
|
}
|
|
42
72
|
|
|
43
|
-
.input-group,
|
|
73
|
+
.input-group,
|
|
74
|
+
.form-group {
|
|
44
75
|
.form-control {
|
|
45
76
|
min-width: 50px;
|
|
46
77
|
// border-radius: $nice-border-radius;
|
|
@@ -48,18 +79,19 @@ label.nice{
|
|
|
48
79
|
background: $nice-input-bg;
|
|
49
80
|
border: 1px solid $nice-border-color;
|
|
50
81
|
box-shadow: 0 0 0;
|
|
51
|
-
|
|
52
|
-
&:active,
|
|
82
|
+
|
|
83
|
+
&:active,
|
|
84
|
+
&:focus {
|
|
53
85
|
border-color: $nice-focus-border;
|
|
54
86
|
box-shadow: 0 0 0;
|
|
55
87
|
|
|
56
|
-
|
|
88
|
+
&+.input-group-addon {
|
|
57
89
|
border-color: $nice-focus-border;
|
|
58
90
|
background-color: $nice-focus-border;
|
|
59
91
|
color: white;
|
|
60
92
|
}
|
|
61
93
|
}
|
|
62
|
-
|
|
94
|
+
|
|
63
95
|
&:disabled {
|
|
64
96
|
background: $nice-input-disabled-bg;
|
|
65
97
|
border-color: $nice-input-disabled-border;
|
|
@@ -67,7 +99,7 @@ label.nice{
|
|
|
67
99
|
}
|
|
68
100
|
}
|
|
69
101
|
|
|
70
|
-
.input-group-addon{
|
|
102
|
+
.input-group-addon {
|
|
71
103
|
background: $nice-addon-bg;
|
|
72
104
|
// border: 0 none;
|
|
73
105
|
border-top-right-radius: $nice-border-radius;
|
|
@@ -110,7 +142,7 @@ label.nice{
|
|
|
110
142
|
margin-right: 20px;
|
|
111
143
|
}
|
|
112
144
|
|
|
113
|
-
p.nice{
|
|
145
|
+
p.nice {
|
|
114
146
|
line-height: 34px;
|
|
115
147
|
margin: 0;
|
|
116
148
|
}
|
|
@@ -121,14 +153,14 @@ p.nice{
|
|
|
121
153
|
user-select: none;
|
|
122
154
|
}
|
|
123
155
|
|
|
124
|
-
.nice-table{
|
|
125
|
-
hr{
|
|
156
|
+
.nice-table {
|
|
157
|
+
hr {
|
|
126
158
|
margin: 0px;
|
|
127
159
|
margin-bottom: 10px;
|
|
128
160
|
border-color: $nice-border-color;
|
|
129
161
|
}
|
|
130
162
|
|
|
131
|
-
.nice-table-header{
|
|
163
|
+
.nice-table-header {
|
|
132
164
|
font-size: $font-size-small;
|
|
133
165
|
color: $nice-base-color;
|
|
134
166
|
padding-top: 10px;
|
|
@@ -136,7 +168,7 @@ p.nice{
|
|
|
136
168
|
text-transform: uppercase;
|
|
137
169
|
}
|
|
138
170
|
|
|
139
|
-
.nice-table-row{
|
|
171
|
+
.nice-table-row {
|
|
140
172
|
cursor: pointer;
|
|
141
173
|
line-height: 25px;
|
|
142
174
|
font-size: 14px;
|
|
@@ -145,28 +177,28 @@ p.nice{
|
|
|
145
177
|
|
|
146
178
|
|
|
147
179
|
|
|
148
|
-
.list-inline{
|
|
180
|
+
.list-inline {
|
|
149
181
|
margin-bottom: 0px;
|
|
150
182
|
}
|
|
151
183
|
|
|
152
|
-
&:hover{
|
|
184
|
+
&:hover {
|
|
153
185
|
background: $nice-table-bg-hover;
|
|
154
186
|
}
|
|
155
187
|
|
|
156
|
-
.nice-table-btn{
|
|
188
|
+
.nice-table-btn {
|
|
157
189
|
line-height: 11px;
|
|
158
190
|
width: 100%;
|
|
159
191
|
}
|
|
160
192
|
}
|
|
161
193
|
|
|
162
|
-
.no-border-top{
|
|
194
|
+
.no-border-top {
|
|
163
195
|
border-top: none;
|
|
164
196
|
}
|
|
165
197
|
|
|
166
|
-
.active{
|
|
198
|
+
.active {
|
|
167
199
|
//background: $table-bg-active;
|
|
168
200
|
|
|
169
|
-
&:before{
|
|
201
|
+
&:before {
|
|
170
202
|
content: " ";
|
|
171
203
|
background: $nice-base-color;
|
|
172
204
|
width: 2px;
|
|
@@ -177,31 +209,31 @@ p.nice{
|
|
|
177
209
|
}
|
|
178
210
|
}
|
|
179
211
|
|
|
180
|
-
&.nice-table-settings{
|
|
181
|
-
.nice-table-row:hover{
|
|
212
|
+
&.nice-table-settings {
|
|
213
|
+
.nice-table-row:hover {
|
|
182
214
|
background: none;
|
|
183
215
|
@extend .active;
|
|
184
216
|
}
|
|
185
217
|
}
|
|
186
218
|
}
|
|
187
219
|
|
|
188
|
-
.nice-list-item{
|
|
220
|
+
.nice-list-item {
|
|
189
221
|
cursor: pointer;
|
|
190
222
|
line-height: 25px;
|
|
191
223
|
font-size: 14px;
|
|
192
224
|
padding: 15px 25px;
|
|
193
225
|
border-top: 1px solid $nice-border-color;
|
|
194
226
|
|
|
195
|
-
&:hover{
|
|
227
|
+
&:hover {
|
|
196
228
|
background: $nice-table-bg-hover;
|
|
197
229
|
}
|
|
198
230
|
|
|
199
|
-
&.active{
|
|
231
|
+
&.active {
|
|
200
232
|
background: $nice-table-bg-active;
|
|
201
233
|
}
|
|
202
234
|
}
|
|
203
235
|
|
|
204
|
-
.nice-submenu{
|
|
236
|
+
.nice-submenu {
|
|
205
237
|
background-color: $nice-submenu-bg-color;
|
|
206
238
|
// height: 50px;
|
|
207
239
|
margin-top: 0;
|
|
@@ -209,8 +241,8 @@ p.nice{
|
|
|
209
241
|
margin-bottom: 20px;
|
|
210
242
|
//line-height: 50px;
|
|
211
243
|
|
|
212
|
-
.nice-submenu-wrapper{
|
|
213
|
-
padding:25px;
|
|
244
|
+
.nice-submenu-wrapper {
|
|
245
|
+
padding: 25px;
|
|
214
246
|
}
|
|
215
247
|
|
|
216
248
|
.nice-submenu-item {
|
|
@@ -228,75 +260,80 @@ p.nice{
|
|
|
228
260
|
right: 2px;
|
|
229
261
|
}
|
|
230
262
|
|
|
231
|
-
&.active,
|
|
263
|
+
&.active,
|
|
264
|
+
&:hover {
|
|
232
265
|
&:before {
|
|
233
266
|
background: $nice-base-color;
|
|
234
267
|
}
|
|
235
268
|
}
|
|
236
269
|
}
|
|
237
270
|
|
|
238
|
-
.width-200{
|
|
271
|
+
.width-200 {
|
|
239
272
|
width: 200px;
|
|
240
273
|
}
|
|
241
274
|
|
|
242
|
-
.width-300{
|
|
275
|
+
.width-300 {
|
|
243
276
|
width: 300px;
|
|
244
277
|
}
|
|
245
278
|
|
|
246
|
-
.nice-inline{
|
|
279
|
+
.nice-inline {
|
|
247
280
|
margin-right: 10px;
|
|
248
281
|
float: left;
|
|
249
282
|
line-height: 34px;
|
|
250
283
|
}
|
|
251
284
|
|
|
252
|
-
.nice-inline-right{
|
|
285
|
+
.nice-inline-right {
|
|
253
286
|
margin-left: 10px;
|
|
254
287
|
float: right;
|
|
255
288
|
line-height: 34px;
|
|
256
|
-
|
|
289
|
+
|
|
290
|
+
@media (max-width: $screen-md-min) {
|
|
291
|
+
float: left;
|
|
292
|
+
}
|
|
257
293
|
}
|
|
258
294
|
}
|
|
259
295
|
|
|
260
|
-
.nice-label{
|
|
296
|
+
.nice-label {
|
|
261
297
|
display: block;
|
|
262
|
-
|
|
298
|
+
|
|
299
|
+
p.value {
|
|
263
300
|
line-height: 34px;
|
|
264
301
|
}
|
|
265
302
|
}
|
|
266
303
|
|
|
267
|
-
.error-message{
|
|
268
|
-
padding:5px 0px 0px 0px;
|
|
304
|
+
.error-message {
|
|
305
|
+
padding: 5px 0px 0px 0px;
|
|
269
306
|
text-align: right;
|
|
270
307
|
font-size: $font-size-small;
|
|
271
308
|
color: $nice-input-invalid;
|
|
272
309
|
}
|
|
273
310
|
|
|
274
|
-
.feedback-invalid{
|
|
311
|
+
.feedback-invalid {
|
|
275
312
|
color: $nice-input-invalid !important;
|
|
276
313
|
}
|
|
277
314
|
|
|
278
|
-
.feedback-valid{
|
|
315
|
+
.feedback-valid {
|
|
279
316
|
color: $nice-input-valid;
|
|
280
317
|
}
|
|
281
318
|
|
|
282
|
-
.has-warning{
|
|
283
|
-
.form-control{
|
|
319
|
+
.has-warning {
|
|
320
|
+
.form-control {
|
|
284
321
|
border-color: $nice-input-invalid !important;
|
|
285
322
|
}
|
|
286
323
|
|
|
287
|
-
.input-group-addon{
|
|
324
|
+
.input-group-addon {
|
|
288
325
|
background: $nice-input-invalid !important;
|
|
289
326
|
border-color: $nice-input-invalid !important;
|
|
290
327
|
color: white;
|
|
291
328
|
}
|
|
292
329
|
}
|
|
293
330
|
|
|
294
|
-
.has-success{
|
|
295
|
-
.form-control{
|
|
331
|
+
.has-success {
|
|
332
|
+
.form-control {
|
|
296
333
|
border-color: $nice-input-valid;
|
|
297
334
|
}
|
|
298
335
|
|
|
299
|
-
.input-group-addon{
|
|
336
|
+
.input-group-addon {
|
|
300
337
|
background: $nice-input-valid;
|
|
301
338
|
border-color: $nice-input-valid;
|
|
302
339
|
color: white;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Margin and Padding
|
|
2
|
+
$spacer: 1rem !default;
|
|
3
|
+
$spacers: (
|
|
4
|
+
0: 0,
|
|
5
|
+
1: ($spacer * .25),
|
|
6
|
+
2: ($spacer * .5),
|
|
7
|
+
3: $spacer,
|
|
8
|
+
4: ($spacer * 1.5),
|
|
9
|
+
5: ($spacer * 2),
|
|
10
|
+
6: ($spacer * 2.5),
|
|
11
|
+
7: ($spacer * 3),
|
|
12
|
+
8: ($spacer * 4),
|
|
13
|
+
9: ($spacer * 5),
|
|
14
|
+
10: ($spacer * 6),
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
@each $size,
|
|
18
|
+
$length in $spacers {
|
|
19
|
+
.mt-#{$size} {
|
|
20
|
+
margin-top: $length !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.mb-#{$size} {
|
|
24
|
+
margin-bottom: $length !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ml-#{$size} {
|
|
28
|
+
margin-left: $length !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.mr-#{$size} {
|
|
32
|
+
margin-right: $length !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.pt-#{$size} {
|
|
36
|
+
padding-top: $length !important;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.pb-#{$size} {
|
|
40
|
+
padding-bottom: $length !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.pl-#{$size} {
|
|
44
|
+
padding-left: $length !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.pr-#{$size} {
|
|
48
|
+
padding-right: $length !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.w-#{$size} {
|
|
52
|
+
width: $length !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.w-100 {
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
package/src/styles/_nice.scss
CHANGED
|
@@ -6,16 +6,39 @@ $nice-font-color: #404040 !default;
|
|
|
6
6
|
|
|
7
7
|
// ---------- Colors ----------
|
|
8
8
|
$nice-base-color: #3189ff !default;
|
|
9
|
+
$nice-base-color-lighter: lighten($nice-base-color, 10%) !default;
|
|
10
|
+
$nice-base-color-darker: darken($nice-base-color, 10%) !default;
|
|
11
|
+
$nice-base-color-plain: #e3eafd !default;
|
|
12
|
+
|
|
13
|
+
$nice-secondary-color: #efefef !default;
|
|
14
|
+
$nice-secondary-color-lighter: lighten($nice-secondary-color, 2%) !default;
|
|
15
|
+
$nice-secondary-color-darker: darken($nice-secondary-color, 10%) !default;
|
|
16
|
+
|
|
9
17
|
$nice-danger-color: #f22e28 !default;
|
|
18
|
+
$nice-danger-color-lighter: lighten($nice-danger-color, 10%) !default;
|
|
19
|
+
$nice-danger-color-darker: darken($nice-danger-color, 10%) !default;
|
|
20
|
+
$nice-danger-color-plain: #ffe4e4 !default;
|
|
21
|
+
|
|
10
22
|
$nice-success-color: #49AE50 !default;
|
|
23
|
+
$nice-success-color-lighter: lighten($nice-success-color, 10%) !default;
|
|
24
|
+
$nice-success-color-darker: darken($nice-success-color, 10%) !default;
|
|
25
|
+
$nice-success-color-plain: #e2efe3 !default;
|
|
26
|
+
|
|
11
27
|
$nice-info-color: #31b0d5 !default;
|
|
28
|
+
$nice-info-color-lighter: lighten($nice-info-color, 10%) !default;
|
|
29
|
+
$nice-info-color-darker: darken($nice-info-color, 10%) !default;
|
|
30
|
+
$nice-info-color-plain: #d9f3f7 !default;
|
|
31
|
+
|
|
12
32
|
$nice-warning-color: #ffc107 !default;
|
|
33
|
+
$nice-warning-color-lighter: lighten($nice-warning-color, 10%) !default;
|
|
34
|
+
$nice-warning-color-darker: darken($nice-warning-color, 10%) !default;
|
|
35
|
+
$nice-warning-color-plain: #fff9e8 !default;
|
|
13
36
|
|
|
14
37
|
|
|
15
38
|
// ---------- Border ----------
|
|
16
39
|
$nice-border-color: #cbd4d9 !default;
|
|
17
40
|
$nice-border-radius: 3px !default;
|
|
18
|
-
$nice-border-radius-small: $nice-border-radius
|
|
41
|
+
$nice-border-radius-small: $nice-border-radius !default;
|
|
19
42
|
|
|
20
43
|
$border-radius-base: 3px;
|
|
21
44
|
|
|
@@ -28,7 +51,7 @@ $nice-disabled-bg: white !default;
|
|
|
28
51
|
|
|
29
52
|
// ---------- Nice global settings ----------
|
|
30
53
|
$nice-focus-bg: white !default;
|
|
31
|
-
$nice-focus-border: $nice-base-color
|
|
54
|
+
$nice-focus-border: $nice-base-color !default;
|
|
32
55
|
$nice-focus-color: #474F52 !default;
|
|
33
56
|
|
|
34
57
|
$nice-background: white !default;
|
|
@@ -39,64 +62,64 @@ $nice-navbar-height: 50px;
|
|
|
39
62
|
|
|
40
63
|
|
|
41
64
|
// ---------- Input colors override ----------
|
|
42
|
-
$nice-label-color: $nice-font-color
|
|
65
|
+
$nice-label-color: $nice-font-color !default;
|
|
43
66
|
$nice-input-placeholder-color: #999999 !default;
|
|
44
|
-
$nice-input-bg: $nice-background
|
|
67
|
+
$nice-input-bg: $nice-background !default;
|
|
45
68
|
$nice-input-disabled-bg: white !default;
|
|
46
|
-
$nice-input-disabled-border: $nice-disabled-color
|
|
47
|
-
$nice-input-valid: $nice-base-color
|
|
48
|
-
$nice-input-invalid: $nice-danger-color
|
|
69
|
+
$nice-input-disabled-border: $nice-disabled-color !default;
|
|
70
|
+
$nice-input-valid: $nice-base-color !default;
|
|
71
|
+
$nice-input-invalid: $nice-danger-color !default;
|
|
49
72
|
$nice-addon-bg: #f3f3f3 !default;
|
|
50
73
|
|
|
51
74
|
|
|
52
75
|
// ---------- Dropdown colors override ----------
|
|
53
|
-
$nice-dropdown-bg: $nice-background
|
|
54
|
-
$nice-dropdown-border: $nice-border-color
|
|
55
|
-
$nice-dropdown-color: $nice-font-color
|
|
76
|
+
$nice-dropdown-bg: $nice-background !default;
|
|
77
|
+
$nice-dropdown-border: $nice-border-color !default;
|
|
78
|
+
$nice-dropdown-color: $nice-font-color !default;
|
|
56
79
|
|
|
57
80
|
$nice-dropdown-hover-bg: white !default;
|
|
58
|
-
$nice-dropdown-hover-border: $nice-border-color
|
|
81
|
+
$nice-dropdown-hover-border: $nice-border-color !default;
|
|
59
82
|
$nice-dropdown-hover-color: #474F52 !default;
|
|
60
83
|
|
|
61
|
-
$nice-dropdown-disabled-bg: $nice-disabled-bg
|
|
62
|
-
$nice-dropdown-disabled-border: $nice-disabled-color
|
|
84
|
+
$nice-dropdown-disabled-bg: $nice-disabled-bg !default;
|
|
85
|
+
$nice-dropdown-disabled-border: $nice-disabled-color !default;
|
|
63
86
|
|
|
64
87
|
|
|
65
88
|
// ---------- Yes no colors override ----------
|
|
66
|
-
$nice-yesno-bg: $nice-background
|
|
67
|
-
$nice-yesno-slider-bg: $nice-base-color
|
|
89
|
+
$nice-yesno-bg: $nice-background !default;
|
|
90
|
+
$nice-yesno-slider-bg: $nice-base-color !default;
|
|
68
91
|
|
|
69
|
-
$nice-yesno-disabled-color: $nice-disabled-color
|
|
70
|
-
$nice-yesno-disabled-bg: $nice-disabled-bg
|
|
71
|
-
$nice-yesno-disabled-border: $nice-disabled-border
|
|
92
|
+
$nice-yesno-disabled-color: $nice-disabled-color !default;
|
|
93
|
+
$nice-yesno-disabled-bg: $nice-disabled-bg !default;
|
|
94
|
+
$nice-yesno-disabled-border: $nice-disabled-border !default;
|
|
72
95
|
|
|
73
96
|
|
|
74
97
|
// ---------- Choice colors override ----------
|
|
75
|
-
$nice-choice-bg: $nice-background
|
|
76
|
-
$nice-choice-hover-border: $nice-base-color
|
|
77
|
-
$nice-choice-selected-bg: $nice-base-color
|
|
98
|
+
$nice-choice-bg: $nice-background !default;
|
|
99
|
+
$nice-choice-hover-border: $nice-base-color !default;
|
|
100
|
+
$nice-choice-selected-bg: $nice-base-color !default;
|
|
78
101
|
$nice-choice-selected-color: white !default;
|
|
79
102
|
|
|
80
103
|
|
|
81
104
|
// ---------- Loader ----------
|
|
82
|
-
$nice-loader-color: $nice-base-color
|
|
105
|
+
$nice-loader-color: $nice-base-color !default;
|
|
83
106
|
|
|
84
107
|
|
|
85
108
|
// ---------- Notifications ----------
|
|
86
109
|
$nice-notification-color: white !default;
|
|
87
|
-
$nice-notification-bg: $nice-base-color
|
|
110
|
+
$nice-notification-bg: $nice-base-color !default;
|
|
88
111
|
|
|
89
|
-
$nice-notification-warning-color: $nice-notification-color
|
|
90
|
-
$nice-notification-warning-bg: $nice-warning-color
|
|
112
|
+
$nice-notification-warning-color: $nice-notification-color !default;
|
|
113
|
+
$nice-notification-warning-bg: $nice-warning-color !default;
|
|
91
114
|
|
|
92
|
-
$nice-notification-danger-color: $nice-notification-color
|
|
93
|
-
$nice-notification-danger-color-bg: $nice-danger-color
|
|
115
|
+
$nice-notification-danger-color: $nice-notification-color !default;
|
|
116
|
+
$nice-notification-danger-color-bg: $nice-danger-color !default;
|
|
94
117
|
|
|
95
|
-
$nice-notification-success-color: $nice-notification-color
|
|
96
|
-
$nice-notification-success-bg: $nice-success-color
|
|
118
|
+
$nice-notification-success-color: $nice-notification-color !default;
|
|
119
|
+
$nice-notification-success-bg: $nice-success-color !default;
|
|
97
120
|
|
|
98
|
-
$nice-notification-info-color: $nice-notification-color
|
|
99
|
-
$nice-notification-info-bg: $nice-info-color
|
|
121
|
+
$nice-notification-info-color: $nice-notification-color !default;
|
|
122
|
+
$nice-notification-info-bg: $nice-info-color !default;
|
|
100
123
|
|
|
101
124
|
|
|
102
125
|
// ---------- Submenu ----------
|
|
@@ -106,4 +129,57 @@ $nice-submenu-gray-color: #b0bec5 !default;
|
|
|
106
129
|
|
|
107
130
|
// ---------- Table ----------
|
|
108
131
|
$nice-table-bg-hover: #f5f5f5 !default;
|
|
109
|
-
$nice-table-bg-active: #f5f5f5 !default;
|
|
132
|
+
$nice-table-bg-active: #f5f5f5 !default;
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:root {
|
|
136
|
+
// ---------- Fonts ----------
|
|
137
|
+
--nice-font-family: #{$nice-font-family};
|
|
138
|
+
--nice-font-weight: #{$nice-font-weight};
|
|
139
|
+
--nice-font-color: #{$nice-font-color};
|
|
140
|
+
|
|
141
|
+
// ---------- Colors ----------
|
|
142
|
+
--nice-primary-color: #{$nice-base-color};
|
|
143
|
+
--nice-primary-color-lighter: #{$nice-base-color-lighter};
|
|
144
|
+
--nice-primary-color-darker: #{$nice-base-color-darker};
|
|
145
|
+
--nice-primary-color-plain: #{$nice-base-color-plain};
|
|
146
|
+
|
|
147
|
+
--secondary-font-color: #{$nice-font-color};
|
|
148
|
+
--secondary-color: #{$nice-secondary-color};
|
|
149
|
+
--secondary-color-lighter: #{$nice-secondary-color-lighter};
|
|
150
|
+
--secondary-color-darker: #{$nice-secondary-color-darker};
|
|
151
|
+
|
|
152
|
+
--nice-secondary-color: #{$nice-secondary-color};
|
|
153
|
+
--nice-secondary-color-lighter: #{$nice-secondary-color-lighter};
|
|
154
|
+
--nice-secondary-color-darker: #{$nice-secondary-color-darker};
|
|
155
|
+
|
|
156
|
+
--nice-danger-color: #{$nice-danger-color};
|
|
157
|
+
--nice-danger-color-lighter: #{$nice-danger-color-lighter};
|
|
158
|
+
--nice-danger-color-darker: #{$nice-danger-color-darker};
|
|
159
|
+
--nice-danger-color-plain: #{$nice-danger-color-plain};
|
|
160
|
+
|
|
161
|
+
--nice-success-color: #{$nice-success-color};
|
|
162
|
+
--nice-success-color-lighter: #{$nice-success-color-lighter};
|
|
163
|
+
--nice-success-color-darker: #{$nice-success-color-darker};
|
|
164
|
+
--nice-success-color-plain: #{$nice-success-color-plain};
|
|
165
|
+
|
|
166
|
+
--nice-info-color: #{$nice-info-color};
|
|
167
|
+
--nice-info-color-lighter: #{$nice-info-color-lighter};
|
|
168
|
+
--nice-info-color-darker: #{$nice-info-color-darker};
|
|
169
|
+
--nice-info-color-plain: #{$nice-info-color-plain};
|
|
170
|
+
|
|
171
|
+
--nice-warning-color: #{$nice-warning-color};
|
|
172
|
+
--nice-warning-color-lighter: #{$nice-warning-color-lighter};
|
|
173
|
+
--nice-warning-color-darker: #{$nice-warning-color-darker};
|
|
174
|
+
--nice-warning-color-plain: #{$nice-warning-color-plain};
|
|
175
|
+
|
|
176
|
+
// ---------- Border ----------
|
|
177
|
+
--nice-border-color: #{$nice-border-color};
|
|
178
|
+
--nice-border-radius: #{$nice-border-radius};
|
|
179
|
+
--nice-border-radius-small: #{$nice-border-radius-small};
|
|
180
|
+
|
|
181
|
+
// ---------- Disabled ----------
|
|
182
|
+
--nice-disabled-color: #{$nice-disabled-color};
|
|
183
|
+
--nice-disabled-border: #{$nice-disabled-border};
|
|
184
|
+
--nice-disabled-bg: #{$nice-disabled-bg};
|
|
185
|
+
}
|