@kizmann/nano-ui 0.9.4 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- package/demos/builder.html +18 -8
- package/demos/overview.html +1 -1
- package/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +2 -2
- package/dist/nano-ui.js.map +1 -1
- package/dist/themes/dark.css +2 -0
- package/dist/themes/light.css +1 -1
- package/package.json +1 -1
- package/src/config/src/builder/builder.js +85 -16
- package/src/config/src/builder/builder.scss +9 -1
- package/src/config/src/config/config-next.js +16 -2
- package/src/datetimepicker/src/datetimepicker/datetimepicker.scss +2 -2
- package/src/empty/src/empty-icon/empty-icon.js +12 -0
- package/src/empty/src/empty-icon/empty-icon.scss +10 -0
- package/src/preview/src/preview/preview.js +19 -1
- package/src/preview/src/preview-image/preview-image.js +2 -1
- package/src/select/src/select/select.js +1 -1
- package/src/slider/src/slider/slider.scss +1 -6
- package/src/table/src/table/table.scss +4 -0
- package/src/tags/src/tags-item/tags-item.scss +1 -1
- package/themes/macos/alert/index.scss +1 -0
- package/themes/macos/alert/src/alert/alert.scss +26 -0
- package/themes/macos/button/index.scss +2 -0
- package/themes/macos/button/src/button/button.scss +46 -0
- package/themes/macos/button/src/button-group/button-group.scss +1 -0
- package/themes/macos/cascader/index.scss +2 -0
- package/themes/macos/cascader/src/cascader/cascader.scss +46 -0
- package/themes/macos/cascader/src/cascader-panel/cascader-panel.scss +14 -0
- package/themes/macos/checkbox/index.scss +2 -0
- package/themes/macos/checkbox/src/checkbox/checkbox.scss +44 -0
- package/themes/macos/checkbox/src/checkbox-group/checkbox-group.scss +1 -0
- package/themes/macos/collapse/index.scss +2 -0
- package/themes/macos/collapse/src/collapse/collapse.scss +21 -0
- package/themes/macos/collapse/src/collapse-item/collapse-item.scss +21 -0
- package/themes/macos/confirm/index.scss +1 -0
- package/themes/macos/confirm/src/confirm/confirm.scss +13 -0
- package/themes/macos/datepicker/index.scss +2 -0
- package/themes/macos/datepicker/src/datepicker/datepicker.scss +50 -0
- package/themes/macos/datepicker/src/datepicker-panel/datepicker-panel.scss +44 -0
- package/themes/macos/datetimepicker/index.scss +1 -0
- package/themes/macos/datetimepicker/src/datetimepicker/datetimepicker.scss +67 -0
- package/themes/macos/demo/index.scss +1 -0
- package/themes/macos/demo/src/demo/demo.scss +22 -0
- package/themes/macos/draggable/index.scss +9 -0
- package/themes/macos/draggable/src/draggrid/draggrid.scss +13 -0
- package/themes/macos/draggable/src/draggrid-item/draggrid-item.scss +65 -0
- package/themes/macos/draggable/src/draghandler/draghandler.scss +15 -0
- package/themes/macos/draggable/src/draglist/draglist.scss +13 -0
- package/themes/macos/draggable/src/draglist-item/draglist-item.scss +72 -0
- package/themes/macos/draggable/src/dropzone/dropzone.scss +13 -0
- package/themes/macos/durationpicker/index.scss +1 -0
- package/themes/macos/durationpicker/src/durationpicker/durationpicker.scss +52 -0
- package/themes/macos/empty/index.scss +1 -0
- package/themes/macos/empty/src/empty-icon/empty-icon.scss +13 -0
- package/themes/macos/file/index.scss +1 -0
- package/themes/macos/file/src/file/file.scss +38 -0
- package/themes/macos/form/index.scss +3 -0
- package/themes/macos/form/src/form/form.scss +1 -0
- package/themes/macos/form/src/form-group/form-group.scss +17 -0
- package/themes/macos/form/src/form-item/form-item.scss +29 -0
- package/themes/macos/index-dark.scss +41 -0
- package/themes/macos/index-light.scss +41 -0
- package/themes/macos/index.scss +41 -0
- package/themes/macos/info/index.scss +3 -0
- package/themes/macos/info/src/info/info.scss +5 -0
- package/themes/macos/info/src/info-column/info-column.scss +5 -0
- package/themes/macos/info/src/info-field/info-field.scss +5 -0
- package/themes/macos/input/index.scss +1 -0
- package/themes/macos/input/src/input/input.scss +38 -0
- package/themes/macos/input-number/index.scss +1 -0
- package/themes/macos/input-number/src/input-number/input-number.scss +47 -0
- package/themes/macos/loader/index.scss +1 -0
- package/themes/macos/loader/src/loader/loader.scss +21 -0
- package/themes/macos/map/index.scss +1 -0
- package/themes/macos/map/src/map/map.scss +1 -0
- package/themes/macos/modal/index.scss +1 -0
- package/themes/macos/modal/src/modal/modal.scss +34 -0
- package/themes/macos/notification/index.scss +1 -0
- package/themes/macos/notification/src/notification/notification.scss +24 -0
- package/themes/macos/paginator/index.scss +1 -0
- package/themes/macos/paginator/src/paginator/paginator.scss +5 -0
- package/themes/macos/popover/index.scss +1 -0
- package/themes/macos/popover/src/popover/popover.scss +83 -0
- package/themes/macos/radio/index.scss +2 -0
- package/themes/macos/radio/src/radio/radio.scss +45 -0
- package/themes/macos/radio/src/radio-group/radio-group.scss +1 -0
- package/themes/macos/rating/index.scss +1 -0
- package/themes/macos/rating/src/rating/rating.scss +18 -0
- package/themes/macos/resizer/index.scss +1 -0
- package/themes/macos/resizer/src/resizer/resizer.scss +5 -0
- package/themes/macos/root/image/empty-default.svg +30 -0
- package/themes/macos/root/image/empty-space.svg +34 -0
- package/themes/macos/root/image/star-default.svg +10 -0
- package/themes/macos/root/vars-dark.scss +221 -0
- package/themes/macos/root/vars-light.scss +221 -0
- package/themes/macos/root/vars.scss +220 -0
- package/themes/macos/scrollbar/index.scss +1 -0
- package/themes/macos/scrollbar/src/scrollbar/scrollbar.scss +6 -0
- package/themes/macos/select/index.scss +2 -0
- package/themes/macos/select/src/select/select.scss +48 -0
- package/themes/macos/select/src/select-option/select-option.scss +1 -0
- package/themes/macos/slider/index.scss +1 -0
- package/themes/macos/slider/src/slider/slider.scss +21 -0
- package/themes/macos/switch/index.scss +1 -0
- package/themes/macos/switch/src/switch/switch.scss +28 -0
- package/themes/macos/table/index.scss +4 -0
- package/themes/macos/table/src/table/table.scss +15 -0
- package/themes/macos/table/src/table-cell/table-cell.scss +50 -0
- package/themes/macos/table/src/table-column/table-column.scss +32 -0
- package/themes/macos/table/src/table-filter/table-filter.scss +1 -0
- package/themes/macos/tabs/index.scss +2 -0
- package/themes/macos/tabs/src/tabs/tabs.scss +21 -0
- package/themes/macos/tabs/src/tabs-item/tabs-item.scss +18 -0
- package/themes/macos/tags/index.scss +2 -0
- package/themes/macos/tags/src/tags/tags.scss +1 -0
- package/themes/macos/tags/src/tags-item/tags-item.scss +28 -0
- package/themes/macos/textarea/index.scss +1 -0
- package/themes/macos/textarea/src/textarea/textarea.scss +30 -0
- package/themes/macos/timepicker/index.scss +2 -0
- package/themes/macos/timepicker/src/timepicker/timepicker.scss +50 -0
- package/themes/macos/timepicker/src/timepicker-panel/timepicker-panel.scss +27 -0
- package/themes/macos/transfer/index.scss +1 -0
- package/themes/macos/transfer/src/transfer/transfer.scss +18 -0
- package/themes/macos/virtualscroller/index.scss +1 -0
- package/themes/macos/virtualscroller/src/virtualscroller/virtualscroller.scss +1 -0
- package/webpack.config.js +32 -86
@@ -0,0 +1,41 @@
|
|
1
|
+
@import "./root/vars-light";
|
2
|
+
|
3
|
+
@import "./empty/index";
|
4
|
+
@import "./alert/index";
|
5
|
+
@import "./notification/index";
|
6
|
+
@import "./scrollbar/index";
|
7
|
+
@import "./resizer/index";
|
8
|
+
@import "./virtualscroller/index";
|
9
|
+
@import "./draggable/index";
|
10
|
+
@import "./loader/index";
|
11
|
+
@import "./file/index";
|
12
|
+
@import "./form/index";
|
13
|
+
@import "./button/index";
|
14
|
+
@import "./input/index";
|
15
|
+
@import "./input-number/index";
|
16
|
+
@import "./textarea/index";
|
17
|
+
@import "./switch/index";
|
18
|
+
@import "./checkbox/index";
|
19
|
+
@import "./radio/index";
|
20
|
+
@import "./select/index";
|
21
|
+
@import "./cascader/index";
|
22
|
+
@import "./datepicker/index";
|
23
|
+
@import "./timepicker/index";
|
24
|
+
@import "./datetimepicker/index";
|
25
|
+
@import "./durationpicker/index";
|
26
|
+
@import "./transfer/index";
|
27
|
+
@import "./popover/index";
|
28
|
+
@import "./modal/index";
|
29
|
+
@import "./confirm/index";
|
30
|
+
@import "./table/index";
|
31
|
+
@import "./paginator/index";
|
32
|
+
@import "./tabs/index";
|
33
|
+
@import "./tags/index";
|
34
|
+
@import "./collapse/index";
|
35
|
+
@import "./info/index";
|
36
|
+
@import "./map/index";
|
37
|
+
@import "./rating/index";
|
38
|
+
@import "./slider/index";
|
39
|
+
|
40
|
+
@import "./demo/index";
|
41
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
@import "./root/vars-dark";
|
2
|
+
|
3
|
+
@import "./empty/index";
|
4
|
+
@import "./alert/index";
|
5
|
+
@import "./notification/index";
|
6
|
+
@import "./scrollbar/index";
|
7
|
+
@import "./resizer/index";
|
8
|
+
@import "./virtualscroller/index";
|
9
|
+
@import "./draggable/index";
|
10
|
+
@import "./loader/index";
|
11
|
+
@import "./file/index";
|
12
|
+
@import "./form/index";
|
13
|
+
@import "./button/index";
|
14
|
+
@import "./input/index";
|
15
|
+
@import "./input-number/index";
|
16
|
+
@import "./textarea/index";
|
17
|
+
@import "./switch/index";
|
18
|
+
@import "./checkbox/index";
|
19
|
+
@import "./radio/index";
|
20
|
+
@import "./select/index";
|
21
|
+
@import "./cascader/index";
|
22
|
+
@import "./datepicker/index";
|
23
|
+
@import "./timepicker/index";
|
24
|
+
@import "./datetimepicker/index";
|
25
|
+
@import "./durationpicker/index";
|
26
|
+
@import "./transfer/index";
|
27
|
+
@import "./popover/index";
|
28
|
+
@import "./modal/index";
|
29
|
+
@import "./confirm/index";
|
30
|
+
@import "./table/index";
|
31
|
+
@import "./paginator/index";
|
32
|
+
@import "./tabs/index";
|
33
|
+
@import "./tags/index";
|
34
|
+
@import "./collapse/index";
|
35
|
+
@import "./info/index";
|
36
|
+
@import "./map/index";
|
37
|
+
@import "./rating/index";
|
38
|
+
@import "./slider/index";
|
39
|
+
|
40
|
+
@import "./demo/index";
|
41
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/input/input";
|
@@ -0,0 +1,38 @@
|
|
1
|
+
@import "../../../root/vars";
|
2
|
+
|
3
|
+
.n-input {
|
4
|
+
background: $color-input;
|
5
|
+
border: 1px solid $color-gray-15;
|
6
|
+
}
|
7
|
+
|
8
|
+
.n-input.n-disabled input {
|
9
|
+
background: rgba($color-gray-15, 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
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/input-number/input-number";
|
@@ -0,0 +1,47 @@
|
|
1
|
+
@import "../../../root/vars";
|
2
|
+
|
3
|
+
.n-input-number {
|
4
|
+
background: $color-input;
|
5
|
+
border: 1px solid $color-gray-15;
|
6
|
+
}
|
7
|
+
|
8
|
+
.n-input-number.n-disabled input {
|
9
|
+
background: rgba($color-gray-15, 0.3);
|
10
|
+
}
|
11
|
+
|
12
|
+
.n-input-number .n-button {
|
13
|
+
color: $color-gray-60;
|
14
|
+
background: rgba($color-gray-15, 0.5);
|
15
|
+
}
|
16
|
+
|
17
|
+
.n-input-number__clear {
|
18
|
+
color: $color-gray-60;
|
19
|
+
}
|
20
|
+
|
21
|
+
.n-input-number__clear i {
|
22
|
+
background: rgba($color-gray-15, 0.6);
|
23
|
+
}
|
24
|
+
|
25
|
+
@each $color, $values in $colors {
|
26
|
+
|
27
|
+
$-color-base: map_get($values, 'base');
|
28
|
+
$-color-light: map_get($values, 'light');
|
29
|
+
$-color-dark: map_get($values, 'dark');
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Button primary
|
33
|
+
*/
|
34
|
+
|
35
|
+
.n-input-number--#{$color}:not(.n-disabled):hover {
|
36
|
+
border-color: $-color-base;
|
37
|
+
}
|
38
|
+
|
39
|
+
.n-input-number--#{$color}:not(.n-disabled).n-focus {
|
40
|
+
border-color: $-color-light;
|
41
|
+
}
|
42
|
+
|
43
|
+
.n-input-number--#{$color}:not(.n-disabled) .n-button:hover {
|
44
|
+
color: $-color-base;
|
45
|
+
}
|
46
|
+
|
47
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/loader/loader";
|
@@ -0,0 +1,21 @@
|
|
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-background, 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
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/map/map";
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "../../../root/vars";
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/modal/modal";
|
@@ -0,0 +1,34 @@
|
|
1
|
+
@import "../../../root/vars";
|
2
|
+
|
3
|
+
.n-modal__backdrop {
|
4
|
+
background: rgba(#000, 0.6);
|
5
|
+
}
|
6
|
+
|
7
|
+
.n-modal__frame {
|
8
|
+
box-shadow: 0 1px 5px 1px rgba($color-shadow, 0.20);
|
9
|
+
}
|
10
|
+
|
11
|
+
@each $suffix, $values in $modal {
|
12
|
+
|
13
|
+
$-modal-color: map-get($values, 'color');
|
14
|
+
$-modal-border: map-get($values, 'border');
|
15
|
+
$-modal-header: map-get($values, 'header');
|
16
|
+
$-modal-body: map-get($values, 'body');
|
17
|
+
$-modal-footer: map-get($values, 'footer');
|
18
|
+
|
19
|
+
.n-modal--#{$suffix} .n-modal__frame {
|
20
|
+
color: $-modal-color;
|
21
|
+
background: $-modal-body;
|
22
|
+
}
|
23
|
+
|
24
|
+
.n-modal--#{$suffix} .n-modal__header {
|
25
|
+
border-bottom: 1px solid $-modal-border;
|
26
|
+
background: $-modal-header;
|
27
|
+
}
|
28
|
+
|
29
|
+
.n-modal--#{$suffix} .n-modal__footer {
|
30
|
+
border-top: 1px solid $-modal-border;
|
31
|
+
background: $-modal-footer;
|
32
|
+
}
|
33
|
+
|
34
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/notification/notification";
|
@@ -0,0 +1,24 @@
|
|
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
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/paginator/paginator";
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/popover/popover";
|
@@ -0,0 +1,83 @@
|
|
1
|
+
@import "../../../root/vars";
|
2
|
+
|
3
|
+
.n-popover__frame {
|
4
|
+
box-shadow: 0 1px 3px 1px rgba($color-shadow, 0.15);
|
5
|
+
}
|
6
|
+
|
7
|
+
.n-popover-option {
|
8
|
+
color: $color-foreground;
|
9
|
+
}
|
10
|
+
|
11
|
+
.n-popover-group {
|
12
|
+
color: $color-gray-40;
|
13
|
+
}
|
14
|
+
|
15
|
+
.n-popover-option:not(.n-disabled).n-hover,
|
16
|
+
.n-popover-option:not(.n-disabled):hover {
|
17
|
+
background: rgba($color-gray-50, 0.07);
|
18
|
+
}
|
19
|
+
|
20
|
+
.n-popover-option:not(.n-disabled).n-focus,
|
21
|
+
.n-popover-option:not(.n-disabled).n-focus:hover {
|
22
|
+
background: rgba($color-gray-50, 0.14);
|
23
|
+
}
|
24
|
+
|
25
|
+
.n-popover-option .n-image {
|
26
|
+
color: $color-gray-60;
|
27
|
+
}
|
28
|
+
|
29
|
+
.n-popover-option .n-icon {
|
30
|
+
color: $color-gray-60;
|
31
|
+
}
|
32
|
+
|
33
|
+
@each $suffix, $values in $popover {
|
34
|
+
|
35
|
+
$-popover-color: map-get($values, 'color');
|
36
|
+
$-popover-border: map-get($values, 'border');
|
37
|
+
$-popover-header: map-get($values, 'header');
|
38
|
+
$-popover-body: map-get($values, 'body');
|
39
|
+
$-popover-footer: map-get($values, 'footer');
|
40
|
+
|
41
|
+
.n-popover--#{$suffix} .n-popover__frame {
|
42
|
+
color: $-popover-color;
|
43
|
+
background: $-popover-body;
|
44
|
+
border: 1px solid $-popover-border;
|
45
|
+
}
|
46
|
+
|
47
|
+
.n-popover--#{$suffix} .n-popover__header {
|
48
|
+
border-bottom: 1px solid $-popover-border;
|
49
|
+
background: $-popover-header;
|
50
|
+
}
|
51
|
+
|
52
|
+
.n-popover--#{$suffix} .n-popover__footer {
|
53
|
+
border-top: 1px solid $-popover-border;
|
54
|
+
background: $-popover-footer;
|
55
|
+
}
|
56
|
+
|
57
|
+
.n-popover--#{$suffix} .n-popover-option {
|
58
|
+
color: $-popover-color;
|
59
|
+
}
|
60
|
+
|
61
|
+
}
|
62
|
+
|
63
|
+
@each $color, $values in $colors {
|
64
|
+
|
65
|
+
$-color-base: map_get($values, 'base');
|
66
|
+
$-color-light: map_get($values, 'light');
|
67
|
+
$-color-dark: map_get($values, 'dark');
|
68
|
+
|
69
|
+
.n-popover-option--#{$color}.n-active,
|
70
|
+
.n-popover-option--#{$color} .n-icon {
|
71
|
+
color: $-color-base;
|
72
|
+
}
|
73
|
+
|
74
|
+
}
|
75
|
+
|
76
|
+
.n-popover--tooltip .n-popover__frame {
|
77
|
+
color: $color-white;
|
78
|
+
background: rgba($color-black, 0.9);
|
79
|
+
}
|
80
|
+
|
81
|
+
.n-popover--tooltip .n-popover__body {
|
82
|
+
padding: 3px 8px;
|
83
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
@import "../../../root/vars";
|
2
|
+
|
3
|
+
.n-radio__radio {
|
4
|
+
color: $color-black;
|
5
|
+
background: $color-input;
|
6
|
+
border: 1px solid $color-gray-15;
|
7
|
+
}
|
8
|
+
|
9
|
+
.n-radio.n-disabled .n-radio__radio {
|
10
|
+
background: rgba($color-gray-15, 0.3);
|
11
|
+
}
|
12
|
+
|
13
|
+
.n-radio__radio span {
|
14
|
+
background: $color-black;
|
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
|
+
.n-radio--#{$color}:not(.n-disabled):hover .n-radio__radio {
|
24
|
+
border-color: $-color-base;
|
25
|
+
}
|
26
|
+
|
27
|
+
.n-radio--#{$color}.n-checked:not(.n-disabled) .n-radio__radio {
|
28
|
+
background: $-color-base;
|
29
|
+
border-color: $-color-base;
|
30
|
+
}
|
31
|
+
|
32
|
+
.n-radio--#{$color}.n-checked:not(.n-disabled) .n-radio__radio span {
|
33
|
+
background: $color-white;
|
34
|
+
}
|
35
|
+
|
36
|
+
.n-radio--#{$color}.n-checked:not(.n-disabled) .n-radio__radio:not(.n-disabled):hover {
|
37
|
+
background: $-color-light;
|
38
|
+
border-color: $-color-light;
|
39
|
+
}
|
40
|
+
|
41
|
+
.n-radio--#{$color}.n-checked:not(.n-disabled) .n-radio__label {
|
42
|
+
color: $-color-base;
|
43
|
+
}
|
44
|
+
|
45
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "../../../root/vars";
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/rating/rating";
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@import "../../../root/vars";
|
2
|
+
|
3
|
+
.n-rating__stars span:before,
|
4
|
+
.n-rating__stars span:after {
|
5
|
+
background-image: svg-load('star-default.svg', fill=$color-gray-10);
|
6
|
+
}
|
7
|
+
|
8
|
+
@each $color, $values in $colors {
|
9
|
+
|
10
|
+
$-color-base: map_get($values, 'base');
|
11
|
+
$-color-light: map_get($values, 'light');
|
12
|
+
$-color-dark: map_get($values, 'dark');
|
13
|
+
|
14
|
+
.n-rating--#{$color} .n-rating__stars span:before {
|
15
|
+
background-image: svg-load('star-default.svg', fill=$-color-base);
|
16
|
+
}
|
17
|
+
|
18
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "./src/resizer/resizer";
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
+
viewBox="0 0 320 320" style="enable-background:new 0 0 320 320;" xml:space="preserve">
|
5
|
+
<style type="text/css">
|
6
|
+
.st0{opacity:0.2;}
|
7
|
+
.st1{opacity:0.4;}
|
8
|
+
.st2{opacity:0.6;}
|
9
|
+
.st3{opacity:0.5;}
|
10
|
+
.st4{opacity:0.8;}
|
11
|
+
</style>
|
12
|
+
<g id="Ebene_1_5_">
|
13
|
+
<path class="st0" d="M99,191.8c1.7,0,3.3,1,3.9,2.6l6.8,15.7c1.7,3.9,5.6,6.5,9.9,6.5H204c4.3,0,8.2-2.5,9.9-6.5l6.8-15.7
|
14
|
+
c0.7-1.6,2.2-2.6,3.9-2.6h22.5v-82h-48.6c-14.8,0-26.7-12-26.7-26.7V34.5H94.3c-9.8,0-17.8,8-17.8,17.8v139.5H99z"/>
|
15
|
+
<path class="st1" d="M198.5,109.8h48.6l-75.4-75.4v48.6C171.8,97.9,183.7,109.8,198.5,109.8z"/>
|
16
|
+
<path class="st2" d="M141.8,107.4h-24.1c-3.8,0-7-3.1-7-7l0,0c0-3.8,3.1-7,7-7h24.1c3.8,0,7,3.1,7,7l0,0
|
17
|
+
C148.7,104.3,145.6,107.4,141.8,107.4z"/>
|
18
|
+
<path class="st2" d="M210.9,152.2h-92.5c-4.2,0-7.6-3.4-7.6-7.6v0c0-4.2,3.4-7.6,7.6-7.6h92.5c4.2,0,7.6,3.4,7.6,7.6v0
|
19
|
+
C218.6,148.8,215.2,152.2,210.9,152.2z"/>
|
20
|
+
<path class="st2" d="M210.9,188.6h-92.5c-4.2,0-7.6-3.4-7.6-7.6v0c0-4.2,3.4-7.6,7.6-7.6h92.5c4.2,0,7.6,3.4,7.6,7.6v0
|
21
|
+
C218.6,185.1,215.2,188.6,210.9,188.6z"/>
|
22
|
+
</g>
|
23
|
+
<path class="st3" d="M220.7,194.4l-6.8,15.7c-1.7,3.9-5.6,6.5-9.9,6.5h-84.3c-4.3,0-8.2-2.5-9.9-6.5l-6.8-15.7
|
24
|
+
c-0.7-1.6-2.2-2.6-3.9-2.6H37V278c0,5.9,4.8,10.8,10.8,10.8h228.1c5.9,0,10.8-4.8,10.8-10.8v-86.1h-62
|
25
|
+
C222.9,191.8,221.4,192.8,220.7,194.4z"/>
|
26
|
+
<g class="st4">
|
27
|
+
<polygon points="76.5,142 37,191.8 76.5,191.8 "/>
|
28
|
+
<polygon points="247.1,142 247.1,191.8 286.6,191.8 "/>
|
29
|
+
</g>
|
30
|
+
</svg>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
+
viewBox="0 0 320 320" style="enable-background:new 0 0 320 320;" xml:space="preserve">
|
5
|
+
<style type="text/css">
|
6
|
+
.st0{opacity:0.3;enable-background:new ;}
|
7
|
+
.st1{display:none;fill:#898E93;}
|
8
|
+
.st2{opacity:0.7;}
|
9
|
+
.st3{opacity:0.15;enable-background:new ;}
|
10
|
+
.st4{opacity:0.5;fill:url(#SVGID_1_);enable-background:new ;}
|
11
|
+
.st5{opacity:0.6;}
|
12
|
+
.st6{opacity:0.3;}
|
13
|
+
</style>
|
14
|
+
<ellipse class="st0" cx="160.5" cy="270" rx="106.5" ry="32"/>
|
15
|
+
<rect x="141.6" y="125.7" transform="matrix(0.4341 -0.9009 0.9009 0.4341 -36.7959 214.9154)" class="st1" width="22.1" height="22.1"/>
|
16
|
+
<circle class="st1" cx="192.8" cy="187.3" r="15.1"/>
|
17
|
+
<path class="st1" d="M124.8,262.5l-15.3-52l52.9,11.7L124.8,262.5z"/>
|
18
|
+
<path class="st2" d="M216.8,94.2c0-8.7-25.2-15.8-56.3-15.8s-56.3,7.1-56.3,15.8l3.6,10c0-8.2,23.6-14.8,52.8-14.8
|
19
|
+
s52.8,6.6,52.8,14.8L216.8,94.2z"/>
|
20
|
+
<path class="st3" d="M160.5,238c51.7,0,94.9,11.1,104.5,25.8l-51.7-159.6c0-8.2-23.6-14.8-52.8-14.8s-52.8,6.6-52.8,14.8L56,263.8
|
21
|
+
C65.6,249.1,108.8,238,160.5,238z"/>
|
22
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="160.5" y1="123.1656" x2="160.5" y2="220.5235" gradientTransform="matrix(1 0 0 -1 0 322)">
|
23
|
+
<stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0"/>
|
24
|
+
<stop offset="1" style="stop-color:#FFFFFF"/>
|
25
|
+
</linearGradient>
|
26
|
+
<path class="st4" d="M160.5,89.3c-9.7,0-18.8,0.7-26.6,2L108,203.2h105L187.1,91.4C179.3,90.1,170.2,89.3,160.5,89.3z"/>
|
27
|
+
<path class="st5" d="M160.5,40c17.2,0,33.2,1.8,47.4,4.8c-5.2-14.9-24.4-26-47.4-26s-42.2,11.1-47.4,26
|
28
|
+
C127.3,41.9,143.3,40,160.5,40z"/>
|
29
|
+
<path d="M160.5,50.7C100,50.7,51,64,51,80.4c0,11.2,22.6,20.9,56,26l0.7-2.3l-3.6-10c0-8.7,25.2-15.8,56.3-15.8s56.3,7.1,56.3,15.8
|
30
|
+
l-3.6,10l0.7,2.3c33.4-5.1,56-14.8,56-26C270,64,221,50.7,160.5,50.7z"/>
|
31
|
+
<path class="st6" d="M160.5,50.7C221,50.7,270,64,270,80.4C270,64,223.2,40,160.5,40S51,64,51,80.4C51,64,100,50.7,160.5,50.7z"/>
|
32
|
+
<image style="overflow:visible;" width="352" height="368" xlink:href="../../../../../Desktop/Screen Shot 2021-01-22 at 4.55.46 PM.png" transform="matrix(0.5 0 0 0.5 -202.8271 18.7864)">
|
33
|
+
</image>
|
34
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 26.5.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
+
viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
|
5
|
+
<g>
|
6
|
+
<path d="M15.891,0.561l4.097,8.408l9.16,1.348c0.815,0.12,1.14,1.135,0.551,1.717l-6.629,6.545l1.565,9.242
|
7
|
+
c0.139,0.822-0.713,1.449-1.442,1.061L15,24.519l-8.193,4.363c-0.729,0.388-1.581-0.239-1.442-1.061l1.565-9.242l-6.629-6.545
|
8
|
+
c-0.59-0.582-0.264-1.597,0.551-1.717l9.16-1.348l4.097-8.408C14.473-0.187,15.527-0.187,15.891,0.561z"/>
|
9
|
+
</g>
|
10
|
+
</svg>
|