nice-elements 1.9.12 → 1.9.14

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.
Files changed (137) hide show
  1. package/.vscode/settings.json +17 -10
  2. package/CHANGELOG.md +390 -382
  3. package/LICENSE.md +21 -21
  4. package/README.md +93 -93
  5. package/bower.json +10 -18
  6. package/dist/nice.js +7967 -7920
  7. package/dist/nice.min.js +1 -1
  8. package/dist/style.css +22 -18
  9. package/dist/style.css.map +1 -1
  10. package/dist/style.min.css +7 -7
  11. package/package.json +40 -40
  12. package/src/components/nice-button/nice-button.html +4 -4
  13. package/src/components/nice-button/nice-button.js +41 -41
  14. package/src/components/nice-button/nice-button.scss +16 -16
  15. package/src/components/nice-button-toggle/nice-button-toggle.html +9 -9
  16. package/src/components/nice-button-toggle/nice-button-toggle.js +23 -23
  17. package/src/components/nice-button-toggle/nice-button-toggle.scss +2 -2
  18. package/src/components/nice-calendar/nice-calendar.html +91 -91
  19. package/src/components/nice-calendar/nice-calendar.js +334 -334
  20. package/src/components/nice-calendar/nice-calendar.scss +285 -285
  21. package/src/components/nice-checkbox/nice-checkbox.html +5 -5
  22. package/src/components/nice-checkbox/nice-checkbox.js +33 -33
  23. package/src/components/nice-checkbox/nice-checkbox.scss +91 -91
  24. package/src/components/nice-choice/nice-choice.html +18 -18
  25. package/src/components/nice-choice/nice-choice.js +210 -210
  26. package/src/components/nice-choice/nice-choice.scss +110 -109
  27. package/src/components/nice-click-outside/nice-click-outside.js +105 -105
  28. package/src/components/nice-comment/nice-comment.html +10 -10
  29. package/src/components/nice-comment/nice-comment.js +69 -69
  30. package/src/components/nice-comment/nice-comment.scss +39 -39
  31. package/src/components/nice-date/nice-date.html +74 -74
  32. package/src/components/nice-date/nice-date.js +327 -327
  33. package/src/components/nice-date/nice-date.scss +302 -302
  34. package/src/components/nice-date-input/nice-date-input.html +41 -41
  35. package/src/components/nice-date-input/nice-date-input.js +109 -109
  36. package/src/components/nice-date-input/nice-date-input.scss +45 -45
  37. package/src/components/nice-date-range/nice-date-range.html +15 -15
  38. package/src/components/nice-date-range/nice-date-range.js +76 -76
  39. package/src/components/nice-date-range/nice-date-range.scss +390 -390
  40. package/src/components/nice-datetime-picker/nice-datetime-picker.html +29 -29
  41. package/src/components/nice-datetime-picker/nice-datetime-picker.js +87 -87
  42. package/src/components/nice-datetime-picker/nice-datetime-picker.scss +428 -428
  43. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +55 -55
  44. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +246 -246
  45. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.scss +73 -73
  46. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +44 -44
  47. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +172 -172
  48. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +127 -127
  49. package/src/components/nice-dropdown/nice-dropdown.html +60 -60
  50. package/src/components/nice-dropdown/nice-dropdown.js +489 -489
  51. package/src/components/nice-dropdown/nice-dropdown.scss +249 -249
  52. package/src/components/nice-dropdown-date/nice-dropdown-date.html +28 -28
  53. package/src/components/nice-dropdown-date/nice-dropdown-date.js +126 -126
  54. package/src/components/nice-dropdown-date/nice-dropdown-date.scss +82 -82
  55. package/src/components/nice-dropdown-old/nice-dropdown-old.html +44 -44
  56. package/src/components/nice-dropdown-old/nice-dropdown-old.js +330 -330
  57. package/src/components/nice-dropdown-old/nice-dropdown-old.scss +129 -129
  58. package/src/components/nice-dtp/nice-dtp.html +91 -91
  59. package/src/components/nice-dtp/nice-dtp.js +833 -833
  60. package/src/components/nice-help/nice-help.html +6 -6
  61. package/src/components/nice-help/nice-help.js +55 -55
  62. package/src/components/nice-help/nice-help.scss +78 -78
  63. package/src/components/nice-input/nice-input.html +48 -47
  64. package/src/components/nice-input/nice-input.js +231 -224
  65. package/src/components/nice-input/nice-input.scss +130 -130
  66. package/src/components/nice-label/nice-label.html +10 -10
  67. package/src/components/nice-label/nice-label.js +30 -30
  68. package/src/components/nice-loader/nice-loader.html +6 -6
  69. package/src/components/nice-loader/nice-loader.js +28 -28
  70. package/src/components/nice-loader/nice-loader.scss +47 -47
  71. package/src/components/nice-notification/nice-notification.html +3 -3
  72. package/src/components/nice-notification/nice-notification.js +124 -124
  73. package/src/components/nice-notification/nice-notification.scss +66 -66
  74. package/src/components/nice-number/nice-number.html +40 -40
  75. package/src/components/nice-number/nice-number.js +166 -166
  76. package/src/components/nice-number/nice-number.scss +18 -18
  77. package/src/components/nice-percent/nice-percent.html +24 -24
  78. package/src/components/nice-percent/nice-percent.js +94 -94
  79. package/src/components/nice-pill/nice-pill.html +3 -3
  80. package/src/components/nice-pill/nice-pill.js +29 -29
  81. package/src/components/nice-pill/nice-pill.scss +25 -25
  82. package/src/components/nice-popup/nice-popup.html +6 -6
  83. package/src/components/nice-popup/nice-popup.js +122 -122
  84. package/src/components/nice-popup/nice-popup.scss +43 -43
  85. package/src/components/nice-progress-bar/nice-progress-bar.html +15 -15
  86. package/src/components/nice-progress-bar/nice-progress-bar.js +54 -54
  87. package/src/components/nice-progress-bar/nice-progress-bar.scss +47 -47
  88. package/src/components/nice-quantity/nice-quantity.html +22 -22
  89. package/src/components/nice-quantity/nice-quantity.js +55 -55
  90. package/src/components/nice-quantity/nice-quantity.scss +51 -51
  91. package/src/components/nice-search/nice-search.html +44 -44
  92. package/src/components/nice-search/nice-search.js +239 -239
  93. package/src/components/nice-search/nice-search.scss +90 -90
  94. package/src/components/nice-search2/nice-search2.html +32 -32
  95. package/src/components/nice-search2/nice-search2.js +264 -264
  96. package/src/components/nice-search2/nice-search2.scss +80 -80
  97. package/src/components/nice-slot/nice-slot.html +10 -10
  98. package/src/components/nice-slot/nice-slot.js +29 -29
  99. package/src/components/nice-steps/nice-steps.scss +81 -81
  100. package/src/components/nice-svgs/nice-svgs.html +1262 -1262
  101. package/src/components/nice-svgs/nice-svgs.js +16 -16
  102. package/src/components/nice-time-picker/nice-time-picker.html +43 -43
  103. package/src/components/nice-time-picker/nice-time-picker.js +83 -83
  104. package/src/components/nice-time-picker/nice-time-picker.scss +37 -37
  105. package/src/components/nice-title/nice-title.html +3 -3
  106. package/src/components/nice-title/nice-title.js +21 -21
  107. package/src/components/nice-toast/nice-toast.html +2 -2
  108. package/src/components/nice-toast/nice-toast.js +56 -56
  109. package/src/components/nice-toast/nice-toast.scss +74 -74
  110. package/src/components/nice-toggle/nice-toggle.html +12 -12
  111. package/src/components/nice-toggle/nice-toggle.js +95 -95
  112. package/src/components/nice-toggle/nice-toggle.scss +67 -67
  113. package/src/components/nice-tooltip/_nice-tooltip.scss +71 -71
  114. package/src/components/nice-tooltip/nice-tooltip.js +23 -23
  115. package/src/components/nice-upload/nice-upload.html +22 -22
  116. package/src/components/nice-upload/nice-upload.js +157 -157
  117. package/src/components/nice-upload/nice-upload.scss +85 -85
  118. package/src/components/nice-wrapper/_nice-wrapper.scss +87 -87
  119. package/src/components/nice-wrapper/nice-wrapper.html +12 -12
  120. package/src/components/nice-wrapper/nice-wrapper.js +43 -43
  121. package/src/components/nice-yesno/nice-yesno.html +14 -14
  122. package/src/components/nice-yesno/nice-yesno.js +109 -109
  123. package/src/components/nice-yesno/nice-yesno.scss +95 -95
  124. package/src/filters/nice-date.js +17 -17
  125. package/src/filters/nice-highlight.js +16 -16
  126. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +30 -30
  127. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -67
  128. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +19 -19
  129. package/src/nice.js +2 -2
  130. package/src/services/nice-service.js +19 -19
  131. package/src/styles/_bootstrap-variables.scss +178 -178
  132. package/src/styles/_nice-buttons.scss +403 -403
  133. package/src/styles/_nice-common.scss +471 -467
  134. package/src/styles/_nice-ngdialog.scss +85 -85
  135. package/src/styles/_nice-spacing.scss +283 -283
  136. package/src/styles/_nice.scss +65 -65
  137. package/src/styles/_variables.scss +195 -195
