nice-elements 1.11.1 → 1.11.2
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 +18 -18
- package/CHANGELOG.md +515 -510
- package/LICENSE.md +21 -21
- package/README.md +98 -98
- package/bower.json +10 -10
- package/dist/nice.js +8357 -8387
- package/dist/nice.min.js +1 -1
- package/dist/style.css +14 -11
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +8 -8
- package/eslint.config.mjs +32 -32
- package/package.json +45 -45
- package/src/components/nice-button/nice-button.html +4 -4
- package/src/components/nice-button/nice-button.js +41 -41
- package/src/components/nice-button/nice-button.scss +16 -16
- package/src/components/nice-button-toggle/nice-button-toggle.html +9 -9
- package/src/components/nice-button-toggle/nice-button-toggle.js +23 -23
- package/src/components/nice-button-toggle/nice-button-toggle.scss +2 -2
- package/src/components/nice-calendar/nice-calendar.html +91 -91
- package/src/components/nice-calendar/nice-calendar.js +346 -336
- package/src/components/nice-calendar/nice-calendar.scss +288 -285
- package/src/components/nice-checkbox/nice-checkbox.html +5 -5
- package/src/components/nice-checkbox/nice-checkbox.js +34 -34
- package/src/components/nice-checkbox/nice-checkbox.scss +91 -91
- package/src/components/nice-choice/nice-choice.html +18 -18
- package/src/components/nice-choice/nice-choice.js +212 -212
- package/src/components/nice-choice/nice-choice.scss +110 -110
- package/src/components/nice-click-outside/nice-click-outside.js +105 -105
- package/src/components/nice-comment/nice-comment.html +10 -10
- package/src/components/nice-comment/nice-comment.js +71 -71
- package/src/components/nice-comment/nice-comment.scss +39 -39
- package/src/components/nice-date/nice-date.html +79 -79
- package/src/components/nice-date/nice-date.js +333 -333
- package/src/components/nice-date/nice-date.scss +305 -305
- package/src/components/nice-date-input/nice-date-input.html +41 -41
- package/src/components/nice-date-input/nice-date-input.js +111 -111
- package/src/components/nice-date-input/nice-date-input.scss +45 -45
- package/src/components/nice-date-range/nice-date-range.html +15 -15
- package/src/components/nice-date-range/nice-date-range.js +78 -78
- package/src/components/nice-date-range/nice-date-range.scss +390 -390
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +29 -29
- package/src/components/nice-datetime-picker/nice-datetime-picker.js +89 -89
- package/src/components/nice-datetime-picker/nice-datetime-picker.scss +428 -428
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +55 -55
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +248 -248
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.scss +73 -73
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +44 -44
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +175 -175
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +127 -127
- package/src/components/nice-dropdown/nice-dropdown.html +61 -61
- package/src/components/nice-dropdown/nice-dropdown.js +517 -517
- package/src/components/nice-dropdown/nice-dropdown.scss +262 -262
- package/src/components/nice-dropdown-date/nice-dropdown-date.html +28 -28
- package/src/components/nice-dropdown-date/nice-dropdown-date.js +132 -132
- package/src/components/nice-dropdown-date/nice-dropdown-date.scss +87 -87
- package/src/components/nice-dropdown-old/nice-dropdown-old.html +44 -44
- package/src/components/nice-dropdown-old/nice-dropdown-old.js +330 -330
- package/src/components/nice-dropdown-old/nice-dropdown-old.scss +129 -129
- package/src/components/nice-dtp/nice-dtp.html +91 -91
- package/src/components/nice-dtp/nice-dtp.js +835 -835
- package/src/components/nice-help/nice-help.html +6 -6
- package/src/components/nice-help/nice-help.js +58 -58
- package/src/components/nice-help/nice-help.scss +78 -78
- package/src/components/nice-input/nice-input.html +48 -48
- package/src/components/nice-input/nice-input.js +246 -246
- package/src/components/nice-input/nice-input.scss +130 -130
- package/src/components/nice-label/nice-label.html +10 -10
- package/src/components/nice-label/nice-label.js +32 -32
- package/src/components/nice-loader/nice-loader.html +6 -6
- package/src/components/nice-loader/nice-loader.js +28 -28
- package/src/components/nice-loader/nice-loader.scss +47 -47
- package/src/components/nice-no-data/nice-no-data.html +3 -3
- package/src/components/nice-no-data/nice-no-data.js +27 -27
- package/src/components/nice-no-data/nice-no-data.scss +26 -26
- package/src/components/nice-notification/nice-notification.html +3 -3
- package/src/components/nice-notification/nice-notification.js +124 -124
- package/src/components/nice-notification/nice-notification.scss +66 -66
- package/src/components/nice-number/nice-number.html +40 -40
- package/src/components/nice-number/nice-number.js +172 -172
- package/src/components/nice-number/nice-number.scss +18 -18
- package/src/components/nice-on-scroll/nice-on-scroll.js +17 -17
- package/src/components/nice-percent/nice-percent.html +24 -24
- package/src/components/nice-percent/nice-percent.js +95 -95
- package/src/components/nice-pill/nice-pill.html +3 -3
- package/src/components/nice-pill/nice-pill.js +29 -29
- package/src/components/nice-pill/nice-pill.scss +25 -25
- package/src/components/nice-popup/nice-popup.html +6 -6
- package/src/components/nice-popup/nice-popup.js +122 -122
- package/src/components/nice-popup/nice-popup.scss +43 -43
- package/src/components/nice-progress-bar/nice-progress-bar.html +15 -15
- package/src/components/nice-progress-bar/nice-progress-bar.js +55 -55
- package/src/components/nice-progress-bar/nice-progress-bar.scss +47 -47
- package/src/components/nice-quantity/nice-quantity.html +22 -22
- package/src/components/nice-quantity/nice-quantity.js +57 -57
- package/src/components/nice-quantity/nice-quantity.scss +51 -51
- package/src/components/nice-search/nice-search.html +44 -44
- package/src/components/nice-search/nice-search.js +243 -243
- package/src/components/nice-search/nice-search.scss +90 -90
- package/src/components/nice-search2/nice-search2.html +32 -32
- package/src/components/nice-search2/nice-search2.js +267 -267
- package/src/components/nice-search2/nice-search2.scss +80 -80
- package/src/components/nice-slot/nice-slot.html +10 -10
- package/src/components/nice-slot/nice-slot.js +31 -31
- package/src/components/nice-steps/nice-steps.scss +81 -81
- package/src/components/nice-svgs/nice-svgs.html +1275 -1275
- package/src/components/nice-svgs/nice-svgs.js +19 -19
- package/src/components/nice-table/nice-table.html +38 -38
- package/src/components/nice-table/nice-table.js +60 -60
- package/src/components/nice-table/nice-table.scss +112 -112
- package/src/components/nice-time-picker/nice-time-picker.html +43 -43
- package/src/components/nice-time-picker/nice-time-picker.js +85 -85
- package/src/components/nice-time-picker/nice-time-picker.scss +37 -37
- package/src/components/nice-title/nice-title.html +3 -3
- package/src/components/nice-title/nice-title.js +21 -21
- package/src/components/nice-toast/nice-toast.html +2 -2
- package/src/components/nice-toast/nice-toast.js +56 -56
- package/src/components/nice-toast/nice-toast.scss +74 -74
- package/src/components/nice-toggle/nice-toggle.html +12 -12
- package/src/components/nice-toggle/nice-toggle.js +55 -55
- package/src/components/nice-toggle/nice-toggle.scss +131 -131
- package/src/components/nice-tooltip/_nice-tooltip.scss +55 -55
- package/src/components/nice-tooltip/nice-tooltip.js +84 -84
- package/src/components/nice-upload/nice-upload.html +22 -22
- package/src/components/nice-upload/nice-upload.js +159 -159
- package/src/components/nice-upload/nice-upload.scss +85 -85
- package/src/components/nice-view/_nice-view.scss +62 -62
- package/src/components/nice-view/nice-view.html +12 -12
- package/src/components/nice-view/nice-view.js +30 -30
- package/src/components/nice-virtual-scroll/_nice-virtual-scroll.scss +17 -17
- package/src/components/nice-virtual-scroll/nice-virtual-scroll.html +12 -12
- package/src/components/nice-virtual-scroll/nice-virtual-scroll.js +70 -70
- package/src/components/nice-wrapper/_nice-wrapper.scss +87 -87
- package/src/components/nice-wrapper/nice-wrapper.html +12 -12
- package/src/components/nice-wrapper/nice-wrapper.js +44 -44
- package/src/components/nice-yesno/nice-yesno.html +14 -14
- package/src/components/nice-yesno/nice-yesno.js +111 -111
- package/src/components/nice-yesno/nice-yesno.scss +95 -95
- package/src/filters/nice-date.js +17 -17
- package/src/filters/nice-highlight.js +16 -16
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +30 -30
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -67
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +19 -19
- package/src/nice.js +2 -2
- package/src/services/nice-service.js +22 -22
- package/src/styles/_bootstrap-variables.scss +178 -178
- package/src/styles/_nice-buttons.scss +612 -612
- package/src/styles/_nice-common.scss +471 -471
- package/src/styles/_nice-ngdialog.scss +85 -85
- package/src/styles/_nice-spacing.scss +283 -283
- package/src/styles/_nice.scss +70 -70
- package/src/styles/_variables.scss +191 -191
|
@@ -1,306 +1,306 @@
|
|
|
1
|
-
.nice-date {
|
|
2
|
-
$spacing: 10px;
|
|
3
|
-
$icon-width: 40px;
|
|
4
|
-
|
|
5
|
-
.nice-date-dropdown-wrapper {
|
|
6
|
-
z-index: 1000;
|
|
7
|
-
width: 300px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.nice-date-dropdown {
|
|
11
|
-
box-shadow: $nice-box-shadow;
|
|
12
|
-
line-height: normal;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.nice-date-background {
|
|
16
|
-
position: fixed;
|
|
17
|
-
top: 0;
|
|
18
|
-
left: 0;
|
|
19
|
-
width: 100%;
|
|
20
|
-
z-index: 999;
|
|
21
|
-
height: 100%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.input-group {
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
width: 100%;
|
|
27
|
-
|
|
28
|
-
.form-control {
|
|
29
|
-
text-overflow: ellipsis;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.with-time {
|
|
34
|
-
.nice-date-date {
|
|
35
|
-
border-bottom-left-radius: 0;
|
|
36
|
-
border-bottom-right-radius: 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.nice-date-time {
|
|
40
|
-
border-top: 0 none;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.no-date {
|
|
45
|
-
.nice-date-time {
|
|
46
|
-
border-top: 1px solid var(--nice-border-color);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.nice-date-date {
|
|
51
|
-
border-radius: var(--nice-border-radius);
|
|
52
|
-
background: var(--nice-card-bg);
|
|
53
|
-
border: solid 1px var(--nice-border-color);
|
|
54
|
-
color: white;
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
height: 250px;
|
|
58
|
-
width: 100%;
|
|
59
|
-
|
|
60
|
-
.nice-date-header {
|
|
61
|
-
background: var(--nice-primary-color);
|
|
62
|
-
line-height: 40px;
|
|
63
|
-
color: white;
|
|
64
|
-
display: flex;
|
|
65
|
-
padding: 0 0 0 $spacing;
|
|
66
|
-
|
|
67
|
-
button {
|
|
68
|
-
width: 30px;
|
|
69
|
-
font-size: 1.125em;
|
|
70
|
-
font-weight: bold;
|
|
71
|
-
line-height: 40px;
|
|
72
|
-
border: 0 none;
|
|
73
|
-
|
|
74
|
-
&:focus {
|
|
75
|
-
outline-color: var(--nice-primary-color-darker);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&:hover,
|
|
79
|
-
&:focus {
|
|
80
|
-
background: var(--nice-primary-color-darker);
|
|
81
|
-
color: white;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:active {
|
|
85
|
-
background: var(--nice-primary-color-lighter);
|
|
86
|
-
color: white;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.fa-circle {
|
|
90
|
-
font-size: 8px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.nice-date-header-comma {
|
|
95
|
-
margin-left: -4px;
|
|
96
|
-
margin-right: -1;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
span {
|
|
100
|
-
flex-grow: 1;
|
|
101
|
-
|
|
102
|
-
select {
|
|
103
|
-
background: var(--nice-primary-color);
|
|
104
|
-
border: 0px;
|
|
105
|
-
-webkit-appearance: none;
|
|
106
|
-
appearance: none;
|
|
107
|
-
cursor: pointer;
|
|
108
|
-
|
|
109
|
-
// &:focus {
|
|
110
|
-
// outline-color: var(--nice-primary-color-darker);
|
|
111
|
-
// }
|
|
112
|
-
|
|
113
|
-
// &:hover,
|
|
114
|
-
// &:focus {
|
|
115
|
-
// background: var(--nice-primary-color-darker);
|
|
116
|
-
// color: white;
|
|
117
|
-
// }
|
|
118
|
-
|
|
119
|
-
// &:active {
|
|
120
|
-
// background: var(--nice-primary-color-lighter);
|
|
121
|
-
// color: white;
|
|
122
|
-
// }
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.nice-date-week {
|
|
128
|
-
width: 100%;
|
|
129
|
-
border-top: solid 1px var(--nice-border-color);
|
|
130
|
-
display: flex;
|
|
131
|
-
flex-grow: 1;
|
|
132
|
-
|
|
133
|
-
&:first-child {
|
|
134
|
-
border-top: none;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.nice-date-day {
|
|
138
|
-
box-shadow: 0 0 0;
|
|
139
|
-
user-select: none;
|
|
140
|
-
position: relative;
|
|
141
|
-
min-height: 20px;
|
|
142
|
-
width: 14.2857%;
|
|
143
|
-
border-radius: var(--nice-border-radius);
|
|
144
|
-
border: 0 none;
|
|
145
|
-
border-left: solid 1px var(--nice-border-color);
|
|
146
|
-
font-size: 12px;
|
|
147
|
-
text-align: center;
|
|
148
|
-
background: var(--nice-card-bg);
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
color: var(--nice-font-color);
|
|
151
|
-
padding: 0;
|
|
152
|
-
margin: 0;
|
|
153
|
-
|
|
154
|
-
display: flex;
|
|
155
|
-
justify-content: center;
|
|
156
|
-
align-items: center;
|
|
157
|
-
|
|
158
|
-
&:first-child {
|
|
159
|
-
border-left: none;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&.today:before {
|
|
163
|
-
content: " ";
|
|
164
|
-
position: absolute;
|
|
165
|
-
top: 0;
|
|
166
|
-
right: 0;
|
|
167
|
-
height: 10px;
|
|
168
|
-
width: 10px;
|
|
169
|
-
border-style: solid;
|
|
170
|
-
border-width: 0 10px 10px 0;
|
|
171
|
-
border-color: transparent var(--nice-primary-color) transparent transparent;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&.different-month {
|
|
175
|
-
color: #C0C0C0;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&.weekend {
|
|
179
|
-
background: #fafafa;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&.disabled {
|
|
183
|
-
opacity: 0.3;
|
|
184
|
-
color: var(--nice-danger-color);
|
|
185
|
-
cursor: not-allowed;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&.selected {
|
|
189
|
-
background: var(--nice-primary-color) !important;
|
|
190
|
-
color: var(--nice-card-bg);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&.between {
|
|
194
|
-
background: var(--nice-primary-color-lighter);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&:hover {
|
|
198
|
-
background: var(--nice-primary-color-lighter);
|
|
199
|
-
color: white;
|
|
200
|
-
|
|
201
|
-
&.selected {
|
|
202
|
-
background: var(--nice-primary-color-darker) !important;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
&.names {
|
|
208
|
-
flex-grow: 0;
|
|
209
|
-
height: 21px;
|
|
210
|
-
flex-shrink: 0;
|
|
211
|
-
|
|
212
|
-
&>span {
|
|
213
|
-
color: var(--nice-primary-color-darker);
|
|
214
|
-
min-height: 20px;
|
|
215
|
-
cursor: default;
|
|
216
|
-
|
|
217
|
-
&:hover {
|
|
218
|
-
background: var(--nice-card-bg);
|
|
219
|
-
color: var(--nice-primary-color-darker);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.nice-date-time {
|
|
227
|
-
display: flex;
|
|
228
|
-
width: 100%;
|
|
229
|
-
padding: 10px;
|
|
230
|
-
background: var(--nice-card-bg);
|
|
231
|
-
border: 1px solid var(--nice-border-color);
|
|
232
|
-
align-items: center;
|
|
233
|
-
|
|
234
|
-
border-bottom-left-radius: var(--nice-border-radius);
|
|
235
|
-
border-bottom-right-radius: var(--nice-border-radius);
|
|
236
|
-
|
|
237
|
-
.divider {
|
|
238
|
-
line-height: 30px;
|
|
239
|
-
margin: 0 10px;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
i {
|
|
243
|
-
line-height: 30px;
|
|
244
|
-
margin-right: 10px;
|
|
245
|
-
color: var(--nice-border-color);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
svg {
|
|
249
|
-
height: 16px;
|
|
250
|
-
width: 16px;
|
|
251
|
-
margin-right: 10px;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.time-picker {
|
|
255
|
-
position: relative;
|
|
256
|
-
// flex-grow: 1;
|
|
257
|
-
height: 30px;
|
|
258
|
-
|
|
259
|
-
select {
|
|
260
|
-
width: 100%;
|
|
261
|
-
-webkit-appearance: none;
|
|
262
|
-
-moz-appearance: none;
|
|
263
|
-
appearance: none;
|
|
264
|
-
border-radius: var(--nice-border-radius);
|
|
265
|
-
border: 1px solid var(--nice-border-color);
|
|
266
|
-
padding: 0 10px;
|
|
267
|
-
z-index: 2;
|
|
268
|
-
// color: var(--nice-font-color);
|
|
269
|
-
background: var(--nice-card-bg);
|
|
270
|
-
cursor: pointer;
|
|
271
|
-
position: relative;
|
|
272
|
-
font-size: 14px;
|
|
273
|
-
height: 30px;
|
|
274
|
-
line-height: auto;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
// &:after {
|
|
278
|
-
// content: " ";
|
|
279
|
-
// position: absolute;
|
|
280
|
-
// top: 50%;
|
|
281
|
-
// right: 10px;
|
|
282
|
-
// width: 0;
|
|
283
|
-
// height: 0;
|
|
284
|
-
// border-style: solid;
|
|
285
|
-
// border-width: 6px 4px 0 4px;
|
|
286
|
-
// margin-top: -3px;
|
|
287
|
-
// border-color: #404040 transparent transparent transparent;
|
|
288
|
-
// }
|
|
289
|
-
|
|
290
|
-
// &.time-picker-hour{
|
|
291
|
-
// select {
|
|
292
|
-
// padding: 5px 10px 5px 15px;
|
|
293
|
-
// }
|
|
294
|
-
// }
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.disabled-shield {
|
|
299
|
-
position: absolute;
|
|
300
|
-
top: 0;
|
|
301
|
-
left: 0;
|
|
302
|
-
right: 0;
|
|
303
|
-
bottom: 0;
|
|
304
|
-
z-index: 3;
|
|
305
|
-
}
|
|
1
|
+
.nice-date {
|
|
2
|
+
$spacing: 10px;
|
|
3
|
+
$icon-width: 40px;
|
|
4
|
+
|
|
5
|
+
.nice-date-dropdown-wrapper {
|
|
6
|
+
z-index: 1000;
|
|
7
|
+
width: 300px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.nice-date-dropdown {
|
|
11
|
+
box-shadow: $nice-box-shadow;
|
|
12
|
+
line-height: normal;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.nice-date-background {
|
|
16
|
+
position: fixed;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
z-index: 999;
|
|
21
|
+
height: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.input-group {
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
width: 100%;
|
|
27
|
+
|
|
28
|
+
.form-control {
|
|
29
|
+
text-overflow: ellipsis;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.with-time {
|
|
34
|
+
.nice-date-date {
|
|
35
|
+
border-bottom-left-radius: 0;
|
|
36
|
+
border-bottom-right-radius: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.nice-date-time {
|
|
40
|
+
border-top: 0 none;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.no-date {
|
|
45
|
+
.nice-date-time {
|
|
46
|
+
border-top: 1px solid var(--nice-border-color);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.nice-date-date {
|
|
51
|
+
border-radius: var(--nice-border-radius);
|
|
52
|
+
background: var(--nice-card-bg);
|
|
53
|
+
border: solid 1px var(--nice-border-color);
|
|
54
|
+
color: white;
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
height: 250px;
|
|
58
|
+
width: 100%;
|
|
59
|
+
|
|
60
|
+
.nice-date-header {
|
|
61
|
+
background: var(--nice-primary-color);
|
|
62
|
+
line-height: 40px;
|
|
63
|
+
color: white;
|
|
64
|
+
display: flex;
|
|
65
|
+
padding: 0 0 0 $spacing;
|
|
66
|
+
|
|
67
|
+
button {
|
|
68
|
+
width: 30px;
|
|
69
|
+
font-size: 1.125em;
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
line-height: 40px;
|
|
72
|
+
border: 0 none;
|
|
73
|
+
|
|
74
|
+
&:focus {
|
|
75
|
+
outline-color: var(--nice-primary-color-darker);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:hover,
|
|
79
|
+
&:focus {
|
|
80
|
+
background: var(--nice-primary-color-darker);
|
|
81
|
+
color: white;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:active {
|
|
85
|
+
background: var(--nice-primary-color-lighter);
|
|
86
|
+
color: white;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.fa-circle {
|
|
90
|
+
font-size: 8px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.nice-date-header-comma {
|
|
95
|
+
margin-left: -4px;
|
|
96
|
+
margin-right: -1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
span {
|
|
100
|
+
flex-grow: 1;
|
|
101
|
+
|
|
102
|
+
select {
|
|
103
|
+
background: var(--nice-primary-color);
|
|
104
|
+
border: 0px;
|
|
105
|
+
-webkit-appearance: none;
|
|
106
|
+
appearance: none;
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
|
|
109
|
+
// &:focus {
|
|
110
|
+
// outline-color: var(--nice-primary-color-darker);
|
|
111
|
+
// }
|
|
112
|
+
|
|
113
|
+
// &:hover,
|
|
114
|
+
// &:focus {
|
|
115
|
+
// background: var(--nice-primary-color-darker);
|
|
116
|
+
// color: white;
|
|
117
|
+
// }
|
|
118
|
+
|
|
119
|
+
// &:active {
|
|
120
|
+
// background: var(--nice-primary-color-lighter);
|
|
121
|
+
// color: white;
|
|
122
|
+
// }
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.nice-date-week {
|
|
128
|
+
width: 100%;
|
|
129
|
+
border-top: solid 1px var(--nice-border-color);
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-grow: 1;
|
|
132
|
+
|
|
133
|
+
&:first-child {
|
|
134
|
+
border-top: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.nice-date-day {
|
|
138
|
+
box-shadow: 0 0 0;
|
|
139
|
+
user-select: none;
|
|
140
|
+
position: relative;
|
|
141
|
+
min-height: 20px;
|
|
142
|
+
width: 14.2857%;
|
|
143
|
+
border-radius: var(--nice-border-radius);
|
|
144
|
+
border: 0 none;
|
|
145
|
+
border-left: solid 1px var(--nice-border-color);
|
|
146
|
+
font-size: 12px;
|
|
147
|
+
text-align: center;
|
|
148
|
+
background: var(--nice-card-bg);
|
|
149
|
+
cursor: pointer;
|
|
150
|
+
color: var(--nice-font-color);
|
|
151
|
+
padding: 0;
|
|
152
|
+
margin: 0;
|
|
153
|
+
|
|
154
|
+
display: flex;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
align-items: center;
|
|
157
|
+
|
|
158
|
+
&:first-child {
|
|
159
|
+
border-left: none;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&.today:before {
|
|
163
|
+
content: " ";
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 0;
|
|
166
|
+
right: 0;
|
|
167
|
+
height: 10px;
|
|
168
|
+
width: 10px;
|
|
169
|
+
border-style: solid;
|
|
170
|
+
border-width: 0 10px 10px 0;
|
|
171
|
+
border-color: transparent var(--nice-primary-color) transparent transparent;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&.different-month {
|
|
175
|
+
color: #C0C0C0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&.weekend {
|
|
179
|
+
background: #fafafa;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&.disabled {
|
|
183
|
+
opacity: 0.3;
|
|
184
|
+
color: var(--nice-danger-color);
|
|
185
|
+
cursor: not-allowed;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&.selected {
|
|
189
|
+
background: var(--nice-primary-color) !important;
|
|
190
|
+
color: var(--nice-card-bg);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&.between {
|
|
194
|
+
background: var(--nice-primary-color-lighter);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&:hover {
|
|
198
|
+
background: var(--nice-primary-color-lighter);
|
|
199
|
+
color: white;
|
|
200
|
+
|
|
201
|
+
&.selected {
|
|
202
|
+
background: var(--nice-primary-color-darker) !important;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&.names {
|
|
208
|
+
flex-grow: 0;
|
|
209
|
+
height: 21px;
|
|
210
|
+
flex-shrink: 0;
|
|
211
|
+
|
|
212
|
+
&>span {
|
|
213
|
+
color: var(--nice-primary-color-darker);
|
|
214
|
+
min-height: 20px;
|
|
215
|
+
cursor: default;
|
|
216
|
+
|
|
217
|
+
&:hover {
|
|
218
|
+
background: var(--nice-card-bg);
|
|
219
|
+
color: var(--nice-primary-color-darker);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.nice-date-time {
|
|
227
|
+
display: flex;
|
|
228
|
+
width: 100%;
|
|
229
|
+
padding: 10px;
|
|
230
|
+
background: var(--nice-card-bg);
|
|
231
|
+
border: 1px solid var(--nice-border-color);
|
|
232
|
+
align-items: center;
|
|
233
|
+
|
|
234
|
+
border-bottom-left-radius: var(--nice-border-radius);
|
|
235
|
+
border-bottom-right-radius: var(--nice-border-radius);
|
|
236
|
+
|
|
237
|
+
.divider {
|
|
238
|
+
line-height: 30px;
|
|
239
|
+
margin: 0 10px;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
i {
|
|
243
|
+
line-height: 30px;
|
|
244
|
+
margin-right: 10px;
|
|
245
|
+
color: var(--nice-border-color);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
svg {
|
|
249
|
+
height: 16px;
|
|
250
|
+
width: 16px;
|
|
251
|
+
margin-right: 10px;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.time-picker {
|
|
255
|
+
position: relative;
|
|
256
|
+
// flex-grow: 1;
|
|
257
|
+
height: 30px;
|
|
258
|
+
|
|
259
|
+
select {
|
|
260
|
+
width: 100%;
|
|
261
|
+
-webkit-appearance: none;
|
|
262
|
+
-moz-appearance: none;
|
|
263
|
+
appearance: none;
|
|
264
|
+
border-radius: var(--nice-border-radius);
|
|
265
|
+
border: 1px solid var(--nice-border-color);
|
|
266
|
+
padding: 0 10px;
|
|
267
|
+
z-index: 2;
|
|
268
|
+
// color: var(--nice-font-color);
|
|
269
|
+
background: var(--nice-card-bg);
|
|
270
|
+
cursor: pointer;
|
|
271
|
+
position: relative;
|
|
272
|
+
font-size: 14px;
|
|
273
|
+
height: 30px;
|
|
274
|
+
line-height: auto;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// &:after {
|
|
278
|
+
// content: " ";
|
|
279
|
+
// position: absolute;
|
|
280
|
+
// top: 50%;
|
|
281
|
+
// right: 10px;
|
|
282
|
+
// width: 0;
|
|
283
|
+
// height: 0;
|
|
284
|
+
// border-style: solid;
|
|
285
|
+
// border-width: 6px 4px 0 4px;
|
|
286
|
+
// margin-top: -3px;
|
|
287
|
+
// border-color: #404040 transparent transparent transparent;
|
|
288
|
+
// }
|
|
289
|
+
|
|
290
|
+
// &.time-picker-hour{
|
|
291
|
+
// select {
|
|
292
|
+
// padding: 5px 10px 5px 15px;
|
|
293
|
+
// }
|
|
294
|
+
// }
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.disabled-shield {
|
|
299
|
+
position: absolute;
|
|
300
|
+
top: 0;
|
|
301
|
+
left: 0;
|
|
302
|
+
right: 0;
|
|
303
|
+
bottom: 0;
|
|
304
|
+
z-index: 3;
|
|
305
|
+
}
|
|
306
306
|
}
|