nice-elements 1.4.11 → 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 +28 -0
- package/README.md +48 -1
- package/bower.json +1 -1
- package/dist/nice.js +1262 -106
- package/dist/nice.min.js +1 -1
- package/dist/style.css +989 -66
- package/dist/style.css.map +7 -2
- 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-icon/nice-icon.html +3 -0
- package/src/components/nice-icon/nice-icon.js +18 -0
- package/src/components/nice-icon/nice-icon.scss +6 -0
- 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.html +7 -0
- package/src/components/nice-popup/nice-popup.js +123 -0
- package/src/components/nice-popup/nice-popup.scss +44 -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-svgs/nice-svgs.html +1153 -0
- package/src/components/nice-svgs/nice-svgs.js +16 -0
- package/src/components/nice-toast/nice-toast.html +3 -0
- package/src/components/nice-toast/nice-toast.js +57 -0
- package/src/components/nice-toast/nice-toast.scss +75 -0
- package/src/components/nice-tooltip/nice-tooltip.js +9 -6
- 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 +6 -1
- package/src/styles/_variables.scss +81 -3
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
// -------------------------------- Btn --------------------------------
|
|
2
|
+
.btn {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
line-height: 1;
|
|
7
|
+
padding: 6px 12px;
|
|
8
|
+
min-height: 34px;
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
11
|
+
&:hover,
|
|
12
|
+
&:focus {
|
|
13
|
+
color: white;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
svg,
|
|
17
|
+
img {
|
|
18
|
+
width: 15px;
|
|
19
|
+
height: 15px;
|
|
20
|
+
fill: currentColor;
|
|
21
|
+
flex-shrink: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
svg+span,
|
|
25
|
+
nice-icon+span,
|
|
26
|
+
span+svg,
|
|
27
|
+
span+nice-icon {
|
|
28
|
+
margin-left: 0.5rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.focus,
|
|
32
|
+
&.active.focus,
|
|
33
|
+
&.active:focus,
|
|
34
|
+
&:active.focus,
|
|
35
|
+
&:active:focus,
|
|
36
|
+
&:focus {
|
|
37
|
+
@extend .nice-focus;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
// -------------------------------- Btn primary --------------------------------
|
|
43
|
+
.btn-primary {
|
|
44
|
+
background: var(--nice-primary-color);
|
|
45
|
+
border-color: var(--nice-primary-color-darker);
|
|
46
|
+
outline-color: var(--nice-primary-color);
|
|
47
|
+
color: white;
|
|
48
|
+
|
|
49
|
+
&:active,
|
|
50
|
+
&.active {
|
|
51
|
+
background: var(--nice-primary-color-lighter);
|
|
52
|
+
border-color: var(--nice-primary-color-lighter);
|
|
53
|
+
|
|
54
|
+
&:focus,
|
|
55
|
+
&:hover {
|
|
56
|
+
background: var(--nice-primary-color-lighter);
|
|
57
|
+
border-color: var(--nice-primary-color-lighter);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:focus,
|
|
62
|
+
&:hover {
|
|
63
|
+
background: var(--nice-primary-color-darker);
|
|
64
|
+
border-color: var(--nice-primary-color-darker);
|
|
65
|
+
outline-color: var(--nice-primary-color);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.btn-primary-plain {
|
|
70
|
+
@extend .btn-primary;
|
|
71
|
+
color: var(--nice-primary-color);
|
|
72
|
+
background: var(--nice-primary-color-plain);
|
|
73
|
+
border-color: var(--nice-primary-color-plain);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.btn-primary-naked {
|
|
77
|
+
@extend .btn-primary;
|
|
78
|
+
color: var(--nice-primary-color);
|
|
79
|
+
background: transparent;
|
|
80
|
+
border-color: transparent;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
// -------------------------- Default --------------------------
|
|
85
|
+
.btn-default {
|
|
86
|
+
color: var(--nice-font-color);
|
|
87
|
+
background: var(--nice-secondary-color);
|
|
88
|
+
border-color: var(--nice-secondary-color);
|
|
89
|
+
|
|
90
|
+
&:active,
|
|
91
|
+
&.active,
|
|
92
|
+
&:hover:active,
|
|
93
|
+
&:hover.active {
|
|
94
|
+
background: var(--nice-secondary-color-lighter);
|
|
95
|
+
border-color: var(--nice-secondary-color-lighter);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&:focus,
|
|
99
|
+
&:hover {
|
|
100
|
+
color: var(--nice-font-color);
|
|
101
|
+
background: var(--nice-secondary-color-darker);
|
|
102
|
+
border-color: var(--nice-secondary-color-darker);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.btn-default-plain {
|
|
107
|
+
@extend .btn-default;
|
|
108
|
+
color: var(--nice-font-color);
|
|
109
|
+
background: var(--nice-secondary-color);
|
|
110
|
+
border-color: var(--nice-secondary-color);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.btn-default-naked {
|
|
114
|
+
@extend .btn-default;
|
|
115
|
+
color: var(--font-card);
|
|
116
|
+
background: transparent;
|
|
117
|
+
border-color: transparent;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// -------------------------- Secondary --------------------------
|
|
121
|
+
.btn-secondary {
|
|
122
|
+
color: var(--nice-secondary-font-color);
|
|
123
|
+
background: var(--nice-secondary-color);
|
|
124
|
+
border-color: var(--nice-border-color);
|
|
125
|
+
outline-color: var(--nice-secondary-color) !important;
|
|
126
|
+
|
|
127
|
+
&:active,
|
|
128
|
+
&.active,
|
|
129
|
+
&:hover:active {
|
|
130
|
+
background: var(--nice-secondary-color-lighter);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&:focus,
|
|
134
|
+
&:hover {
|
|
135
|
+
color: var(--nice-secondary-font-color);
|
|
136
|
+
background: var(--nice-secondary-color-darker);
|
|
137
|
+
border-color: var(--nice-secondary-color-darker);
|
|
138
|
+
outline-color: var(--nice-secondary-color);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.btn-secondary-plain {
|
|
143
|
+
@extend .btn-secondary;
|
|
144
|
+
color: var(--nice-secondary-font-color);
|
|
145
|
+
background: var(--nice-secondary-color);
|
|
146
|
+
border-color: var(--nice-secondary-color);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.btn-secondary-naked {
|
|
150
|
+
@extend .btn-secondary;
|
|
151
|
+
color: var(--nice-secondary-font-color);
|
|
152
|
+
background: transparent;
|
|
153
|
+
border-color: transparent;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// -------------------------- Success --------------------------
|
|
157
|
+
.btn-success {
|
|
158
|
+
color: white;
|
|
159
|
+
background: var(--nice-success-color);
|
|
160
|
+
border-color: var(--nice-success-color);
|
|
161
|
+
outline-color: var(--nice-success-color) !important;
|
|
162
|
+
|
|
163
|
+
&:active,
|
|
164
|
+
&.active,
|
|
165
|
+
&:hover:active {
|
|
166
|
+
background: var(--nice-success-color-lighter);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&:focus,
|
|
170
|
+
&:hover {
|
|
171
|
+
background: var(--nice-success-color-darker);
|
|
172
|
+
border-color: var(--nice-success-color-darker);
|
|
173
|
+
outline-color: var(--nice-success-color);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.btn-success-plain {
|
|
178
|
+
@extend .btn-success;
|
|
179
|
+
color: var(--nice-success-color);
|
|
180
|
+
background: var(--nice-success-color-plain);
|
|
181
|
+
border-color: var(--nice-success-color-plain);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.btn-success-naked {
|
|
185
|
+
@extend .btn-success;
|
|
186
|
+
color: var(--nice-success-color);
|
|
187
|
+
background: transparent;
|
|
188
|
+
border-color: transparent;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
// -------------------------- Danger --------------------------
|
|
193
|
+
.btn-danger {
|
|
194
|
+
color: white;
|
|
195
|
+
background: var(--nice-danger-color);
|
|
196
|
+
border-color: var(--nice-danger-color);
|
|
197
|
+
outline-color: var(--nice-danger-color) !important;
|
|
198
|
+
|
|
199
|
+
&:active,
|
|
200
|
+
&.active,
|
|
201
|
+
&:hover:active {
|
|
202
|
+
background: var(--nice-danger-color-lighter);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&:focus,
|
|
206
|
+
&:hover {
|
|
207
|
+
background: var(--nice-danger-color-darker);
|
|
208
|
+
border-color: var(--nice-danger-color-darker);
|
|
209
|
+
outline-color: var(--nice-danger-color);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.btn-danger-plain {
|
|
214
|
+
@extend .btn-danger;
|
|
215
|
+
color: var(--nice-danger-color);
|
|
216
|
+
background: var(--nice-danger-color-plain);
|
|
217
|
+
border-color: var(--nice-danger-color-plain);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.btn-danger-naked {
|
|
221
|
+
@extend .btn-danger;
|
|
222
|
+
color: var(--nice-danger-color);
|
|
223
|
+
background: transparent;
|
|
224
|
+
border-color: transparent;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
// -------------------------- Info --------------------------
|
|
229
|
+
.btn-info {
|
|
230
|
+
color: white;
|
|
231
|
+
background: var(--nice-info-color);
|
|
232
|
+
border-color: var(--nice-info-color);
|
|
233
|
+
outline-color: var(--nice-info-color) !important;
|
|
234
|
+
|
|
235
|
+
&:active,
|
|
236
|
+
&.active,
|
|
237
|
+
&:hover:active {
|
|
238
|
+
background: var(--nice-info-color-lighter);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&:focus,
|
|
242
|
+
&:hover {
|
|
243
|
+
background: var(--nice-info-color-darker);
|
|
244
|
+
border-color: var(--nice-info-color-darker);
|
|
245
|
+
outline-color: var(--nice-info-color);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.btn-info-plain {
|
|
250
|
+
@extend .btn-info;
|
|
251
|
+
color: var(--nice-info-color);
|
|
252
|
+
background: var(--nice-info-color-plain);
|
|
253
|
+
border-color: var(--nice-info-color-plain);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.btn-info-naked {
|
|
257
|
+
@extend .btn-info;
|
|
258
|
+
color: var(--nice-info-color);
|
|
259
|
+
background: transparent;
|
|
260
|
+
border-color: transparent;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
// -------------------------- Warning --------------------------
|
|
265
|
+
.btn-warning {
|
|
266
|
+
color: white;
|
|
267
|
+
background: var(--nice-warning-color);
|
|
268
|
+
border-color: var(--nice-warning-color);
|
|
269
|
+
outline-color: var(--nice-warning-color) !important;
|
|
270
|
+
|
|
271
|
+
&:active,
|
|
272
|
+
&.active,
|
|
273
|
+
&:hover:active {
|
|
274
|
+
background: var(--nice-warning-color-lighter);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&:focus,
|
|
278
|
+
&:hover {
|
|
279
|
+
background: var(--nice-warning-color-darker);
|
|
280
|
+
border-color: var(--nice-warning-color-darker);
|
|
281
|
+
outline-color: var(--nice-warning-color);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.btn-warning-plain {
|
|
286
|
+
@extend .btn-warning;
|
|
287
|
+
color: var(--nice-warning-color);
|
|
288
|
+
background: var(--nice-warning-color-plain);
|
|
289
|
+
border-color: var(--nice-warning-color-plain);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.btn-warning-naked {
|
|
293
|
+
@extend .btn-warning;
|
|
294
|
+
color: var(--nice-warning-color);
|
|
295
|
+
background: transparent;
|
|
296
|
+
border-color: transparent;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
// -------------------------------- Btn big --------------------------------
|
|
301
|
+
.btn-big,
|
|
302
|
+
.btn-lg {
|
|
303
|
+
font-size: 1.2em;
|
|
304
|
+
padding: 0.2rem 1.5rem;
|
|
305
|
+
min-height: 42px;
|
|
306
|
+
|
|
307
|
+
svg {
|
|
308
|
+
width: 24px;
|
|
309
|
+
height: 24px;
|
|
310
|
+
fill: currentColor;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
// -------------------------------- Btn medium --------------------------------
|
|
316
|
+
.btn-medium {
|
|
317
|
+
height: 40px !important;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
// -------------------------------- Btn sm --------------------------------
|
|
321
|
+
.btn-sm {
|
|
322
|
+
min-height: 30px !important;
|
|
323
|
+
padding: 4px 10px;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// -------------------------------- Btn icon --------------------------------
|
|
327
|
+
.btn-icon {
|
|
328
|
+
font-size: 1.2em !important;
|
|
329
|
+
|
|
330
|
+
svg,
|
|
331
|
+
img {
|
|
332
|
+
width: 24px;
|
|
333
|
+
height: 24px;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
@@ -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
|
+
}
|