@kizmann/nano-ui 0.8.15 → 0.8.17
Sign up to get free protection for your applications and to get access to all the features.
- package/demos/overview.html +27 -0
- package/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +3 -3
- package/dist/nano-ui.js.map +1 -1
- package/dist/themes/light.css +1 -1
- package/package.json +2 -2
- package/src/datepicker/src/datepicker/datepicker.js +1 -1
- package/src/datepicker/src/datepicker-panel/datepicker-panel.js +6 -0
- package/src/datetimepicker/index.js +5 -0
- package/src/datetimepicker/index.scss +1 -0
- package/src/datetimepicker/src/datetimepicker/datetimepicker.js +400 -0
- package/src/datetimepicker/src/datetimepicker/datetimepicker.scss +188 -0
- package/src/index.js +1 -4
- package/src/index.scss +1 -0
- package/src/timepicker/src/timepicker/timepicker.js +2 -2
- package/src/timepicker/src/timepicker-panel/timepicker-panel.js +1 -1
- package/src/timepicker/src/timepicker-panel/timepicker-panel.scss +12 -2
- package/themes/light/datetimepicker/index.scss +1 -0
- package/themes/light/datetimepicker/src/datetimepicker/datetimepicker.scss +49 -0
- package/themes/light/index.scss +1 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
@import "../../../root/vars";
|
2
|
+
|
3
|
+
.n-datetimepicker {
|
4
|
+
border: 1px solid $color-gray-15;
|
5
|
+
}
|
6
|
+
|
7
|
+
.n-datetimepicker.n-disabled {
|
8
|
+
background: rgba($color-gray-15, 0.3);
|
9
|
+
}
|
10
|
+
|
11
|
+
.n-datetimepicker__seperator {
|
12
|
+
color: $color-gray-60;
|
13
|
+
}
|
14
|
+
|
15
|
+
.n-datetimepicker__clear,
|
16
|
+
.n-datetimepicker__angle {
|
17
|
+
color: $color-gray-60;
|
18
|
+
}
|
19
|
+
|
20
|
+
.n-datetimepicker__clear i {
|
21
|
+
background: rgba($color-gray-15, 0.6);
|
22
|
+
}
|
23
|
+
|
24
|
+
.n-datetimepicker__placeholder {
|
25
|
+
color: rgba($color-black, 0.5);
|
26
|
+
}
|
27
|
+
|
28
|
+
.n-datetimepicker__body,
|
29
|
+
.n-datetimepicker__empty {
|
30
|
+
background: $color-white;
|
31
|
+
box-shadow: 0 1px 3px 1px rgba($color-shadow, 0.15);
|
32
|
+
}
|
33
|
+
|
34
|
+
.n-datetimepicker__empty {
|
35
|
+
color: $color-gray-60;
|
36
|
+
}
|
37
|
+
|
38
|
+
@each $color, $values in $colors {
|
39
|
+
|
40
|
+
$-color-base: map_get($values, 'base');
|
41
|
+
$-color-light: map_get($values, 'light');
|
42
|
+
$-color-dark: map_get($values, 'dark');
|
43
|
+
|
44
|
+
.n-datetimepicker--#{$color}:not(.n-disabled):hover,
|
45
|
+
.n-datetimepicker--#{$color}:not(.n-disabled).n-focus {
|
46
|
+
border-color: $-color-base;
|
47
|
+
}
|
48
|
+
|
49
|
+
}
|
package/themes/light/index.scss
CHANGED