@kizmann/nano-ui 1.0.0 → 1.0.1
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/dist/nano-ui.css +1 -0
- package/dist/nano-ui.js +4 -0
- package/dist/nano-ui.js.map +1 -0
- package/dist/themes/dark.css +1 -0
- package/dist/themes/light.css +1 -0
- package/package.json +7 -1
- package/.github/workflows/compile-deploy-publish.yml +0 -65
- package/assets/nano-ui-dark.svg +0 -19
- package/assets/nano-ui-light.svg +0 -19
- package/assets/pico-js-dark.svg +0 -19
- package/assets/pico-js-light.svg +0 -19
- package/babel.config.js +0 -17
- package/demos/builder.html +0 -411
- package/demos/button/index.html +0 -129
- package/demos/cascader/index.html +0 -127
- package/demos/chart/index.html +0 -53
- package/demos/checkbox/index.html +0 -97
- package/demos/config/index.html +0 -95
- package/demos/confirm/index.html +0 -78
- package/demos/datepicker/index.html +0 -69
- package/demos/draggable/index.html +0 -127
- package/demos/form/index.html +0 -83
- package/demos/form.html +0 -462
- package/demos/grid.html +0 -321
- package/demos/input/index.html +0 -100
- package/demos/map/index.html +0 -81
- package/demos/matrix/index.html +0 -104
- package/demos/modal/index.html +0 -98
- package/demos/overview.html +0 -1468
- package/demos/paginator/index.html +0 -58
- package/demos/popover/index.html +0 -103
- package/demos/radio/index.html +0 -71
- package/demos/resizer/index.html +0 -106
- package/demos/scrollbar.html +0 -328
- package/demos/select/index.html +0 -174
- package/demos/select.html +0 -164
- package/demos/style.css +0 -50
- package/demos/switch/index.html +0 -69
- package/demos/table/index.html +0 -126
- package/demos/tabs/index.html +0 -110
- package/demos/tabs.html +0 -293
- package/demos/textarea/index.html +0 -77
- package/demos/timepicker/index.html +0 -66
- package/demos/transfer/index.html +0 -88
- package/demos/wysiwyg/index.html +0 -49
- package/docs/README.md +0 -34
- package/docs/_sidebar.md +0 -37
- package/docs/files/data/draggable.md +0 -143
- package/docs/files/data/map.md +0 -1
- package/docs/files/data/paginator.md +0 -23
- package/docs/files/data/table.md +0 -247
- package/docs/files/data/virtualscroller.md +0 -2
- package/docs/files/form/button.md +0 -131
- package/docs/files/form/cascader.md +0 -164
- package/docs/files/form/checkbox.md +0 -179
- package/docs/files/form/datepicker.md +0 -78
- package/docs/files/form/form.md +0 -52
- package/docs/files/form/input.md +0 -90
- package/docs/files/form/radio.md +0 -150
- package/docs/files/form/select.md +0 -202
- package/docs/files/form/switch.md +0 -98
- package/docs/files/form/textarea.md +0 -102
- package/docs/files/form/timepicker.md +0 -78
- package/docs/files/form/transfer.md +0 -30
- package/docs/files/others/config.md +0 -261
- package/docs/files/others/confirm.md +0 -51
- package/docs/files/others/drawer.md +0 -32
- package/docs/files/others/loader.md +0 -22
- package/docs/files/others/map.md +0 -32
- package/docs/files/others/modal.md +0 -32
- package/docs/files/others/notification.md +0 -52
- package/docs/files/others/popover.md +0 -36
- package/docs/files/others/resizer.md +0 -8
- package/docs/files/others/scrollbar.md +0 -8
- package/docs/files/others/tabs.md +0 -32
- package/docs/index.template.html +0 -76
- package/docs/src/js/backup.js +0 -128
- package/docs/src/js/helper/item-helper.js +0 -0
- package/docs/src/js/index.js +0 -21
- package/docs/src/js/plugin/title-plugin.js +0 -0
- package/docs/src/js/plugin/vue-demo-plugin.js +0 -97
- package/docs/src/js/theme/basic.js +0 -31
- package/docs/src/js/theme/docsify.js +0 -11
- package/docs/src/scss/index-dark.scss +0 -3
- package/docs/src/scss/index-light.scss +0 -3
- package/docs/src/scss/index.scss +0 -15
- package/docs/src/scss/mixins/base.scss +0 -14
- package/docs/src/scss/mixins/grid.scss +0 -213
- package/docs/src/scss/mixins/media.scss +0 -35
- package/docs/src/scss/mixins/space.scss +0 -61
- package/docs/src/scss/root/vars-dark.scss +0 -15
- package/docs/src/scss/root/vars-light.scss +0 -15
- package/docs/src/scss/root/vars.scss +0 -110
- package/docs/src/scss/theme/default.scss +0 -123
- package/docs/src/scss/theme/header.scss +0 -147
- package/docs/src/scss/theme/layout.scss +0 -186
- package/docs/src/scss/theme/loader.scss +0 -63
- package/docs/src/scss/theme/markdown.scss +0 -79
- package/docs/src/scss/theme/navigation.scss +0 -58
- package/docs/src/scss/theme/progress.scss +0 -9
- package/docs/src/scss/theme/search.scss +0 -119
- package/docs/src/scss/theme/syntax.scss +0 -142
- package/docs/src/scss/theme/table.scss +0 -63
- package/favicon/apple-touch-icon.png +0 -0
- package/favicon/favicon-96x96.png +0 -0
- package/favicon/favicon.ico +0 -0
- package/favicon/favicon.svg +0 -3
- package/favicon/site.webmanifest +0 -21
- package/favicon/web-app-manifest-192x192.png +0 -0
- package/favicon/web-app-manifest-512x512.png +0 -0
- package/mix-manifest.json +0 -4
- package/postcss.config.js +0 -14
- package/webpack.config.js +0 -211
- package/webservy.json +0 -8
- /package/{.nojekyll → dist/.ignore.js} +0 -0
@@ -1,110 +0,0 @@
|
|
1
|
-
@use "sass:color";
|
2
|
-
|
3
|
-
$color-white: #ffffff !default;
|
4
|
-
$color-black: #111111 !default;
|
5
|
-
|
6
|
-
$color-foreground-abs: #ffffff !default;
|
7
|
-
$color-background-abs: #000000 !default;
|
8
|
-
|
9
|
-
$color-foreground: $color-white !default;
|
10
|
-
$color-background: $color-black !default;
|
11
|
-
|
12
|
-
$color-gray-05: color.mix($color-foreground, $color-background, 0.05 * 100%) !default;
|
13
|
-
$color-gray-10: color.mix($color-foreground, $color-background, 0.10 * 100%) !default;
|
14
|
-
$color-gray-15: color.mix($color-foreground, $color-background, 0.15 * 100%) !default;
|
15
|
-
$color-gray-20: color.mix($color-foreground, $color-background, 0.20 * 100%) !default;
|
16
|
-
$color-gray-25: color.mix($color-foreground, $color-background, 0.25 * 100%) !default;
|
17
|
-
$color-gray-30: color.mix($color-foreground, $color-background, 0.30 * 100%) !default;
|
18
|
-
$color-gray-35: color.mix($color-foreground, $color-background, 0.35 * 100%) !default;
|
19
|
-
$color-gray-40: color.mix($color-foreground, $color-background, 0.40 * 100%) !default;
|
20
|
-
$color-gray-45: color.mix($color-foreground, $color-background, 0.45 * 100%) !default;
|
21
|
-
$color-gray-50: color.mix($color-foreground, $color-background, 0.50 * 100%) !default;
|
22
|
-
$color-gray-55: color.mix($color-foreground, $color-background, 0.55 * 100%) !default;
|
23
|
-
$color-gray-60: color.mix($color-foreground, $color-background, 0.60 * 100%) !default;
|
24
|
-
$color-gray-65: color.mix($color-foreground, $color-background, 0.65 * 100%) !default;
|
25
|
-
$color-gray-70: color.mix($color-foreground, $color-background, 0.70 * 100%) !default;
|
26
|
-
$color-gray-75: color.mix($color-foreground, $color-background, 0.75 * 100%) !default;
|
27
|
-
$color-gray-80: color.mix($color-foreground, $color-background, 0.80 * 100%) !default;
|
28
|
-
$color-gray-85: color.mix($color-foreground, $color-background, 0.85 * 100%) !default;
|
29
|
-
$color-gray-90: color.mix($color-foreground, $color-background, 0.90 * 100%) !default;
|
30
|
-
$color-gray-95: color.mix($color-foreground, $color-background, 0.95 * 100%) !default;
|
31
|
-
|
32
|
-
$color-form: $color-gray-05 !default;
|
33
|
-
$color-input: $color-background !default;
|
34
|
-
$color-input-off: $color-gray-05 !default;
|
35
|
-
|
36
|
-
$color-secondary: #d31f9d !default;
|
37
|
-
$color-primary: #2F89FE !default;
|
38
|
-
|
39
|
-
$color-success: #06C493 !default;
|
40
|
-
$color-warning: #FFBF3F !default;
|
41
|
-
$color-danger: #F9536E !default;
|
42
|
-
$color-info: #4BD6F9 !default;
|
43
|
-
|
44
|
-
$color-shadow: #000000 !default;
|
45
|
-
|
46
|
-
|
47
|
-
$color-white-light: $color-white !default;
|
48
|
-
$color-white-lighter: $color-white !default;
|
49
|
-
|
50
|
-
$color-white-dark: color.mix($color-gray-50, $color-white, 5%) !default;
|
51
|
-
$color-white-darker: color.mix($color-gray-50, $color-white, 10%) !default;
|
52
|
-
|
53
|
-
$color-black-light: color.mix($color-gray-50, $color-black, 5%) !default;
|
54
|
-
$color-black-lighter: color.mix($color-gray-50, $color-black, 10%) !default;
|
55
|
-
|
56
|
-
$color-black-dark: $color-black !default;
|
57
|
-
$color-black-darker: $color-black !default;
|
58
|
-
|
59
|
-
|
60
|
-
$color-primary-light: color.adjust(color.mix($color-white, $color-primary, 10%), $lightness: 5%) !default;
|
61
|
-
$color-primary-lighter: color.adjust(color.mix($color-white, $color-primary, 20%), $lightness: 5%) !default;
|
62
|
-
|
63
|
-
$color-primary-dark: color.adjust(color.mix($color-black, $color-primary, 10%), $lightness: -5%) !default;
|
64
|
-
$color-primary-darker: color.adjust(color.mix($color-black, $color-primary, 20%), $lightness: -5%) !default;
|
65
|
-
|
66
|
-
|
67
|
-
$color-secondary-light: color.adjust(color.mix($color-white, $color-secondary, 10%), $lightness: 5%) !default;
|
68
|
-
$color-secondary-lighter: color.adjust(color.mix($color-white, $color-secondary, 20%), $lightness: 5%) !default;
|
69
|
-
|
70
|
-
$color-secondary-dark: color.adjust(color.mix($color-black, $color-secondary, 10%), $lightness: -5%) !default;
|
71
|
-
$color-secondary-darker: color.adjust(color.mix($color-black, $color-secondary, 20%), $lightness: -5%) !default;
|
72
|
-
|
73
|
-
|
74
|
-
$color-success-light: color.adjust(color.mix($color-white, $color-success, 10%), $lightness: 5%) !default;
|
75
|
-
$color-success-lighter: color.adjust(color.mix($color-white, $color-success, 20%), $lightness: 5%) !default;
|
76
|
-
|
77
|
-
$color-success-dark: color.adjust(color.mix($color-black, $color-success, 10%), $lightness: -5%) !default;
|
78
|
-
$color-success-darker: color.adjust(color.mix($color-black, $color-success, 20%), $lightness: -5%) !default;
|
79
|
-
|
80
|
-
|
81
|
-
$color-warning-light: color.adjust(color.mix($color-white, $color-warning, 10%), $lightness: 5%) !default;
|
82
|
-
$color-warning-lighter: color.adjust(color.mix($color-white, $color-warning, 20%), $lightness: 5%) !default;
|
83
|
-
|
84
|
-
$color-warning-dark: color.adjust(color.mix($color-black, $color-warning, 10%), $lightness: -5%) !default;
|
85
|
-
$color-warning-darker: color.adjust(color.mix($color-black, $color-warning, 20%), $lightness: -5%) !default;
|
86
|
-
|
87
|
-
|
88
|
-
$color-danger-light: color.adjust(color.mix($color-white, $color-danger, 10%), $lightness: 5%) !default;
|
89
|
-
$color-danger-lighter: color.adjust(color.mix($color-white, $color-danger, 20%), $lightness: 5%) !default;
|
90
|
-
|
91
|
-
$color-danger-dark: color.adjust(color.mix($color-black, $color-danger, 10%), $lightness: -5%) !default;
|
92
|
-
$color-danger-darker: color.adjust(color.mix($color-black, $color-danger, 20%), $lightness: -5%) !default;
|
93
|
-
|
94
|
-
$color-info-light: color.adjust(color.mix($color-white, $color-info, 10%), $lightness: 5%) !default;
|
95
|
-
$color-info-lighter: color.adjust(color.mix($color-white, $color-info, 20%), $lightness: 5%) !default;
|
96
|
-
|
97
|
-
$color-info-dark: color.adjust(color.mix($color-black, $color-info, 10%), $lightness: -5%) !default;
|
98
|
-
$color-info-darker: color.adjust(color.mix($color-black, $color-info, 20%), $lightness: -5%) !default;
|
99
|
-
|
100
|
-
$color-background-light: color.adjust(color.mix($color-white, $color-background, 10%), $lightness: 5%) !default;
|
101
|
-
$color-background-lighter: color.adjust(color.mix($color-white, $color-background, 20%), $lightness: 5%) !default;
|
102
|
-
|
103
|
-
$color-background-dark: color.adjust(color.mix($color-black, $color-background, 10%), $lightness: -5%) !default;
|
104
|
-
$color-background-darker: color.adjust(color.mix($color-black, $color-background, 20%), $lightness: -5%) !default;
|
105
|
-
|
106
|
-
$xs-radius: 2px !default;
|
107
|
-
$sm-radius: 4px !default;
|
108
|
-
$md-radius: 6px !default;
|
109
|
-
$lg-radius: 8px !default;
|
110
|
-
$xl-radius: 12px !default;
|
@@ -1,123 +0,0 @@
|
|
1
|
-
@use "sass:color";
|
2
|
-
@import "../root/vars";
|
3
|
-
|
4
|
-
::selection {
|
5
|
-
background: rgba($color-secondary, 0.15);
|
6
|
-
}
|
7
|
-
|
8
|
-
* {
|
9
|
-
outline: none !important;
|
10
|
-
}
|
11
|
-
|
12
|
-
div {
|
13
|
-
box-sizing: border-box;
|
14
|
-
}
|
15
|
-
|
16
|
-
html, body {
|
17
|
-
font-family: 'Inter', sans-serif;
|
18
|
-
color: $color-foreground;
|
19
|
-
font-size: 15px;
|
20
|
-
font-variant-numeric: normal;
|
21
|
-
font-feature-settings: normal;
|
22
|
-
}
|
23
|
-
|
24
|
-
body {
|
25
|
-
background: color.mix($color-background-abs, $color-form, 50%);
|
26
|
-
}
|
27
|
-
|
28
|
-
body.ready header {
|
29
|
-
opacity: 1;
|
30
|
-
}
|
31
|
-
|
32
|
-
h1 {
|
33
|
-
font-size: 38px;
|
34
|
-
}
|
35
|
-
|
36
|
-
h2 {
|
37
|
-
font-size: 32px;
|
38
|
-
}
|
39
|
-
|
40
|
-
h3 {
|
41
|
-
font-size: 26px;
|
42
|
-
}
|
43
|
-
|
44
|
-
p {
|
45
|
-
font-size: 16px;
|
46
|
-
line-height: 1.7em;
|
47
|
-
}
|
48
|
-
|
49
|
-
code {
|
50
|
-
font-size: 14px;
|
51
|
-
}
|
52
|
-
|
53
|
-
h1, h2, h3, h4, h5, h6 {
|
54
|
-
color: $color-white;
|
55
|
-
}
|
56
|
-
|
57
|
-
h1 a, h2 a, h3 a {
|
58
|
-
transition: color 0.2s;
|
59
|
-
}
|
60
|
-
|
61
|
-
h1 a, h1 a:active, h1 a:visited,
|
62
|
-
h2 a, h2 a:active, h2 a:visited {
|
63
|
-
color: $color-gray-90;
|
64
|
-
}
|
65
|
-
|
66
|
-
h1 a:hover, h2 a:hover {
|
67
|
-
color: $color-foreground;
|
68
|
-
}
|
69
|
-
|
70
|
-
h1 a, h2 a, h3 a {
|
71
|
-
display: inline-flex;
|
72
|
-
align-items: center;
|
73
|
-
}
|
74
|
-
|
75
|
-
h1 a:hover:after,
|
76
|
-
h2 a:hover:after,
|
77
|
-
h3 a:hover:after {
|
78
|
-
content: '\f0c1';
|
79
|
-
margin-left: 15px;
|
80
|
-
font-family: "Font Awesome 6 Free";
|
81
|
-
font-weight: 900;
|
82
|
-
color: rgba($color-foreground, 0.4);
|
83
|
-
}
|
84
|
-
|
85
|
-
h1 a:after {
|
86
|
-
font-size: 16px;
|
87
|
-
}
|
88
|
-
|
89
|
-
h2 a:after {
|
90
|
-
font-size: 14px;
|
91
|
-
}
|
92
|
-
|
93
|
-
h3 a:after {
|
94
|
-
font-size: 12px;
|
95
|
-
}
|
96
|
-
|
97
|
-
p {
|
98
|
-
color: $color-foreground;
|
99
|
-
}
|
100
|
-
|
101
|
-
hr {
|
102
|
-
border-bottom: 1px solid rgba($color-gray-50, 0.2);
|
103
|
-
margin: 60px 0;
|
104
|
-
}
|
105
|
-
|
106
|
-
code {
|
107
|
-
font-family: "JetBrains Mono", monospace;
|
108
|
-
color: color.mix($color-foreground, $color-secondary, 40%);
|
109
|
-
background: rgba($color-secondary, 0.2);
|
110
|
-
}
|
111
|
-
|
112
|
-
a, a:active, a:visited {
|
113
|
-
color: color.mix($color-foreground, $color-secondary, 40%);
|
114
|
-
text-decoration: none;
|
115
|
-
}
|
116
|
-
|
117
|
-
a:hover {
|
118
|
-
color: color.mix($color-foreground, $color-secondary, 60%);
|
119
|
-
}
|
120
|
-
|
121
|
-
.hidden {
|
122
|
-
display: none;
|
123
|
-
}
|
@@ -1,147 +0,0 @@
|
|
1
|
-
@import "../root/vars";
|
2
|
-
@import "../mixins/media";
|
3
|
-
|
4
|
-
header {
|
5
|
-
overflow: hidden;
|
6
|
-
position: relative;
|
7
|
-
width: 100%;
|
8
|
-
|
9
|
-
@include media('sm') {
|
10
|
-
border-bottom: 1px solid $color-gray-10;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
header .wrapper {
|
15
|
-
z-index: 100;
|
16
|
-
position: relative;
|
17
|
-
display: flex;
|
18
|
-
flex-direction: row;
|
19
|
-
align-items: center;
|
20
|
-
width: 100%;
|
21
|
-
height: 100px;
|
22
|
-
max-width: 1560px;
|
23
|
-
margin: 0 auto;
|
24
|
-
padding: 0 20px;
|
25
|
-
|
26
|
-
@include media('sm') {
|
27
|
-
padding: 0 40px;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
header .logo:first-child {
|
32
|
-
margin-left: 60px;
|
33
|
-
}
|
34
|
-
|
35
|
-
header .logo {
|
36
|
-
text-align: center;
|
37
|
-
margin-right: 15px;
|
38
|
-
padding-top: 5px;
|
39
|
-
}
|
40
|
-
|
41
|
-
header .logo.logo-alt {
|
42
|
-
display: none;
|
43
|
-
|
44
|
-
@include media('md') {
|
45
|
-
display: inline-block;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
header .logo a {
|
50
|
-
display: inline-block;
|
51
|
-
max-width: 130px;
|
52
|
-
}
|
53
|
-
|
54
|
-
header .logo.logo-alt a {
|
55
|
-
opacity: 0.5;
|
56
|
-
transition: opacity 0.15s ease;
|
57
|
-
}
|
58
|
-
|
59
|
-
header .logo.logo-alt a:hover {
|
60
|
-
opacity: 1;
|
61
|
-
}
|
62
|
-
|
63
|
-
header .logo img {
|
64
|
-
display: block;
|
65
|
-
width: 100%;
|
66
|
-
max-height: 100%;
|
67
|
-
height: 50px;
|
68
|
-
}
|
69
|
-
|
70
|
-
header .logo.logo-alt img {
|
71
|
-
height: 30px;
|
72
|
-
}
|
73
|
-
|
74
|
-
.spacer {
|
75
|
-
flex: 1 1 auto;
|
76
|
-
max-width: 0;
|
77
|
-
margin: 0 auto;
|
78
|
-
}
|
79
|
-
|
80
|
-
header .social:not(:last-child) {
|
81
|
-
margin-right: 15px;
|
82
|
-
}
|
83
|
-
|
84
|
-
header .social.black {
|
85
|
-
display: none;
|
86
|
-
@include media('sm') {
|
87
|
-
display: block;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
header .social a {
|
92
|
-
display: inline-flex;
|
93
|
-
justify-content: center;
|
94
|
-
align-items: center;
|
95
|
-
padding: 0;
|
96
|
-
height: 37px;
|
97
|
-
width: 37px;
|
98
|
-
font-size: 15px;
|
99
|
-
border-radius: 500px;
|
100
|
-
color: $color-gray-70;
|
101
|
-
|
102
|
-
@include media('lg') {
|
103
|
-
padding: 0 18px;
|
104
|
-
width: auto;
|
105
|
-
}
|
106
|
-
//background: rgba($color-gray-50, 0.1);
|
107
|
-
}
|
108
|
-
|
109
|
-
header .social.black a {
|
110
|
-
color: rgba($color-foreground, 0.9);
|
111
|
-
background: $color-gray-10;
|
112
|
-
}
|
113
|
-
|
114
|
-
header .social.blue a {
|
115
|
-
color: $color-foreground;
|
116
|
-
background: rgba($color-secondary, 0.5);
|
117
|
-
}
|
118
|
-
|
119
|
-
header .social a span {
|
120
|
-
display: none;
|
121
|
-
|
122
|
-
@include media('lg') {
|
123
|
-
display: inline;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
|
127
|
-
header .social a i {
|
128
|
-
@include media('lg') {
|
129
|
-
margin-right: 12px;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
|
133
|
-
header .theme:not(:last-child) {
|
134
|
-
margin-right: 15px;
|
135
|
-
}
|
136
|
-
|
137
|
-
header .theme.last {
|
138
|
-
margin-right: 30px;
|
139
|
-
}
|
140
|
-
|
141
|
-
header .theme a {
|
142
|
-
color: $color-gray-50;
|
143
|
-
}
|
144
|
-
|
145
|
-
header .theme a.active {
|
146
|
-
color: $color-foreground;
|
147
|
-
}
|
@@ -1,186 +0,0 @@
|
|
1
|
-
@import "../root/vars";
|
2
|
-
@import "../mixins/media";
|
3
|
-
|
4
|
-
main {
|
5
|
-
z-index: 200;
|
6
|
-
position: relative;
|
7
|
-
display: flex;
|
8
|
-
flex-direction: row;
|
9
|
-
justify-content: center;
|
10
|
-
max-width: 1560px;
|
11
|
-
margin: 0 auto;
|
12
|
-
padding: 0;
|
13
|
-
|
14
|
-
@include media('sm') {
|
15
|
-
padding: 30px 40px 10px;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
main .sidebar {
|
20
|
-
z-index: 200;
|
21
|
-
position: absolute;
|
22
|
-
top: 5px;
|
23
|
-
left: 10px;
|
24
|
-
width: calc(100% - 20px);
|
25
|
-
background: $color-input;
|
26
|
-
flex: 0 0 auto;
|
27
|
-
display: flex;
|
28
|
-
flex-direction: column;
|
29
|
-
transition: max-width 0.15s ease;
|
30
|
-
border-radius: $lg-radius;
|
31
|
-
box-shadow: 0 4px 24px rgba($color-shadow, 0.1);
|
32
|
-
|
33
|
-
@include media('sm') {
|
34
|
-
position: relative;
|
35
|
-
width: 220px;
|
36
|
-
max-width: 220px;
|
37
|
-
padding: 0;
|
38
|
-
background: transparent;
|
39
|
-
box-shadow: none;
|
40
|
-
}
|
41
|
-
|
42
|
-
@include media('md') {
|
43
|
-
position: relative;
|
44
|
-
width: 260px;
|
45
|
-
max-width: 260px;
|
46
|
-
padding: 0;
|
47
|
-
background: transparent;
|
48
|
-
}
|
49
|
-
|
50
|
-
@include media('lg') {
|
51
|
-
width: 320px;
|
52
|
-
max-width: 320px;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
body.close main .sidebar {
|
57
|
-
|
58
|
-
@include media('sm') {
|
59
|
-
max-width: 0;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
main .sidebar-nav {
|
64
|
-
width: 340px;
|
65
|
-
padding: 20px;
|
66
|
-
display: none;
|
67
|
-
|
68
|
-
@include media('sm') {
|
69
|
-
display: block;
|
70
|
-
padding: 0;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
|
75
|
-
body.close main .sidebar-nav {
|
76
|
-
display: block;
|
77
|
-
|
78
|
-
@include media('sm') {
|
79
|
-
display: none;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
main .sidebar-toggle {
|
84
|
-
z-index: 800000;
|
85
|
-
position: absolute;
|
86
|
-
top: -74px;
|
87
|
-
left: 20px;
|
88
|
-
width: 52px;
|
89
|
-
height: 52px;
|
90
|
-
border-radius: 500px;
|
91
|
-
background: transparent;
|
92
|
-
|
93
|
-
@include media('sm') {
|
94
|
-
top: -75px;
|
95
|
-
left: 40px;
|
96
|
-
}
|
97
|
-
}
|
98
|
-
|
99
|
-
main .sidebar-toggle .sidebar-toggle-button:before,
|
100
|
-
main .sidebar-toggle .sidebar-toggle-button:after {
|
101
|
-
position: absolute;
|
102
|
-
left: calc(50% - 10px);
|
103
|
-
top: calc(50% - 10px);
|
104
|
-
display: flex;
|
105
|
-
width: 20px;
|
106
|
-
height: 20px;
|
107
|
-
line-height: 20px;
|
108
|
-
align-items: center;
|
109
|
-
justify-content: center;
|
110
|
-
font-family: "Font Awesome 6 Free";
|
111
|
-
font-weight: 900;
|
112
|
-
}
|
113
|
-
|
114
|
-
main .sidebar-toggle .sidebar-toggle-button:before {
|
115
|
-
content: '\f0c9';
|
116
|
-
font-size: 22px;
|
117
|
-
margin-left: -3px;
|
118
|
-
color: $color-foreground;
|
119
|
-
}
|
120
|
-
|
121
|
-
main .sidebar-toggle .sidebar-toggle-button:after {
|
122
|
-
content: '\f104';
|
123
|
-
font-size: 13px;
|
124
|
-
color: $color-gray-50;
|
125
|
-
margin-left: 14px;
|
126
|
-
transition: transform 0.15s ease;
|
127
|
-
transform: rotate(180deg);
|
128
|
-
|
129
|
-
@include media('sm') {
|
130
|
-
transform: rotate(0deg);
|
131
|
-
}
|
132
|
-
}
|
133
|
-
|
134
|
-
body.close main .sidebar-toggle .sidebar-toggle-button:after {
|
135
|
-
transform: rotate(0deg);
|
136
|
-
|
137
|
-
@include media('sm') {
|
138
|
-
transform: rotate(180deg);
|
139
|
-
}
|
140
|
-
}
|
141
|
-
|
142
|
-
.content {
|
143
|
-
overflow: hidden;
|
144
|
-
flex: 0 1 auto;
|
145
|
-
width: 100%;
|
146
|
-
padding: 0;
|
147
|
-
transition: max-width 0.15s ease;
|
148
|
-
}
|
149
|
-
|
150
|
-
.content > article {
|
151
|
-
position: relative;
|
152
|
-
padding: 30px;
|
153
|
-
}
|
154
|
-
|
155
|
-
.content > article:before {
|
156
|
-
z-index: -10;
|
157
|
-
content: '\00a0';
|
158
|
-
position: absolute;
|
159
|
-
top: 0;
|
160
|
-
left: 0;
|
161
|
-
width: 100%;
|
162
|
-
height: 400px;
|
163
|
-
background: linear-gradient(180deg, rgba($color-secondary, 0.3) 0%, rgba($color-secondary, 0) 100%);
|
164
|
-
|
165
|
-
@include media('sm') {
|
166
|
-
border-radius: $lg-radius;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
.app-name {
|
171
|
-
display: none;
|
172
|
-
order: 100;
|
173
|
-
width: 100%;
|
174
|
-
padding: 5px 0 20px;
|
175
|
-
text-align: center;
|
176
|
-
}
|
177
|
-
|
178
|
-
.app-name > a {
|
179
|
-
display: inline-block;
|
180
|
-
max-width: 120px;
|
181
|
-
}
|
182
|
-
|
183
|
-
.app-name > a > img {
|
184
|
-
width: 100%;
|
185
|
-
}
|
186
|
-
|
@@ -1,63 +0,0 @@
|
|
1
|
-
@keyframes docs-loader {
|
2
|
-
0%, 100% {
|
3
|
-
transform: translateX(-60px);
|
4
|
-
}
|
5
|
-
50% {
|
6
|
-
transform: translateX(60px);
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
|
-
body .loader {
|
11
|
-
z-index: 9999999;
|
12
|
-
position: fixed;
|
13
|
-
top: 50%;
|
14
|
-
left: 50%;
|
15
|
-
background: #000;
|
16
|
-
border-radius: 6px;
|
17
|
-
transform: translate(-50%, -50%);
|
18
|
-
}
|
19
|
-
|
20
|
-
body .loader span {
|
21
|
-
display: inline-flex;
|
22
|
-
padding: 40px;
|
23
|
-
}
|
24
|
-
|
25
|
-
body .loader span svg {
|
26
|
-
display: block;
|
27
|
-
width: 100px;
|
28
|
-
height: auto;
|
29
|
-
}
|
30
|
-
|
31
|
-
body .loader span:before {
|
32
|
-
z-index: 10;
|
33
|
-
content: '\00a0';
|
34
|
-
position: absolute;
|
35
|
-
top: calc(50% + 70px);
|
36
|
-
left: calc(50% - 85px);
|
37
|
-
width: 170px;
|
38
|
-
height: 5px;
|
39
|
-
border-radius: 500px;
|
40
|
-
background: rgba(125, 125, 125, 0.2);
|
41
|
-
}
|
42
|
-
|
43
|
-
body .loader span:after {
|
44
|
-
z-index: 20;
|
45
|
-
content: '\00a0';
|
46
|
-
position: absolute;
|
47
|
-
top: calc(50% + 70px);
|
48
|
-
left: calc(50% - 25px);
|
49
|
-
width: 50px;
|
50
|
-
height: 5px;
|
51
|
-
border-radius: 500px;
|
52
|
-
background: rgba(125, 125, 125, 0.5);
|
53
|
-
animation: docs-loader 1.6s infinite ease;
|
54
|
-
}
|
55
|
-
|
56
|
-
body.ready .loader {
|
57
|
-
display: none;
|
58
|
-
}
|
59
|
-
|
60
|
-
body:not(.ready) header,
|
61
|
-
body:not(.ready) main {
|
62
|
-
visibility: hidden !important;
|
63
|
-
}
|
@@ -1,79 +0,0 @@
|
|
1
|
-
@use "sass:color";
|
2
|
-
@import "../root/vars";
|
3
|
-
|
4
|
-
.markdown-section h1,
|
5
|
-
.markdown-section h2,
|
6
|
-
.markdown-section h3,
|
7
|
-
.markdown-section h4,
|
8
|
-
.markdown-section h5,
|
9
|
-
.markdown-section h6,
|
10
|
-
.markdown-section p {
|
11
|
-
margin-bottom: 34px;
|
12
|
-
}
|
13
|
-
|
14
|
-
.markdown-section code {
|
15
|
-
border-radius: $md-radius;
|
16
|
-
margin: 0 2px;
|
17
|
-
padding: 2px 5px;
|
18
|
-
white-space: pre-wrap;
|
19
|
-
}
|
20
|
-
|
21
|
-
.markdown-section table code[data-type] {
|
22
|
-
color: color.mix($color-gray-90, $color-gray-40, 10%);
|
23
|
-
}
|
24
|
-
|
25
|
-
.markdown-section table {
|
26
|
-
margin-bottom: 30px;
|
27
|
-
}
|
28
|
-
|
29
|
-
.demo-wrapper {
|
30
|
-
overflow: hidden;
|
31
|
-
position: relative;
|
32
|
-
margin-bottom: 30px;
|
33
|
-
border-radius: $lg-radius;
|
34
|
-
background: $color-input;
|
35
|
-
box-shadow: 0 1px 24px rgba($color-shadow, 0.1);
|
36
|
-
}
|
37
|
-
|
38
|
-
.markdown-section .demo-options {
|
39
|
-
position: relative;
|
40
|
-
padding: 30px 40px 34px;
|
41
|
-
border-bottom: 1px solid $color-gray-10;
|
42
|
-
}
|
43
|
-
|
44
|
-
.markdown-section .demo-options2:after {
|
45
|
-
content: '\00a0';
|
46
|
-
position: absolute;
|
47
|
-
left: 40px;
|
48
|
-
bottom: 0;
|
49
|
-
width: calc(100% - 80px);
|
50
|
-
height: 1px;
|
51
|
-
background: $color-gray-10;
|
52
|
-
}
|
53
|
-
|
54
|
-
.markdown-section .demo-options .n-form-item {
|
55
|
-
margin-bottom: 4px;
|
56
|
-
}
|
57
|
-
|
58
|
-
.markdown-section .demo-options .n-select {
|
59
|
-
//width: 220px;
|
60
|
-
}
|
61
|
-
|
62
|
-
.markdown-section .demo-display {
|
63
|
-
padding: 40px;
|
64
|
-
}
|
65
|
-
|
66
|
-
.markdown-section .demo-display h3 {
|
67
|
-
position: relative;
|
68
|
-
font-size: 12px;
|
69
|
-
padding: 10px 14px;
|
70
|
-
color: $color-gray-50;
|
71
|
-
margin-bottom: -5px;
|
72
|
-
text-transform: uppercase;
|
73
|
-
border-radius: $md-radius;
|
74
|
-
background: rgba($color-gray-50, 0.1);
|
75
|
-
}
|
76
|
-
|
77
|
-
.markdown-section .demo-display > .grid:not(:last-child) {
|
78
|
-
margin-bottom: 20px;
|
79
|
-
}
|