@kizmann/nano-ui 0.6.12 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/demos/overview.html +7 -6
- 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 +2 -0
- package/package.json +1 -1
- package/postcss.config.js +1 -1
- package/src/alert/index.js +5 -0
- package/src/alert/index.scss +1 -0
- package/src/alert/src/alert/alert.js +128 -0
- package/src/alert/src/alert/alert.scss +83 -0
- package/src/draggable/src/draghandler/draghandler.js +45 -3
- package/src/index.js +9 -0
- package/src/index.scss +1 -0
- package/src/preview/src/preview/preview.scss +12 -0
- package/src/select/src/select/select.js +26 -9
- package/themes/light/alert/index.scss +1 -0
- package/themes/{flat-dark/form/src/form-group/form-group.scss → light/alert/src/alert/alert.scss} +11 -2
- package/themes/{basic → light}/button/index.scss +0 -0
- package/themes/{basic → light}/button/src/button/button.scss +0 -0
- package/themes/{basic → light}/button/src/button-group/button-group.scss +0 -0
- package/themes/{basic → light}/cascader/index.scss +0 -0
- package/themes/{basic → light}/cascader/src/cascader/cascader.scss +0 -0
- package/themes/{basic → light}/cascader/src/cascader-panel/cascader-panel.scss +0 -0
- package/themes/{basic → light}/checkbox/index.scss +0 -0
- package/themes/{basic → light}/checkbox/src/checkbox/checkbox.scss +0 -0
- package/themes/{basic → light}/checkbox/src/checkbox-group/checkbox-group.scss +0 -0
- package/themes/{basic → light}/collapse/index.scss +0 -0
- package/themes/{basic → light}/collapse/src/collapse/collapse.scss +0 -0
- package/themes/{basic → light}/collapse/src/collapse-item/collapse-item.scss +0 -0
- package/themes/{basic → light}/confirm/index.scss +0 -0
- package/themes/{basic → light}/confirm/src/confirm/confirm.scss +0 -0
- package/themes/{basic → light}/datepicker/index.scss +0 -0
- package/themes/{basic → light}/datepicker/src/datepicker/datepicker.scss +0 -0
- package/themes/{basic → light}/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -0
- package/themes/{basic → light}/demo/index.scss +0 -0
- package/themes/{basic → light}/demo/src/demo/demo.scss +0 -0
- package/themes/{basic → light}/draggable/index.scss +0 -0
- package/themes/{basic → light}/draggable/src/draggrid/draggrid.scss +0 -0
- package/themes/{basic → light}/draggable/src/draggrid-item/draggrid-item.scss +0 -0
- package/themes/{flat-dark → light}/draggable/src/draghandler/draghandler.scss +5 -0
- package/themes/{basic → light}/draggable/src/draglist/draglist.scss +0 -0
- package/themes/{basic → light}/draggable/src/draglist-item/draglist-item.scss +0 -0
- package/themes/{basic → light}/empty/index.scss +0 -0
- package/themes/{basic → light}/empty/src/empty-icon/empty-icon.scss +0 -0
- package/themes/{basic → light}/form/index.scss +0 -0
- package/themes/{basic → light}/form/src/form/form.scss +0 -0
- package/themes/{basic → light}/form/src/form-group/form-group.scss +0 -0
- package/themes/{basic → light}/form/src/form-item/form-item.scss +0 -0
- package/themes/{basic → light}/index.scss +1 -0
- package/themes/{basic → light}/info/index.scss +0 -0
- package/themes/{basic → light}/info/src/info/info.scss +0 -0
- package/themes/{basic → light}/info/src/info-column/info-column.scss +0 -0
- package/themes/{basic → light}/info/src/info-field/info-field.scss +0 -0
- package/themes/{basic → light}/input/index.scss +0 -0
- package/themes/{basic → light}/input/src/input/input.scss +0 -0
- package/themes/{basic → light}/input-number/index.scss +0 -0
- package/themes/{basic → light}/input-number/src/input-number/input-number.scss +0 -0
- package/themes/{basic → light}/loader/index.scss +0 -0
- package/themes/{basic → light}/loader/src/loader/loader.scss +0 -0
- package/themes/{basic → light}/map/index.scss +0 -0
- package/themes/{basic → light}/map/src/map/map.scss +0 -0
- package/themes/{basic → light}/modal/index.scss +0 -0
- package/themes/{basic → light}/modal/src/modal/modal.scss +0 -0
- package/themes/{basic → light}/notification/index.scss +0 -0
- package/themes/{basic → light}/notification/src/notification/notification.scss +0 -0
- package/themes/{basic → light}/paginator/index.scss +0 -0
- package/themes/{basic → light}/paginator/src/paginator/paginator.scss +0 -0
- package/themes/{basic → light}/popover/index.scss +0 -0
- package/themes/{basic → light}/popover/src/popover/popover.scss +0 -0
- package/themes/{basic → light}/radio/index.scss +0 -0
- package/themes/{basic → light}/radio/src/radio/radio.scss +0 -0
- package/themes/{basic → light}/radio/src/radio-group/radio-group.scss +0 -0
- package/themes/{basic → light}/resizer/index.scss +0 -0
- package/themes/{basic → light}/resizer/src/resizer/resizer.scss +0 -0
- package/themes/{basic → light}/root/image/empty-default.svg +0 -0
- package/themes/{basic → light}/root/image/empty-space.svg +0 -0
- package/themes/{basic → light}/root/vars.scss +0 -0
- package/themes/{basic → light}/scrollbar/index.scss +0 -0
- package/themes/{basic → light}/scrollbar/src/scrollbar/scrollbar.scss +0 -0
- package/themes/{basic → light}/select/index.scss +0 -0
- package/themes/{basic → light}/select/src/select/select.scss +0 -0
- package/themes/{basic → light}/select/src/select-option/select-option.scss +0 -0
- package/themes/{basic → light}/switch/index.scss +0 -0
- package/themes/{basic → light}/switch/src/switch/switch.scss +0 -0
- package/themes/{basic → light}/table/index.scss +0 -0
- package/themes/{basic → light}/table/src/table/table.scss +0 -0
- package/themes/{basic → light}/table/src/table-cell/table-cell.scss +0 -0
- package/themes/{basic → light}/table/src/table-column/table-column.scss +0 -0
- package/themes/{basic → light}/table/src/table-filter/table-filter.scss +0 -0
- package/themes/{basic → light}/tabs/index.scss +0 -0
- package/themes/{basic → light}/tabs/src/tabs/tabs.scss +0 -0
- package/themes/{basic → light}/tabs/src/tabs-item/tabs-item.scss +0 -0
- package/themes/{basic → light}/textarea/index.scss +0 -0
- package/themes/{basic → light}/textarea/src/textarea/textarea.scss +0 -0
- package/themes/{basic → light}/timepicker/index.scss +0 -0
- package/themes/{basic → light}/timepicker/src/timepicker/timepicker.scss +0 -0
- package/themes/{basic → light}/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -0
- package/themes/{basic → light}/transfer/index.scss +0 -0
- package/themes/{basic → light}/transfer/src/transfer/transfer.scss +0 -0
- package/themes/{basic → light}/virtualscroller/index.scss +0 -0
- package/themes/{basic → light}/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -0
- package/webpack.config.js +18 -52
- package/dist/themes/basic.css +0 -2
- package/dist/themes/flat.css +0 -2
- package/dist/themes/flat.dark.css +0 -2
- package/themes/basic/draggable/src/draghandler/draghandler.scss +0 -10
- package/themes/flat/button/index.scss +0 -2
- package/themes/flat/button/src/button/button.scss +0 -46
- package/themes/flat/button/src/button-group/button-group.scss +0 -5
- package/themes/flat/cascader/index.scss +0 -2
- package/themes/flat/cascader/src/cascader/cascader.scss +0 -46
- package/themes/flat/cascader/src/cascader-panel/cascader-panel.scss +0 -13
- package/themes/flat/checkbox/index.scss +0 -2
- package/themes/flat/checkbox/src/checkbox/checkbox.scss +0 -44
- package/themes/flat/checkbox/src/checkbox-group/checkbox-group.scss +0 -1
- package/themes/flat/confirm/index.scss +0 -1
- package/themes/flat/confirm/src/confirm/confirm.scss +0 -13
- package/themes/flat/datepicker/index.scss +0 -2
- package/themes/flat/datepicker/src/datepicker/datepicker.scss +0 -50
- package/themes/flat/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -44
- package/themes/flat/demo/index.scss +0 -1
- package/themes/flat/demo/src/demo/demo.scss +0 -11
- package/themes/flat/draggable/index.scss +0 -7
- package/themes/flat/draggable/src/draggrid/draggrid.scss +0 -13
- package/themes/flat/draggable/src/draggrid-item/draggrid-item.scss +0 -65
- package/themes/flat/draggable/src/draghandler/draghandler.scss +0 -10
- package/themes/flat/draggable/src/draglist/draglist.scss +0 -13
- package/themes/flat/draggable/src/draglist-item/draglist-item.scss +0 -72
- package/themes/flat/empty/index.scss +0 -1
- package/themes/flat/empty/src/empty-icon/empty-icon.scss +0 -13
- package/themes/flat/form/index.scss +0 -3
- package/themes/flat/form/src/form/form.scss +0 -1
- package/themes/flat/form/src/form-group/form-group.scss +0 -17
- package/themes/flat/form/src/form-item/form-item.scss +0 -9
- package/themes/flat/index.scss +0 -31
- package/themes/flat/info/index.scss +0 -3
- package/themes/flat/info/src/info/info.scss +0 -5
- package/themes/flat/info/src/info-column/info-column.scss +0 -5
- package/themes/flat/info/src/info-field/info-field.scss +0 -5
- package/themes/flat/input/index.scss +0 -1
- package/themes/flat/input/src/input/input.scss +0 -38
- package/themes/flat/input-number/index.scss +0 -1
- package/themes/flat/input-number/src/input-number/input-number.scss +0 -39
- package/themes/flat/loader/index.scss +0 -1
- package/themes/flat/loader/src/loader/loader.scss +0 -21
- package/themes/flat/map/index.scss +0 -1
- package/themes/flat/map/src/map/map.scss +0 -1
- package/themes/flat/modal/index.scss +0 -1
- package/themes/flat/modal/src/modal/modal.scss +0 -51
- package/themes/flat/notification/index.scss +0 -1
- package/themes/flat/notification/src/notification/notification.scss +0 -24
- package/themes/flat/paginator/index.scss +0 -1
- package/themes/flat/paginator/src/paginator/paginator.scss +0 -5
- package/themes/flat/popover/index.scss +0 -1
- package/themes/flat/popover/src/popover/popover.scss +0 -100
- package/themes/flat/radio/index.scss +0 -2
- package/themes/flat/radio/src/radio/radio.scss +0 -45
- package/themes/flat/radio/src/radio-group/radio-group.scss +0 -1
- package/themes/flat/resizer/index.scss +0 -1
- package/themes/flat/resizer/src/resizer/resizer.scss +0 -5
- package/themes/flat/root/image/empty-default.svg +0 -30
- package/themes/flat/root/image/empty-space.svg +0 -34
- package/themes/flat/root/vars.scss +0 -160
- package/themes/flat/scrollbar/index.scss +0 -1
- package/themes/flat/scrollbar/src/scrollbar/scrollbar.scss +0 -6
- package/themes/flat/select/index.scss +0 -2
- package/themes/flat/select/src/select/select.scss +0 -46
- package/themes/flat/select/src/select-option/select-option.scss +0 -1
- package/themes/flat/switch/index.scss +0 -1
- package/themes/flat/switch/src/switch/switch.scss +0 -28
- package/themes/flat/table/index.scss +0 -4
- package/themes/flat/table/src/table/table.scss +0 -15
- package/themes/flat/table/src/table-cell/table-cell.scss +0 -51
- package/themes/flat/table/src/table-column/table-column.scss +0 -32
- package/themes/flat/table/src/table-filter/table-filter.scss +0 -1
- package/themes/flat/tabs/index.scss +0 -2
- package/themes/flat/tabs/src/tabs/tabs.scss +0 -21
- package/themes/flat/tabs/src/tabs-item/tabs-item.scss +0 -18
- package/themes/flat/textarea/index.scss +0 -1
- package/themes/flat/textarea/src/textarea/textarea.scss +0 -30
- package/themes/flat/timepicker/index.scss +0 -2
- package/themes/flat/timepicker/src/timepicker/timepicker.scss +0 -50
- package/themes/flat/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -27
- package/themes/flat/transfer/index.scss +0 -1
- package/themes/flat/transfer/src/transfer/transfer.scss +0 -20
- package/themes/flat/virtualscroller/index.scss +0 -1
- package/themes/flat/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -1
- package/themes/flat-dark/button/index.scss +0 -2
- package/themes/flat-dark/button/src/button/button.scss +0 -50
- package/themes/flat-dark/button/src/button-group/button-group.scss +0 -5
- package/themes/flat-dark/cascader/index.scss +0 -2
- package/themes/flat-dark/cascader/src/cascader/cascader.scss +0 -46
- package/themes/flat-dark/cascader/src/cascader-panel/cascader-panel.scss +0 -13
- package/themes/flat-dark/checkbox/index.scss +0 -2
- package/themes/flat-dark/checkbox/src/checkbox/checkbox.scss +0 -44
- package/themes/flat-dark/checkbox/src/checkbox-group/checkbox-group.scss +0 -1
- package/themes/flat-dark/confirm/index.scss +0 -1
- package/themes/flat-dark/confirm/src/confirm/confirm.scss +0 -13
- package/themes/flat-dark/datepicker/index.scss +0 -2
- package/themes/flat-dark/datepicker/src/datepicker/datepicker.scss +0 -50
- package/themes/flat-dark/datepicker/src/datepicker-panel/datepicker-panel.scss +0 -44
- package/themes/flat-dark/demo/index.scss +0 -1
- package/themes/flat-dark/demo/src/demo/demo.scss +0 -11
- package/themes/flat-dark/draggable/index.scss +0 -7
- package/themes/flat-dark/draggable/src/draggrid/draggrid.scss +0 -13
- package/themes/flat-dark/draggable/src/draggrid-item/draggrid-item.scss +0 -65
- package/themes/flat-dark/draggable/src/draglist/draglist.scss +0 -13
- package/themes/flat-dark/draggable/src/draglist-item/draglist-item.scss +0 -72
- package/themes/flat-dark/empty/index.scss +0 -1
- package/themes/flat-dark/empty/src/empty-icon/empty-icon.scss +0 -13
- package/themes/flat-dark/form/index.scss +0 -3
- package/themes/flat-dark/form/src/form/form.scss +0 -1
- package/themes/flat-dark/form/src/form-item/form-item.scss +0 -9
- package/themes/flat-dark/index.scss +0 -31
- package/themes/flat-dark/info/index.scss +0 -3
- package/themes/flat-dark/info/src/info/info.scss +0 -5
- package/themes/flat-dark/info/src/info-column/info-column.scss +0 -5
- package/themes/flat-dark/info/src/info-field/info-field.scss +0 -5
- package/themes/flat-dark/input/index.scss +0 -1
- package/themes/flat-dark/input/src/input/input.scss +0 -38
- package/themes/flat-dark/input-number/index.scss +0 -1
- package/themes/flat-dark/input-number/src/input-number/input-number.scss +0 -39
- package/themes/flat-dark/loader/index.scss +0 -1
- package/themes/flat-dark/loader/src/loader/loader.scss +0 -21
- package/themes/flat-dark/map/index.scss +0 -1
- package/themes/flat-dark/map/src/map/map.scss +0 -1
- package/themes/flat-dark/modal/index.scss +0 -1
- package/themes/flat-dark/modal/src/modal/modal.scss +0 -51
- package/themes/flat-dark/notification/index.scss +0 -1
- package/themes/flat-dark/notification/src/notification/notification.scss +0 -24
- package/themes/flat-dark/paginator/index.scss +0 -1
- package/themes/flat-dark/paginator/src/paginator/paginator.scss +0 -5
- package/themes/flat-dark/popover/index.scss +0 -1
- package/themes/flat-dark/popover/src/popover/popover.scss +0 -100
- package/themes/flat-dark/radio/index.scss +0 -2
- package/themes/flat-dark/radio/src/radio/radio.scss +0 -45
- package/themes/flat-dark/radio/src/radio-group/radio-group.scss +0 -1
- package/themes/flat-dark/resizer/index.scss +0 -1
- package/themes/flat-dark/resizer/src/resizer/resizer.scss +0 -5
- package/themes/flat-dark/root/image/empty-default.svg +0 -30
- package/themes/flat-dark/root/image/empty-space.svg +0 -34
- package/themes/flat-dark/root/vars.scss +0 -160
- package/themes/flat-dark/scrollbar/index.scss +0 -1
- package/themes/flat-dark/scrollbar/src/scrollbar/scrollbar.scss +0 -6
- package/themes/flat-dark/select/index.scss +0 -2
- package/themes/flat-dark/select/src/select/select.scss +0 -46
- package/themes/flat-dark/select/src/select-option/select-option.scss +0 -1
- package/themes/flat-dark/switch/index.scss +0 -1
- package/themes/flat-dark/switch/src/switch/switch.scss +0 -28
- package/themes/flat-dark/table/index.scss +0 -4
- package/themes/flat-dark/table/src/table/table.scss +0 -15
- package/themes/flat-dark/table/src/table-cell/table-cell.scss +0 -51
- package/themes/flat-dark/table/src/table-column/table-column.scss +0 -32
- package/themes/flat-dark/table/src/table-filter/table-filter.scss +0 -1
- package/themes/flat-dark/tabs/index.scss +0 -2
- package/themes/flat-dark/tabs/src/tabs/tabs.scss +0 -21
- package/themes/flat-dark/tabs/src/tabs-item/tabs-item.scss +0 -18
- package/themes/flat-dark/textarea/index.scss +0 -1
- package/themes/flat-dark/textarea/src/textarea/textarea.scss +0 -30
- package/themes/flat-dark/timepicker/index.scss +0 -2
- package/themes/flat-dark/timepicker/src/timepicker/timepicker.scss +0 -50
- package/themes/flat-dark/timepicker/src/timepicker-panel/timepicker-panel.scss +0 -27
- package/themes/flat-dark/transfer/index.scss +0 -1
- package/themes/flat-dark/transfer/src/transfer/transfer.scss +0 -20
- package/themes/flat-dark/virtualscroller/index.scss +0 -1
- package/themes/flat-dark/virtualscroller/src/virtualscroller/virtualscroller.scss +0 -1
@@ -1,13 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-cascader-panel {
|
4
|
-
border: 1px solid $color-gray-90;
|
5
|
-
}
|
6
|
-
|
7
|
-
.n-cascader-panel .n-popover-option:not(.n-active) i {
|
8
|
-
color: $color-gray-60;
|
9
|
-
}
|
10
|
-
|
11
|
-
.n-cascader-panel__items:not(:last-child) {
|
12
|
-
border-right: 1px solid $color-gray-90;
|
13
|
-
}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-checkbox__checkbox {
|
4
|
-
color: $color-white;
|
5
|
-
background: rgba($color-gray-70, 0.5);
|
6
|
-
//border: 1px solid $color-gray-15;
|
7
|
-
}
|
8
|
-
|
9
|
-
.n-checkbox.n-disabled .n-checkbox__checkbox {
|
10
|
-
background: rgba($color-gray-60, 0.3);
|
11
|
-
}
|
12
|
-
|
13
|
-
@each $color, $values in $colors {
|
14
|
-
|
15
|
-
$-color-base: map_get($values, 'base');
|
16
|
-
$-color-light: map_get($values, 'light');
|
17
|
-
$-color-dark: map_get($values, 'dark');
|
18
|
-
|
19
|
-
/**
|
20
|
-
* Button primary
|
21
|
-
*/
|
22
|
-
|
23
|
-
.n-checkbox--#{$color}:not(.n-disabled):hover .n-checkbox__checkbox {
|
24
|
-
//border-color: $-color-base;
|
25
|
-
}
|
26
|
-
|
27
|
-
.n-checkbox--#{$color}.n-checked:not(.n-disabled) .n-checkbox__checkbox,
|
28
|
-
.n-checkbox--#{$color}.n-intermediate:not(.n-disabled) .n-checkbox__checkbox {
|
29
|
-
color: $color-white;
|
30
|
-
background: $-color-base;
|
31
|
-
border-color: $-color-base;
|
32
|
-
}
|
33
|
-
|
34
|
-
.n-checkbox--#{$color}.n-checked:not(.n-disabled) .n-checkbox__checkbox:not(.n-disabled):hover,
|
35
|
-
.n-checkbox--#{$color}.n-intermediate:not(.n-disabled) .n-checkbox__checkbox:not(.n-disabled):hover {
|
36
|
-
background: $-color-light;
|
37
|
-
border-color: $-color-light;
|
38
|
-
}
|
39
|
-
|
40
|
-
.n-checkbox--#{$color}.n-checked:not(.n-disabled) .n-checkbox__label {
|
41
|
-
color: $-color-base;
|
42
|
-
}
|
43
|
-
|
44
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/confirm/confirm";
|
@@ -1,13 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
@each $color, $values in $colors {
|
4
|
-
|
5
|
-
$-color-base: map_get($values, 'base');
|
6
|
-
$-color-light: map_get($values, 'light');
|
7
|
-
$-color-dark: map_get($values, 'dark');
|
8
|
-
|
9
|
-
.n-confirm--#{$color} .n-confirm__icon {
|
10
|
-
color: $-color-base;
|
11
|
-
}
|
12
|
-
|
13
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-datepicker {
|
4
|
-
background: $color-gray-90;
|
5
|
-
//border: 1px solid $color-gray-15;
|
6
|
-
}
|
7
|
-
|
8
|
-
.n-datepicker.n-disabled {
|
9
|
-
background: rgba($color-gray-75, 0.3);
|
10
|
-
}
|
11
|
-
|
12
|
-
.n-datepicker__seperator {
|
13
|
-
color: $color-gray-60;
|
14
|
-
}
|
15
|
-
|
16
|
-
.n-datepicker__clear,
|
17
|
-
.n-datepicker__angle {
|
18
|
-
color: $color-gray-60;
|
19
|
-
}
|
20
|
-
|
21
|
-
.n-datepicker__clear i {
|
22
|
-
background: rgba($color-gray-85, 0.6);
|
23
|
-
}
|
24
|
-
|
25
|
-
.n-datepicker__placeholder {
|
26
|
-
color: rgba($color-black, 0.5);
|
27
|
-
}
|
28
|
-
|
29
|
-
.n-datepicker__body,
|
30
|
-
.n-datepicker__empty {
|
31
|
-
background: $color-black;
|
32
|
-
box-shadow: 0 1px 3px 1px rgba($color-shadow, 0.15);
|
33
|
-
}
|
34
|
-
|
35
|
-
.n-datepicker__empty {
|
36
|
-
color: $color-gray-60;
|
37
|
-
}
|
38
|
-
|
39
|
-
@each $color, $values in $colors {
|
40
|
-
|
41
|
-
$-color-base: map_get($values, 'base');
|
42
|
-
$-color-light: map_get($values, 'light');
|
43
|
-
$-color-dark: map_get($values, 'dark');
|
44
|
-
|
45
|
-
//.n-datepicker--#{$color}:not(.n-disabled):hover,
|
46
|
-
.n-datepicker--#{$color}:not(.n-disabled).n-focus {
|
47
|
-
border-color: $-color-base;
|
48
|
-
}
|
49
|
-
|
50
|
-
}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-datepicker-panel {
|
4
|
-
border: 1px solid $color-gray-90;
|
5
|
-
}
|
6
|
-
|
7
|
-
.n-datepicker-panel__header {
|
8
|
-
background: $color-gray-95;
|
9
|
-
border-bottom: 1px solid $color-gray-90;
|
10
|
-
}
|
11
|
-
|
12
|
-
.n-datepicker-panel__footer {
|
13
|
-
border-top: 1px solid $color-gray-90;
|
14
|
-
}
|
15
|
-
|
16
|
-
.n-datepicker-panel__display .n-datepicker-panel__month:hover,
|
17
|
-
.n-datepicker-panel__display .n-datepicker-panel__year:hover {
|
18
|
-
background: rgba($color-gray-85, 0.6);
|
19
|
-
}
|
20
|
-
|
21
|
-
.n-datepicker-panel__dateview .n-datepicker-panel__day.n-arrive:not(.n-selected),
|
22
|
-
.n-datepicker-panel__dateview .n-datepicker-panel__day.n-depart:not(.n-selected),
|
23
|
-
.n-datepicker-panel__dateview .n-datepicker-panel__day.n-between:not(.n-selected) {
|
24
|
-
background: rgba($color-gray-85, 0.6);
|
25
|
-
}
|
26
|
-
|
27
|
-
.n-datepicker-panel__body .n-datepicker-panel__day:not(.n-current) {
|
28
|
-
color: $color-gray-60;
|
29
|
-
}
|
30
|
-
|
31
|
-
@each $color, $values in $colors {
|
32
|
-
|
33
|
-
$-color-base: map_get($values, 'base');
|
34
|
-
$-color-light: map_get($values, 'light');
|
35
|
-
$-color-dark: map_get($values, 'dark');
|
36
|
-
|
37
|
-
.n-datepicker-panel--#{$color} .n-datepicker-panel__body .n-datepicker-panel__day.n-selected,
|
38
|
-
.n-datepicker-panel--#{$color} .n-datepicker-panel__body .n-datepicker-panel__month.n-selected,
|
39
|
-
.n-datepicker-panel--#{$color} .n-datepicker-panel__body .n-datepicker-panel__year.n-selected {
|
40
|
-
color: $color-white;
|
41
|
-
background: $-color-base;
|
42
|
-
}
|
43
|
-
|
44
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/demo/demo";
|
@@ -1,13 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
@each $color, $values in $colors {
|
4
|
-
|
5
|
-
$-color-base: map_get($values, 'base');
|
6
|
-
$-color-light: map_get($values, 'light');
|
7
|
-
$-color-dark: map_get($values, 'dark');
|
8
|
-
|
9
|
-
.n-draggrid--#{$color}.n-empty.n-dragover {
|
10
|
-
background: rgba($-color-base, 0.075);
|
11
|
-
}
|
12
|
-
|
13
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-draggrid-item.n-current {
|
4
|
-
background: rgba($color-gray-35, 0.1);
|
5
|
-
}
|
6
|
-
|
7
|
-
.n-draggrid-item.n-nodrop {
|
8
|
-
background: rgba($color-danger, 0.1);
|
9
|
-
}
|
10
|
-
|
11
|
-
.n-draggrid-item .n-draggrid-item__ellipsis {
|
12
|
-
color: $color-gray-70;
|
13
|
-
}
|
14
|
-
|
15
|
-
.n-draggrid-item__checkbox {
|
16
|
-
background: rgba($color-gray-70, 0.5);
|
17
|
-
//border: 1px solid $color-gray-15;
|
18
|
-
}
|
19
|
-
|
20
|
-
.n-draggrid-item.n-disabled .n-draggrid-item__checkbox {
|
21
|
-
background: rgba($color-gray-60, 0.3);
|
22
|
-
}
|
23
|
-
|
24
|
-
@each $color, $values in $colors {
|
25
|
-
|
26
|
-
$-color-base: map_get($values, 'base');
|
27
|
-
$-color-light: map_get($values, 'light');
|
28
|
-
$-color-dark: map_get($values, 'dark');
|
29
|
-
|
30
|
-
.n-draggrid--#{$color}.n-empty.n-dragover {
|
31
|
-
background: rgba($-color-base, 0.075);
|
32
|
-
}
|
33
|
-
|
34
|
-
.n-draggrid--#{$color} .n-draggrid-item.n-dragover {
|
35
|
-
background: rgba($-color-base, 0.075);
|
36
|
-
}
|
37
|
-
|
38
|
-
.n-draggrid--#{$color} .n-draggrid-item.n-highlight {
|
39
|
-
animation: NDraggridItem#{$color} 1s linear infinite;
|
40
|
-
}
|
41
|
-
|
42
|
-
.n-draggrid--#{$color} .n-draggrid-item.n-selected .n-draggrid-item__checkbox {
|
43
|
-
color: $color-white;
|
44
|
-
background: $-color-base;
|
45
|
-
border-color: $-color-base;
|
46
|
-
}
|
47
|
-
|
48
|
-
.n-draggrid--#{$color} .n-draggrid-item.n-selected .n-draggrid-item__checkbox:hover {
|
49
|
-
background: $-color-light;
|
50
|
-
border-color: $-color-light;
|
51
|
-
}
|
52
|
-
|
53
|
-
@keyframes NDraggridItem#{$color} {
|
54
|
-
0% {
|
55
|
-
background: rgba($-color-base, 0);
|
56
|
-
}
|
57
|
-
50% {
|
58
|
-
background: rgba($-color-base, 0.150);
|
59
|
-
}
|
60
|
-
100% {
|
61
|
-
background: rgba($-color-base, 0);
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
@each $color, $values in $colors {
|
4
|
-
|
5
|
-
$-color-base: map_get($values, 'base');
|
6
|
-
$-color-light: map_get($values, 'light');
|
7
|
-
$-color-dark: map_get($values, 'dark');
|
8
|
-
|
9
|
-
.n-draglist--#{$color}.n-empty.n-dragover {
|
10
|
-
background: rgba($-color-base, 0.075);
|
11
|
-
}
|
12
|
-
|
13
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-draglist-item.n-current {
|
4
|
-
background: rgba($color-gray-35, 0.1);
|
5
|
-
}
|
6
|
-
|
7
|
-
.n-draglist-item.n-nodrop {
|
8
|
-
background: rgba($color-danger, 0.1);
|
9
|
-
}
|
10
|
-
|
11
|
-
.n-draglist-item .n-draglist-item__ellipsis {
|
12
|
-
color: $color-gray-70;
|
13
|
-
}
|
14
|
-
|
15
|
-
.n-draglist-item .n-draglist-item__expand {
|
16
|
-
color: $color-gray-40;
|
17
|
-
}
|
18
|
-
|
19
|
-
.n-draglist-item__checkbox {
|
20
|
-
background: rgba($color-gray-70, 0.5);
|
21
|
-
//border: 1px solid $color-gray-15;
|
22
|
-
}
|
23
|
-
|
24
|
-
.n-draglist-item.n-disabled .n-draglist-item__checkbox {
|
25
|
-
background: rgba($color-gray-60, 0.3);
|
26
|
-
}
|
27
|
-
|
28
|
-
@each $color, $values in $colors {
|
29
|
-
|
30
|
-
$-color-base: map_get($values, 'base');
|
31
|
-
$-color-light: map_get($values, 'light');
|
32
|
-
$-color-dark: map_get($values, 'dark');
|
33
|
-
|
34
|
-
.n-draglist--#{$color}.n-empty.n-dragover {
|
35
|
-
background: rgba($-color-base, 0.075);
|
36
|
-
}
|
37
|
-
|
38
|
-
.n-draglist--#{$color} .n-draglist-item.n-dragover {
|
39
|
-
background: rgba($-color-base, 0.075);
|
40
|
-
}
|
41
|
-
|
42
|
-
.n-draglist--#{$color} .n-draglist-item.n-highlight {
|
43
|
-
animation: NDraglistItem#{$color} 1s linear infinite;
|
44
|
-
}
|
45
|
-
|
46
|
-
.n-draglist--#{$color} .n-draglist-item.n-selected .n-draglist-item__checkbox {
|
47
|
-
color: $color-white;
|
48
|
-
background: $-color-base;
|
49
|
-
border-color: $-color-base;
|
50
|
-
}
|
51
|
-
|
52
|
-
.n-draglist--#{$color} .n-draglist-item .n-draglist-item__checkbox:hover {
|
53
|
-
//border-color: $-color-light;
|
54
|
-
}
|
55
|
-
|
56
|
-
.n-draglist--#{$color} .n-draglist-item.n-selected .n-draglist-item__checkbox:hover {
|
57
|
-
//background: $-color-light;
|
58
|
-
}
|
59
|
-
|
60
|
-
@keyframes NDraglistItem#{$color} {
|
61
|
-
0% {
|
62
|
-
background: rgba($-color-base, 0);
|
63
|
-
}
|
64
|
-
50% {
|
65
|
-
background: rgba($-color-base, 0.150);
|
66
|
-
}
|
67
|
-
100% {
|
68
|
-
background: rgba($-color-base, 0);
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/empty-icon/empty-icon";
|
@@ -1,13 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-empty-icon--default .n-empty-icon__frame {
|
4
|
-
background-image: svg-load('empty-default.svg', fill=$color-white);
|
5
|
-
}
|
6
|
-
|
7
|
-
.n-empty-icon--ufo .n-empty-icon__frame {
|
8
|
-
background-image: svg-load('empty-space.svg', fill=$color-white);
|
9
|
-
}
|
10
|
-
|
11
|
-
.n-empty-icon__text {
|
12
|
-
color: rgba($color-white, 0.4);
|
13
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
@@ -1,31 +0,0 @@
|
|
1
|
-
@import "./empty/index";
|
2
|
-
@import "./notification/index";
|
3
|
-
@import "./scrollbar/index";
|
4
|
-
@import "./resizer/index";
|
5
|
-
@import "./virtualscroller/index";
|
6
|
-
@import "./draggable/index";
|
7
|
-
@import "./loader/index";
|
8
|
-
@import "./form/index";
|
9
|
-
@import "./button/index";
|
10
|
-
@import "./input/index";
|
11
|
-
@import "./input-number/index";
|
12
|
-
@import "./textarea/index";
|
13
|
-
@import "./switch/index";
|
14
|
-
@import "./checkbox/index";
|
15
|
-
@import "./radio/index";
|
16
|
-
@import "./select/index";
|
17
|
-
@import "./cascader/index";
|
18
|
-
@import "./datepicker/index";
|
19
|
-
@import "./timepicker/index";
|
20
|
-
@import "./transfer/index";
|
21
|
-
@import "./popover/index";
|
22
|
-
@import "./modal/index";
|
23
|
-
@import "./confirm/index";
|
24
|
-
@import "./table/index";
|
25
|
-
@import "./paginator/index";
|
26
|
-
@import "./tabs/index";
|
27
|
-
@import "./info/index";
|
28
|
-
@import "./map/index";
|
29
|
-
|
30
|
-
@import "./demo/index";
|
31
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/input/input";
|
@@ -1,38 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-input {
|
4
|
-
background: $color-gray-90;
|
5
|
-
//border: 1px solid $color-gray-15;
|
6
|
-
}
|
7
|
-
|
8
|
-
.n-input.n-disabled input {
|
9
|
-
background: rgba($color-gray-75, 0.3);
|
10
|
-
}
|
11
|
-
|
12
|
-
.n-input .n-button--input {
|
13
|
-
color: $color-gray-60;
|
14
|
-
}
|
15
|
-
|
16
|
-
@each $color, $values in $colors {
|
17
|
-
|
18
|
-
$-color-base: map_get($values, 'base');
|
19
|
-
$-color-light: map_get($values, 'light');
|
20
|
-
$-color-dark: map_get($values, 'dark');
|
21
|
-
|
22
|
-
/**
|
23
|
-
* Button primary
|
24
|
-
*/
|
25
|
-
|
26
|
-
.n-input--#{$color}:not(.n-disabled):hover {
|
27
|
-
//border-color: $-color-base;
|
28
|
-
}
|
29
|
-
|
30
|
-
.n-input--#{$color}:not(.n-disabled).n-focus {
|
31
|
-
border-color: $-color-light;
|
32
|
-
}
|
33
|
-
|
34
|
-
.n-input--#{$color}:not(.n-disabled) .n-button--input:not(.n-disabled):hover {
|
35
|
-
color: $-color-base;
|
36
|
-
}
|
37
|
-
|
38
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/input-number/input-number";
|
@@ -1,39 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-input-number {
|
4
|
-
background: $color-gray-90;
|
5
|
-
//border: 1px solid $color-gray-15;
|
6
|
-
}
|
7
|
-
|
8
|
-
.n-input-number.n-disabled input {
|
9
|
-
background: rgba($color-gray-75, 0.3);
|
10
|
-
}
|
11
|
-
|
12
|
-
.n-input-number .n-button {
|
13
|
-
color: $color-gray-40;
|
14
|
-
background: rgba($color-gray-75, 0.5);
|
15
|
-
}
|
16
|
-
|
17
|
-
@each $color, $values in $colors {
|
18
|
-
|
19
|
-
$-color-base: map_get($values, 'base');
|
20
|
-
$-color-light: map_get($values, 'light');
|
21
|
-
$-color-dark: map_get($values, 'dark');
|
22
|
-
|
23
|
-
/**
|
24
|
-
* Button primary
|
25
|
-
*/
|
26
|
-
|
27
|
-
.n-input-number--#{$color}:not(.n-disabled):hover {
|
28
|
-
//border-color: $-color-base;
|
29
|
-
}
|
30
|
-
|
31
|
-
.n-input-number--#{$color}:not(.n-disabled).n-focus {
|
32
|
-
border-color: $-color-light;
|
33
|
-
}
|
34
|
-
|
35
|
-
.n-input-number--#{$color}:not(.n-disabled) .n-button:hover {
|
36
|
-
color: $-color-base;
|
37
|
-
}
|
38
|
-
|
39
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/loader/loader";
|
@@ -1,21 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-load:before {
|
4
|
-
border: 2px solid $color-primary;
|
5
|
-
}
|
6
|
-
|
7
|
-
.n-load:after {
|
8
|
-
background: rgba($color-black, 0.7);
|
9
|
-
}
|
10
|
-
|
11
|
-
@each $color, $values in $colors {
|
12
|
-
|
13
|
-
$-color-base: map_get($values, 'base');
|
14
|
-
$-color-light: map_get($values, 'light');
|
15
|
-
$-color-dark: map_get($values, 'dark');
|
16
|
-
|
17
|
-
.n-loader--#{$color}.n-load:before {
|
18
|
-
border-color: $-color-base;
|
19
|
-
}
|
20
|
-
|
21
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/map/map";
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/modal/modal";
|
@@ -1,51 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
$modal: (
|
4
|
-
'default': (
|
5
|
-
'color': $color-white,
|
6
|
-
'border': $color-gray-95,
|
7
|
-
'header': $color-gray-95,
|
8
|
-
'body': $color-black,
|
9
|
-
'footer': $color-gray-95,
|
10
|
-
),
|
11
|
-
'preview': (
|
12
|
-
'color': $color-black,
|
13
|
-
'border': $color-gray-10,
|
14
|
-
'header': $color-gray-05,
|
15
|
-
'body': $color-white,
|
16
|
-
'footer': $color-gray-05,
|
17
|
-
)
|
18
|
-
) !default;
|
19
|
-
|
20
|
-
.n-modal__backdrop {
|
21
|
-
background: rgba($color-gray-70, 0.6);
|
22
|
-
}
|
23
|
-
|
24
|
-
.n-modal__frame {
|
25
|
-
box-shadow: 0 1px 5px 1px rgba($color-shadow, 0.20);
|
26
|
-
}
|
27
|
-
|
28
|
-
@each $suffix, $values in $modal {
|
29
|
-
|
30
|
-
$-modal-color: map-get($values, 'color');
|
31
|
-
$-modal-border: map-get($values, 'border');
|
32
|
-
$-modal-header: map-get($values, 'header');
|
33
|
-
$-modal-body: map-get($values, 'body');
|
34
|
-
$-modal-footer: map-get($values, 'footer');
|
35
|
-
|
36
|
-
.n-modal--#{$suffix} .n-modal__frame {
|
37
|
-
color: $-modal-color;
|
38
|
-
background: $-modal-body;
|
39
|
-
}
|
40
|
-
|
41
|
-
.n-modal--#{$suffix} .n-modal__header {
|
42
|
-
border-bottom: 1px solid $-modal-border;
|
43
|
-
background: $-modal-header;
|
44
|
-
}
|
45
|
-
|
46
|
-
.n-modal--#{$suffix} .n-modal__footer {
|
47
|
-
border-top: 1px solid $-modal-border;
|
48
|
-
background: $-modal-footer;
|
49
|
-
}
|
50
|
-
|
51
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/notification/notification";
|
@@ -1,24 +0,0 @@
|
|
1
|
-
@import "../../../root/vars";
|
2
|
-
|
3
|
-
.n-notification {
|
4
|
-
background: $color-white;
|
5
|
-
box-shadow: 0 1px 5px 1px rgba($color-shadow, 0.20);
|
6
|
-
}
|
7
|
-
|
8
|
-
|
9
|
-
@each $color, $values in $colors {
|
10
|
-
|
11
|
-
$-color-base: map_get($values, 'base');
|
12
|
-
$-color-light: map_get($values, 'light');
|
13
|
-
$-color-dark: map_get($values, 'dark');
|
14
|
-
|
15
|
-
.n-notification--#{$color} {
|
16
|
-
background: $-color-base;
|
17
|
-
}
|
18
|
-
|
19
|
-
.n-notification--#{$color} .n-notification__icon,
|
20
|
-
.n-notification--#{$color} .n-notification__text {
|
21
|
-
color: $color-white;
|
22
|
-
}
|
23
|
-
|
24
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "./src/paginator/paginator";
|