nice-elements 1.9.11 → 1.9.13
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/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +129 -128
- package/dist/nice.min.js +1 -1
- package/dist/style.css +5225 -376
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-calendar/nice-calendar.html +3 -3
- package/src/components/nice-checkbox/nice-checkbox.html +4 -4
- package/src/components/nice-checkbox/nice-checkbox.js +1 -0
- package/src/components/nice-checkbox/nice-checkbox.scss +25 -19
- package/src/components/nice-choice/nice-choice.html +1 -1
- package/src/components/nice-date/nice-date.html +5 -5
- package/src/components/nice-date-input/nice-date-input.html +2 -2
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +1 -1
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +1 -1
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +1 -1
- package/src/components/nice-dropdown/nice-dropdown.html +7 -7
- package/src/components/nice-dropdown-old/nice-dropdown-old.html +1 -1
- package/src/components/nice-input/nice-input.html +2 -2
- package/src/components/nice-number/nice-number.html +2 -2
- package/src/components/nice-quantity/nice-quantity.html +2 -2
- package/src/components/nice-search/nice-search.html +2 -2
- package/src/components/nice-search2/nice-search2.html +1 -1
- package/src/components/nice-time-picker/nice-time-picker.html +1 -1
- package/src/components/nice-toggle/nice-toggle.html +1 -1
- package/src/components/nice-wrapper/nice-wrapper.html +1 -1
- package/src/components/nice-yesno/nice-yesno.html +3 -3
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +2 -2
- package/src/services/nice-service.js +1 -1
- package/src/styles/_nice-spacing.scss +216 -22
|
@@ -14,77 +14,271 @@ $spacers: (
|
|
|
14
14
|
10: ($spacer * 6),
|
|
15
15
|
);
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
$stops: (
|
|
18
|
+
'480px': 'xs',
|
|
19
|
+
'768px': 'sm',
|
|
20
|
+
'992px': 'md',
|
|
21
|
+
'1200px': 'lg',
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
@each $size, $length in $spacers {
|
|
25
|
+
.m-#{$size} {
|
|
26
|
+
margin: $length !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.mx-#{$size} {
|
|
20
30
|
margin-top: $length !important;
|
|
31
|
+
margin-bottom: $length !important;
|
|
21
32
|
}
|
|
22
33
|
|
|
23
|
-
|
|
24
|
-
margin-
|
|
34
|
+
.my-#{$size} {
|
|
35
|
+
margin-left: $length !important;
|
|
36
|
+
margin-right: $length !important;
|
|
25
37
|
}
|
|
26
38
|
|
|
27
|
-
.
|
|
28
|
-
margin-
|
|
39
|
+
.mt-#{$size} {
|
|
40
|
+
margin-top: $length !important;
|
|
29
41
|
}
|
|
30
42
|
|
|
31
|
-
|
|
32
|
-
margin-bottom:
|
|
43
|
+
.mb-#{$size} {
|
|
44
|
+
margin-bottom: $length !important;
|
|
33
45
|
}
|
|
34
46
|
|
|
35
47
|
.ml-#{$size} {
|
|
36
48
|
margin-left: $length !important;
|
|
37
49
|
}
|
|
38
50
|
|
|
39
|
-
|
|
51
|
+
.mr-#{$size} {
|
|
52
|
+
margin-right: $length !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.-m-#{$size} {
|
|
56
|
+
margin: -$length !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.-mx-#{$size} {
|
|
60
|
+
margin-top: -$length !important;
|
|
61
|
+
margin-bottom: -$length !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.-my-#{$size} {
|
|
40
65
|
margin-left: -$length !important;
|
|
66
|
+
margin-right: -$length !important;
|
|
41
67
|
}
|
|
42
68
|
|
|
43
|
-
|
|
44
|
-
margin-
|
|
69
|
+
.-mt-#{$size} {
|
|
70
|
+
margin-top: -$length !important;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.-mb-#{$size} {
|
|
74
|
+
margin-bottom: -$length !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.-ml-#{$size} {
|
|
78
|
+
margin-left: -$length !important;
|
|
45
79
|
}
|
|
46
80
|
|
|
47
81
|
.-mr-#{$size} {
|
|
48
82
|
margin-right: -$length !important;
|
|
49
83
|
}
|
|
50
84
|
|
|
51
|
-
.
|
|
85
|
+
.p-#{$size} {
|
|
86
|
+
padding: $length !important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.px-#{$size} {
|
|
52
90
|
padding-top: $length !important;
|
|
91
|
+
padding-bottom: $length !important;
|
|
53
92
|
}
|
|
54
93
|
|
|
55
|
-
|
|
56
|
-
padding-
|
|
94
|
+
.py-#{$size} {
|
|
95
|
+
padding-left: $length !important;
|
|
96
|
+
padding-right: $length !important;
|
|
57
97
|
}
|
|
58
98
|
|
|
59
|
-
.
|
|
60
|
-
padding-
|
|
99
|
+
.pt-#{$size} {
|
|
100
|
+
padding-top: $length !important;
|
|
61
101
|
}
|
|
62
102
|
|
|
63
|
-
|
|
64
|
-
padding-bottom:
|
|
103
|
+
.pb-#{$size} {
|
|
104
|
+
padding-bottom: $length !important;
|
|
65
105
|
}
|
|
66
106
|
|
|
67
107
|
.pl-#{$size} {
|
|
68
108
|
padding-left: $length !important;
|
|
69
109
|
}
|
|
70
110
|
|
|
71
|
-
|
|
111
|
+
.pr-#{$size} {
|
|
112
|
+
padding-right: $length !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.-p-#{$size} {
|
|
116
|
+
padding: -$length !important;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.-px-#{$size} {
|
|
120
|
+
padding-top: -$length !important;
|
|
121
|
+
padding-bottom: -$length !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.-py-#{$size} {
|
|
72
125
|
padding-left: -$length !important;
|
|
126
|
+
padding-right: -$length !important;
|
|
73
127
|
}
|
|
74
128
|
|
|
75
|
-
|
|
76
|
-
padding-
|
|
129
|
+
.-pt-#{$size} {
|
|
130
|
+
padding-top: -$length !important;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.-pb-#{$size} {
|
|
134
|
+
padding-bottom: -$length !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.-pl-#{$size} {
|
|
138
|
+
padding-left: -$length !important;
|
|
77
139
|
}
|
|
78
140
|
|
|
79
141
|
.-pr-#{$size} {
|
|
80
142
|
padding-right: -$length !important;
|
|
81
143
|
}
|
|
82
144
|
|
|
145
|
+
@each $pixels, $stop in $stops {
|
|
146
|
+
@media (max-width: $pixels) {
|
|
147
|
+
.m-#{$stop}-#{$size} {
|
|
148
|
+
margin: $length !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.mx-#{$stop}-#{$size} {
|
|
152
|
+
margin-top: $length !important;
|
|
153
|
+
margin-bottom: $length !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.my-#{$stop}-#{$size} {
|
|
157
|
+
margin-left: $length !important;
|
|
158
|
+
margin-right: $length !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.mt-#{$stop}-#{$size} {
|
|
162
|
+
margin-top: $length !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.mb-#{$stop}-#{$size} {
|
|
166
|
+
margin-bottom: $length !important;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.ml-#{$stop}-#{$size} {
|
|
170
|
+
margin-left: $length !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.mr-#{$stop}-#{$size} {
|
|
174
|
+
margin-right: $length !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.-m-#{$stop}-#{$size} {
|
|
178
|
+
margin: -$length !important;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.-mx-#{$stop}-#{$size} {
|
|
182
|
+
margin-top: -$length !important;
|
|
183
|
+
margin-bottom: -$length !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.-my-#{$stop}-#{$size} {
|
|
187
|
+
margin-left: -$length !important;
|
|
188
|
+
margin-right: -$length !important;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.-mt-#{$stop}-#{$size} {
|
|
192
|
+
margin-top: -$length !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.-mb-#{$stop}-#{$size} {
|
|
196
|
+
margin-bottom: -$length !important;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.-ml-#{$stop}-#{$size} {
|
|
200
|
+
margin-left: -$length !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.-mr-#{$stop}-#{$size} {
|
|
204
|
+
margin-right: -$length !important;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.p-#{$stop}-#{$size} {
|
|
208
|
+
padding: $length !important;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.px-#{$stop}-#{$size} {
|
|
212
|
+
padding-top: $length !important;
|
|
213
|
+
padding-bottom: $length !important;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.py-#{$stop}-#{$size} {
|
|
217
|
+
padding-left: $length !important;
|
|
218
|
+
padding-right: $length !important;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.pt-#{$stop}-#{$size} {
|
|
222
|
+
padding-top: $length !important;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.pb-#{$stop}-#{$size} {
|
|
226
|
+
padding-bottom: $length !important;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.pl-#{$stop}-#{$size} {
|
|
230
|
+
padding-left: $length !important;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.pr-#{$stop}-#{$size} {
|
|
234
|
+
padding-right: $length !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.-p-#{$stop}-#{$size} {
|
|
238
|
+
padding: -$length !important;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.-px-#{$stop}-#{$size} {
|
|
242
|
+
padding-top: -$length !important;
|
|
243
|
+
padding-bottom: -$length !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.-py-#{$stop}-#{$size} {
|
|
247
|
+
padding-left: -$length !important;
|
|
248
|
+
padding-right: -$length !important;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.-pt-#{$stop}-#{$size} {
|
|
252
|
+
padding-top: -$length !important;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.-pb-#{$stop}-#{$size} {
|
|
256
|
+
padding-bottom: -$length !important;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.-pl-#{$stop}-#{$size} {
|
|
260
|
+
padding-left: -$length !important;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.-pr-#{$stop}-#{$size} {
|
|
264
|
+
padding-right: -$length !important;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
83
269
|
.w-#{$size} {
|
|
84
270
|
width: $length !important;
|
|
85
271
|
}
|
|
272
|
+
|
|
273
|
+
.h-#{$size} {
|
|
274
|
+
height: $length !important;
|
|
275
|
+
}
|
|
86
276
|
}
|
|
87
277
|
|
|
88
278
|
.w-100 {
|
|
89
279
|
width: 100%;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.h-100 {
|
|
283
|
+
height: 100%;
|
|
90
284
|
}
|