@@ -1,429 +1,429 @@
1
- //colors
2
- $black_40: rgba(0, 0, 0, 0.4);
3
- $white: #fff;
4
- $black_16: rgba(0, 0, 0, 0.16);
5
- $black_12: rgba(0, 0, 0, 0.12);
6
- $color_apple_approx: darken($nice-base-color, 10%);
7
- $color_sushi_approx: $nice-base-color;
8
- $color_beryl_green_approx: #dcedc8;
9
- $color_silver_approx: #bdbdbd;
10
- $color_log_cabin_approx: #212121;
11
- $color_tapa_approx: #757575;
12
- $color_gallery_approx: #eee;
13
-
14
- //@extend-elements
15
- //original selectors
16
- //.dtp div.dtp-date, .dtp div.dtp-time
17
- %extend_1 {
18
- background: $color_sushi_approx;
19
- text-align: center;
20
- color: $white;
21
- padding: 10px;
22
- }
23
-
24
- //original selectors
25
- //.dtp table.dtp-picker-days tr > td > a, .dtp .dtp-picker-time > a
26
- %extend_2 {
27
- color: $color_log_cabin_approx;
28
- text-decoration: none;
29
- padding: 8px;
30
- //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
31
- border-radius: 50% !important;
32
- }
33
-
34
- //original selectors
35
- //.dtp a.dtp-meridien-am, .dtp a.dtp-meridien-pm
36
- %extend_3 {
37
- position: relative;
38
- top: 10px;
39
- color: $color_log_cabin_approx;
40
- font-weight: 500;
41
- padding: 0.7rem 0.5rem;
42
- //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
43
- border-radius: 50% !important;
44
- text-decoration: none;
45
- background: $color_gallery_approx;
46
- font-size: 1rem;
47
- }
48
-
49
- //original selectors
50
- //.dtp .dtp-hand, .dtp .dtp-hour-hand
51
- %extend_4 {
52
- position: absolute;
53
- width: 4px;
54
- margin-left: -2px;
55
- background: $color_silver_approx;
56
- //Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
57
- transform: rotate(0deg);
58
- //Instead of the line below you could use @include transform-origin($origin-x, $origin-y, $origin-z, $only3d)
59
- transform-origin: bottom;
60
- z-index: 1;
61
- }
62
-
63
-
64
-
65
- .nice-datetime-picker {
66
- .dtp-wrapper {
67
- position: relative;
68
-
69
- .dtp {
70
- position: absolute;
71
- top: 0;
72
- left: 0;
73
- right: 0;
74
- bottom: 0;
75
- //background: $black_40;
76
- z-index: 200;
77
- position: absolute;
78
-
79
- div {
80
- &.dtp-date {
81
- @extend %extend_1;
82
-
83
- >div {
84
- padding: 0;
85
- margin: 0;
86
- }
87
- }
88
-
89
- &.dtp-time {
90
- @extend %extend_1;
91
- }
92
-
93
- &.dtp-actual-month {
94
- font-size: 1.5em;
95
- }
96
-
97
- &.dtp-actual-num {
98
- font-size: 3em;
99
- line-height: 0.9;
100
- }
101
-
102
- &.dtp-actual-maxtime {
103
- font-size: 3em;
104
- line-height: 0.9;
105
- }
106
-
107
- &.dtp-actual-year {
108
- font-size: 1.5em;
109
- //color: $color_beryl_green_approx;
110
- }
111
-
112
- &.dtp-picker {
113
- padding: 1rem;
114
- text-align: center;
115
- }
116
-
117
- &.dtp-picker-month {
118
- font-weight: 500;
119
- text-align: center;
120
- }
121
-
122
- &.dtp-actual-time {
123
- font-weight: 500;
124
- text-align: center;
125
- }
126
-
127
- &.dtp-picker-clock {
128
- width: 200px;
129
- height: 200px;
130
- margin: 1rem 2rem 0;
131
- padding: 1rem;
132
- //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
133
- border-radius: 50% !important;
134
- background: $color_gallery_approx;
135
- }
136
-
137
- &.dtp-actual-month,
138
- &.dtp-actual-num,
139
- &.dtp-actual-year {
140
- cursor: pointer;
141
- }
142
-
143
- &.dtp-actual-time {
144
- font-size: 3em;
145
- line-height: 0.9;
146
- color: $color_tapa_approx;
147
-
148
- .dtp-hours-minutes-btn {
149
- text-decoration: none;
150
- color: $color_tapa_approx;
151
-
152
- &.selected {
153
- color: $color_sushi_approx;
154
- background-color: transparent;
155
- }
156
- }
157
- }
158
-
159
- &.dtp-actual-maxtime {
160
- color: $color_apple_approx;
161
-
162
- .dtp-hours-minutes-btn {
163
- text-decoration: none;
164
- background-color: transparent;
165
- color: $color_apple_approx;
166
-
167
- &.selected {
168
- color: white;
169
- background-color: transparent;
170
- }
171
- }
172
- }
173
- }
174
-
175
- .dtp-close {
176
- position: absolute;
177
- top: 0.2em;
178
- right: 1rem;
179
-
180
- >a {
181
- color: $white;
182
-
183
- >i {
184
- font-size: 1em;
185
- }
186
- }
187
- }
188
-
189
- .dtp-picker-time {
190
- position: absolute;
191
- width: 30px;
192
- height: 30px;
193
- font-size: 1em;
194
- //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
195
- border-radius: 50%;
196
- cursor: pointer;
197
- font-weight: 500;
198
- text-align: center !important;
199
-
200
- >a {
201
- @extend %extend_2;
202
- display: block;
203
- line-height: 23px;
204
- padding: 0.3rem 0.3rem 0.3rem 0.3rem;
205
-
206
- &.dtp-select-hour {
207
- &.selected {
208
- background: $color_apple_approx;
209
- color: $white;
210
- }
211
-
212
- &.disabled {
213
- color: $color_tapa_approx;
214
- }
215
- }
216
-
217
- &.dtp-select-minute {
218
- &.disabled {
219
- color: $color_tapa_approx;
220
- }
221
-
222
- &.selected {
223
- background: $color_sushi_approx;
224
- color: $white;
225
- }
226
- }
227
- }
228
- }
229
-
230
- .p10 {
231
- width: 10%;
232
- display: inline-block;
233
-
234
- >a {
235
- color: $color_apple_approx;
236
- text-decoration: none;
237
- }
238
- }
239
-
240
- .p20 {
241
- width: 20%;
242
- display: inline-block;
243
- }
244
-
245
- .p60 {
246
- width: 60%;
247
- display: inline-block;
248
- }
249
-
250
- .p80 {
251
- width: 80%;
252
- display: inline-block;
253
- }
254
-
255
- a {
256
- &.dtp-meridien-am {
257
- @extend %extend_3;
258
- }
259
-
260
- &.dtp-meridien-pm {
261
- @extend %extend_3;
262
- }
263
- }
264
-
265
- .dtp-hand {
266
- @extend %extend_4;
267
-
268
- &.on {
269
- background: $color_sushi_approx;
270
- }
271
- }
272
-
273
- .dtp-hour-hand {
274
- @extend %extend_4;
275
- }
276
-
277
- .dtp-minute-hand {
278
- width: 2px;
279
- margin-left: -1px;
280
- }
281
-
282
- .dtp-buttons {
283
- padding: 0 1rem 1rem;
284
- text-align: right;
285
- }
286
-
287
- .hidden {
288
- display: none;
289
- }
290
-
291
- .invisible {
292
- visibility: hidden;
293
- }
294
-
295
- .left {
296
- float: left;
297
- }
298
-
299
- .right {
300
- float: right;
301
- }
302
-
303
- .clearfix {
304
- clear: both;
305
- }
306
-
307
- .center {
308
- text-align: center;
309
- }
310
-
311
- >.dtp-content {
312
- background: $white;
313
- max-width: 300px;
314
- //Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
315
- //box-shadow: 0 2px 5px 0 $black_16, 0 2px 10px 0 $black_12;
316
- border: 1px solid $nice-border-color;
317
- box-shadow: $nice-box-shadow;
318
- border-radius: $nice-border-radius;
319
- max-height: 500px;
320
- position: absolute;
321
- left: 0;
322
- top: 0;
323
- width: 240px;
324
- margin-top: 0.5rem;
325
-
326
- >.dtp-date-view>div.dtp-header {
327
- background: $color_apple_approx;
328
- color: $white;
329
- text-align: center;
330
- padding: 0.3rem;
331
- }
332
- }
333
-
334
- table.dtp-picker-days {
335
- margin: 0;
336
- border: none;
337
- margin-top: 5px;
338
-
339
- tr {
340
- border: none;
341
-
342
- > {
343
- td {
344
- border: none;
345
- font-weight: normal;
346
- font-size: 12px;
347
- text-align: center;
348
- padding: 7px 0;
349
-
350
- > {
351
- a {
352
- @extend %extend_2;
353
-
354
- &.selected {
355
- background: $color_sushi_approx;
356
- color: $white;
357
- }
358
- }
359
-
360
- span.dtp-select-day {
361
- color: $color_silver_approx !important;
362
- }
363
- }
364
- }
365
-
366
- th {
367
- color: $color_tapa_approx;
368
- text-align: center;
369
- font-weight: normal;
370
- padding: 0.4rem 0.3rem;
371
- }
372
- }
373
- }
374
- }
375
-
376
- .dtp-actual-meridien a.selected {
377
- background: $color_apple_approx;
378
- color: $white;
379
- }
380
- }
381
-
382
- .dtp-clock-center {
383
- width: 15px;
384
- height: 15px;
385
- background: $color_tapa_approx;
386
- //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
387
- border-radius: 50%;
388
- position: absolute;
389
- z-index: 50;
390
- }
391
- }
392
-
393
- .btn-primary {
394
- background: $nice-base-color;
395
- border-color: darken($nice-base-color, 5%);
396
- color: white;
397
-
398
- &:hover {
399
- background: darken($nice-base-color, 5%);
400
- }
401
- }
402
-
403
- .dtp-select-day,
404
- .dtp-picker-time {
405
- &:hover {
406
- background: lighten($nice-base-color, 10%);
407
- color: white !important;
408
-
409
- a {
410
- color: white !important;
411
- }
412
- }
413
- }
414
-
415
- .disabled {
416
- opacity: 0.5;
417
- cursor: not-allowed;
418
- user-select: none;
419
- }
420
- }
421
-
422
- .nice-dtp-background {
423
- position: fixed;
424
- top: 0;
425
- left: 0;
426
- width: 100%;
427
- z-index: 199;
428
- height: 100%;
1
+ //colors
2
+ $black_40: rgba(0, 0, 0, 0.4);
3
+ $white: #fff;
4
+ $black_16: rgba(0, 0, 0, 0.16);
5
+ $black_12: rgba(0, 0, 0, 0.12);
6
+ $color_apple_approx: darken($nice-base-color, 10%);
7
+ $color_sushi_approx: $nice-base-color;
8
+ $color_beryl_green_approx: #dcedc8;
9
+ $color_silver_approx: #bdbdbd;
10
+ $color_log_cabin_approx: #212121;
11
+ $color_tapa_approx: #757575;
12
+ $color_gallery_approx: #eee;
13
+
14
+ //@extend-elements
15
+ //original selectors
16
+ //.dtp div.dtp-date, .dtp div.dtp-time
17
+ %extend_1 {
18
+ background: $color_sushi_approx;
19
+ text-align: center;
20
+ color: $white;
21
+ padding: 10px;
22
+ }
23
+
24
+ //original selectors
25
+ //.dtp table.dtp-picker-days tr > td > a, .dtp .dtp-picker-time > a
26
+ %extend_2 {
27
+ color: $color_log_cabin_approx;
28
+ text-decoration: none;
29
+ padding: 8px;
30
+ //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
31
+ border-radius: 50% !important;
32
+ }
33
+
34
+ //original selectors
35
+ //.dtp a.dtp-meridien-am, .dtp a.dtp-meridien-pm
36
+ %extend_3 {
37
+ position: relative;
38
+ top: 10px;
39
+ color: $color_log_cabin_approx;
40
+ font-weight: 500;
41
+ padding: 0.7rem 0.5rem;
42
+ //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
43
+ border-radius: 50% !important;
44
+ text-decoration: none;
45
+ background: $color_gallery_approx;
46
+ font-size: 1rem;
47
+ }
48
+
49
+ //original selectors
50
+ //.dtp .dtp-hand, .dtp .dtp-hour-hand
51
+ %extend_4 {
52
+ position: absolute;
53
+ width: 4px;
54
+ margin-left: -2px;
55
+ background: $color_silver_approx;
56
+ //Instead of the line below you could use @include transform($scale, $rotate, $transx, $transy, $skewx, $skewy, $originx, $originy)
57
+ transform: rotate(0deg);
58
+ //Instead of the line below you could use @include transform-origin($origin-x, $origin-y, $origin-z, $only3d)
59
+ transform-origin: bottom;
60
+ z-index: 1;
61
+ }
62
+
63
+
64
+
65
+ .nice-datetime-picker {
66
+ .dtp-wrapper {
67
+ position: relative;
68
+
69
+ .dtp {
70
+ position: absolute;
71
+ top: 0;
72
+ left: 0;
73
+ right: 0;
74
+ bottom: 0;
75
+ //background: $black_40;
76
+ z-index: 200;
77
+ position: absolute;
78
+
79
+ div {
80
+ &.dtp-date {
81
+ @extend %extend_1;
82
+
83
+ >div {
84
+ padding: 0;
85
+ margin: 0;
86
+ }
87
+ }
88
+
89
+ &.dtp-time {
90
+ @extend %extend_1;
91
+ }
92
+
93
+ &.dtp-actual-month {
94
+ font-size: 1.5em;
95
+ }
96
+
97
+ &.dtp-actual-num {
98
+ font-size: 3em;
99
+ line-height: 0.9;
100
+ }
101
+
102
+ &.dtp-actual-maxtime {
103
+ font-size: 3em;
104
+ line-height: 0.9;
105
+ }
106
+
107
+ &.dtp-actual-year {
108
+ font-size: 1.5em;
109
+ //color: $color_beryl_green_approx;
110
+ }
111
+
112
+ &.dtp-picker {
113
+ padding: 1rem;
114
+ text-align: center;
115
+ }
116
+
117
+ &.dtp-picker-month {
118
+ font-weight: 500;
119
+ text-align: center;
120
+ }
121
+
122
+ &.dtp-actual-time {
123
+ font-weight: 500;
124
+ text-align: center;
125
+ }
126
+
127
+ &.dtp-picker-clock {
128
+ width: 200px;
129
+ height: 200px;
130
+ margin: 1rem 2rem 0;
131
+ padding: 1rem;
132
+ //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
133
+ border-radius: 50% !important;
134
+ background: $color_gallery_approx;
135
+ }
136
+
137
+ &.dtp-actual-month,
138
+ &.dtp-actual-num,
139
+ &.dtp-actual-year {
140
+ cursor: pointer;
141
+ }
142
+
143
+ &.dtp-actual-time {
144
+ font-size: 3em;
145
+ line-height: 0.9;
146
+ color: $color_tapa_approx;
147
+
148
+ .dtp-hours-minutes-btn {
149
+ text-decoration: none;
150
+ color: $color_tapa_approx;
151
+
152
+ &.selected {
153
+ color: $color_sushi_approx;
154
+ background-color: transparent;
155
+ }
156
+ }
157
+ }
158
+
159
+ &.dtp-actual-maxtime {
160
+ color: $color_apple_approx;
161
+
162
+ .dtp-hours-minutes-btn {
163
+ text-decoration: none;
164
+ background-color: transparent;
165
+ color: $color_apple_approx;
166
+
167
+ &.selected {
168
+ color: white;
169
+ background-color: transparent;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ .dtp-close {
176
+ position: absolute;
177
+ top: 0.2em;
178
+ right: 1rem;
179
+
180
+ >a {
181
+ color: $white;
182
+
183
+ >i {
184
+ font-size: 1em;
185
+ }
186
+ }
187
+ }
188
+
189
+ .dtp-picker-time {
190
+ position: absolute;
191
+ width: 30px;
192
+ height: 30px;
193
+ font-size: 1em;
194
+ //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
195
+ border-radius: 50%;
196
+ cursor: pointer;
197
+ font-weight: 500;
198
+ text-align: center !important;
199
+
200
+ >a {
201
+ @extend %extend_2;
202
+ display: block;
203
+ line-height: 23px;
204
+ padding: 0.3rem 0.3rem 0.3rem 0.3rem;
205
+
206
+ &.dtp-select-hour {
207
+ &.selected {
208
+ background: $color_apple_approx;
209
+ color: $white;
210
+ }
211
+
212
+ &.disabled {
213
+ color: $color_tapa_approx;
214
+ }
215
+ }
216
+
217
+ &.dtp-select-minute {
218
+ &.disabled {
219
+ color: $color_tapa_approx;
220
+ }
221
+
222
+ &.selected {
223
+ background: $color_sushi_approx;
224
+ color: $white;
225
+ }
226
+ }
227
+ }
228
+ }
229
+
230
+ .p10 {
231
+ width: 10%;
232
+ display: inline-block;
233
+
234
+ >a {
235
+ color: $color_apple_approx;
236
+ text-decoration: none;
237
+ }
238
+ }
239
+
240
+ .p20 {
241
+ width: 20%;
242
+ display: inline-block;
243
+ }
244
+
245
+ .p60 {
246
+ width: 60%;
247
+ display: inline-block;
248
+ }
249
+
250
+ .p80 {
251
+ width: 80%;
252
+ display: inline-block;
253
+ }
254
+
255
+ a {
256
+ &.dtp-meridien-am {
257
+ @extend %extend_3;
258
+ }
259
+
260
+ &.dtp-meridien-pm {
261
+ @extend %extend_3;
262
+ }
263
+ }
264
+
265
+ .dtp-hand {
266
+ @extend %extend_4;
267
+
268
+ &.on {
269
+ background: $color_sushi_approx;
270
+ }
271
+ }
272
+
273
+ .dtp-hour-hand {
274
+ @extend %extend_4;
275
+ }
276
+
277
+ .dtp-minute-hand {
278
+ width: 2px;
279
+ margin-left: -1px;
280
+ }
281
+
282
+ .dtp-buttons {
283
+ padding: 0 1rem 1rem;
284
+ text-align: right;
285
+ }
286
+
287
+ .hidden {
288
+ display: none;
289
+ }
290
+
291
+ .invisible {
292
+ visibility: hidden;
293
+ }
294
+
295
+ .left {
296
+ float: left;
297
+ }
298
+
299
+ .right {
300
+ float: right;
301
+ }
302
+
303
+ .clearfix {
304
+ clear: both;
305
+ }
306
+
307
+ .center {
308
+ text-align: center;
309
+ }
310
+
311
+ >.dtp-content {
312
+ background: $white;
313
+ max-width: 300px;
314
+ //Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
315
+ //box-shadow: 0 2px 5px 0 $black_16, 0 2px 10px 0 $black_12;
316
+ border: 1px solid $nice-border-color;
317
+ box-shadow: $nice-box-shadow;
318
+ border-radius: $nice-border-radius;
319
+ max-height: 500px;
320
+ position: absolute;
321
+ left: 0;
322
+ top: 0;
323
+ width: 240px;
324
+ margin-top: 0.5rem;
325
+
326
+ >.dtp-date-view>div.dtp-header {
327
+ background: $color_apple_approx;
328
+ color: $white;
329
+ text-align: center;
330
+ padding: 0.3rem;
331
+ }
332
+ }
333
+
334
+ table.dtp-picker-days {
335
+ margin: 0;
336
+ border: none;
337
+ margin-top: 5px;
338
+
339
+ tr {
340
+ border: none;
341
+
342
+ > {
343
+ td {
344
+ border: none;
345
+ font-weight: normal;
346
+ font-size: 12px;
347
+ text-align: center;
348
+ padding: 7px 0;
349
+
350
+ > {
351
+ a {
352
+ @extend %extend_2;
353
+
354
+ &.selected {
355
+ background: $color_sushi_approx;
356
+ color: $white;
357
+ }
358
+ }
359
+
360
+ span.dtp-select-day {
361
+ color: $color_silver_approx !important;
362
+ }
363
+ }
364
+ }
365
+
366
+ th {
367
+ color: $color_tapa_approx;
368
+ text-align: center;
369
+ font-weight: normal;
370
+ padding: 0.4rem 0.3rem;
371
+ }
372
+ }
373
+ }
374
+ }
375
+
376
+ .dtp-actual-meridien a.selected {
377
+ background: $color_apple_approx;
378
+ color: $white;
379
+ }
380
+ }
381
+
382
+ .dtp-clock-center {
383
+ width: 15px;
384
+ height: 15px;
385
+ background: $color_tapa_approx;
386
+ //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
387
+ border-radius: 50%;
388
+ position: absolute;
389
+ z-index: 50;
390
+ }
391
+ }
392
+
393
+ .btn-primary {
394
+ background: $nice-base-color;
395
+ border-color: darken($nice-base-color, 5%);
396
+ color: white;
397
+
398
+ &:hover {
399
+ background: darken($nice-base-color, 5%);
400
+ }
401
+ }
402
+
403
+ .dtp-select-day,
404
+ .dtp-picker-time {
405
+ &:hover {
406
+ background: lighten($nice-base-color, 10%);
407
+ color: white !important;
408
+
409
+ a {
410
+ color: white !important;
411
+ }
412
+ }
413
+ }
414
+
415
+ .disabled {
416
+ opacity: 0.5;
417
+ cursor: not-allowed;
418
+ user-select: none;
419
+ }
420
+ }
421
+
422
+ .nice-dtp-background {
423
+ position: fixed;
424
+ top: 0;
425
+ left: 0;
426
+ width: 100%;
427
+ z-index: 199;
428
+ height: 100%;
429
429
  }