@acorex/styles 4.0.24 → 4.1.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/fonts/font-awesome/fa-brands-400.eot +0 -0
- package/fonts/font-awesome/fa-brands-400.svg +3570 -0
- package/fonts/font-awesome/fa-brands-400.ttf +0 -0
- package/fonts/font-awesome/fa-brands-400.woff +0 -0
- package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- package/fonts/font-awesome/fa-duotone-900.eot +0 -0
- package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
- package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
- package/fonts/font-awesome/fa-light-300.eot +0 -0
- package/fonts/font-awesome/fa-light-300.svg +12330 -0
- package/fonts/font-awesome/fa-light-300.ttf +0 -0
- package/fonts/font-awesome/fa-light-300.woff +0 -0
- package/fonts/font-awesome/fa-light-300.woff2 +0 -0
- package/fonts/font-awesome/fa-regular-400.eot +0 -0
- package/fonts/font-awesome/fa-regular-400.svg +11256 -0
- package/fonts/font-awesome/fa-regular-400.ttf +0 -0
- package/fonts/font-awesome/fa-regular-400.woff +0 -0
- package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- package/fonts/font-awesome/fa-solid-900.eot +0 -0
- package/fonts/font-awesome/fa-solid-900.svg +9588 -0
- package/fonts/font-awesome/fa-solid-900.ttf +0 -0
- package/fonts/font-awesome/fa-solid-900.woff +0 -0
- package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- package/fonts/font-awesome/font-awesome.css +16960 -0
- package/package.json +3 -3
- package/scss/buttons.scss +64 -0
- package/scss/calendar.scss +128 -0
- package/scss/checkbox.scss +47 -0
- package/scss/context-menu.scss +82 -0
- package/scss/data-grid.scss +107 -0
- package/scss/drawer.scss +27 -0
- package/scss/fieldset.scss +23 -0
- package/scss/forms.scss +529 -0
- package/scss/list.scss +60 -0
- package/scss/master.scss +253 -0
- package/scss/menu.scss +481 -0
- package/scss/mixin.scss +12 -0
- package/scss/page.scss +54 -0
- package/scss/progress.scss +11 -0
- package/scss/selection-list.scss +116 -0
- package/scss/style.scss +49 -0
- package/scss/tab-strip.scss +30 -0
- package/scss/tab.scss +33 -0
- package/scss/toast.scss +24 -0
- package/scss/tooltip.scss +53 -0
- package/scss/treeview.scss +133 -0
- package/scss/upload.scss +169 -0
- package/scss/variables.scss +106 -0
- package/index.scss +0 -48
- package/scss/ax-icon/fonts/acorex.eot +0 -0
- package/scss/ax-icon/fonts/acorex.svg +0 -1434
- package/scss/ax-icon/fonts/acorex.ttf +0 -0
- package/scss/ax-icon/fonts/acorex.woff +0 -0
- package/scss/ax-icon/selection.json +0 -1
- package/scss/ax-icon/style.scss +0 -7218
- package/scss/ax-icon/variables.scss +0 -1428
- package/scss/bases/accessiblity.scss +0 -38
- package/scss/bases/background.scss +0 -76
- package/scss/bases/border.scss +0 -453
- package/scss/bases/effects.scss +0 -56
- package/scss/bases/filter.scss +0 -184
- package/scss/bases/flexbox-and-grid.scss +0 -254
- package/scss/bases/interactivity.scss +0 -42
- package/scss/bases/layout.scss +0 -207
- package/scss/bases/root.scss +0 -53
- package/scss/bases/sizing.scss +0 -43
- package/scss/bases/skeleton.scss +0 -30
- package/scss/bases/spacing.scss +0 -245
- package/scss/bases/svg.scss +0 -18
- package/scss/bases/table.scss +0 -15
- package/scss/bases/transform.scss +0 -114
- package/scss/bases/transition-and-animation.scss +0 -116
- package/scss/bases/typography.scss +0 -210
- package/scss/components/alert.scss +0 -131
- package/scss/components/badge.scss +0 -6
- package/scss/components/button.scss +0 -264
- package/scss/components/calendar.scss +0 -120
- package/scss/components/carousel.scss +0 -67
- package/scss/components/checkbox.scss +0 -36
- package/scss/components/datapager.scss +0 -80
- package/scss/components/datepicker.scss +0 -8
- package/scss/components/dialog.scss +0 -61
- package/scss/components/drawer.scss +0 -78
- package/scss/components/dropdown.scss +0 -35
- package/scss/components/editor-container.scss +0 -105
- package/scss/components/input.scss +0 -47
- package/scss/components/label.scss +0 -6
- package/scss/components/list.scss +0 -55
- package/scss/components/loading.scss +0 -47
- package/scss/components/popup.scss +0 -103
- package/scss/components/radio.scss +0 -36
- package/scss/components/selectbox.scss +0 -39
- package/scss/components/selection-list.scss +0 -22
- package/scss/components/side-menu.scss +0 -44
- package/scss/components/switch.scss +0 -178
- package/scss/components/table.scss +0 -22
- package/scss/components/tabs.scss +0 -115
- package/scss/components/text-box.scss +0 -4
- package/scss/components/toast.scss +0 -82
- package/scss/components/tooltip.scss +0 -42
- package/variables/bases/_accessiblity.scss +0 -22
- package/variables/bases/_background.scss +0 -57
- package/variables/bases/_border.scss +0 -106
- package/variables/bases/_color.scss +0 -135
- package/variables/bases/_common.scss +0 -6
- package/variables/bases/_effects.scss +0 -36
- package/variables/bases/_filter.scss +0 -62
- package/variables/bases/_flexbox-and-grid.scss +0 -138
- package/variables/bases/_interactivity.scss +0 -31
- package/variables/bases/_layout.scss +0 -102
- package/variables/bases/_root.scss +0 -70
- package/variables/bases/_sizing.scss +0 -322
- package/variables/bases/_spacing.scss +0 -38
- package/variables/bases/_svg.scss +0 -1
- package/variables/bases/_table.scss +0 -2
- package/variables/bases/_transform.scss +0 -88
- package/variables/bases/_transition-and-animation.scss +0 -26
- package/variables/bases/_typography.scss +0 -191
- package/variables/components/_button.scss +0 -0
- package/variables/components/_editor-container.scss +0 -5
- package/variables/components/_input.scss +0 -0
package/scss/style.scss
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@import "./buttons.scss";
|
|
2
|
+
@import "./calendar.scss";
|
|
3
|
+
@import "./checkbox.scss";
|
|
4
|
+
@import "./context-menu.scss";
|
|
5
|
+
@import "./drawer.scss";
|
|
6
|
+
@import "./data-grid.scss";
|
|
7
|
+
@import "./fieldset.scss";
|
|
8
|
+
@import "./list.scss";
|
|
9
|
+
@import "./menu.scss";
|
|
10
|
+
@import "./progress.scss";
|
|
11
|
+
@import "./selection-list.scss";
|
|
12
|
+
@import "./forms.scss";
|
|
13
|
+
@import "./tooltip.scss";
|
|
14
|
+
@import "./tab.scss";
|
|
15
|
+
@import "./tab-strip.scss";
|
|
16
|
+
@import "./toast.scss";
|
|
17
|
+
@import "./treeview.scss";
|
|
18
|
+
@import "./upload.scss";
|
|
19
|
+
@import "./master.scss";
|
|
20
|
+
@import "./page.scss";
|
|
21
|
+
@import "~animate.css/animate.min.css";
|
|
22
|
+
* {
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
outline-color: transparent;
|
|
25
|
+
&:focus {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
html,
|
|
31
|
+
body {
|
|
32
|
+
-webkit-overflow-scrolling: touch;
|
|
33
|
+
scroll-behavior: smooth;
|
|
34
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
35
|
+
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
line-height: 1.4285em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.rtl {
|
|
41
|
+
direction: rtl;
|
|
42
|
+
text-align: right;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ltr {
|
|
46
|
+
direction: ltr;
|
|
47
|
+
text-align: left;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.tab-strip-container {
|
|
2
|
+
padding: 0;
|
|
3
|
+
margin: 0;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
|
|
7
|
+
li {
|
|
8
|
+
display: inline;
|
|
9
|
+
padding: 0.5em;
|
|
10
|
+
border-bottom: 1px solid;
|
|
11
|
+
border-color: var(--ax-border-color);
|
|
12
|
+
margin-inline-end: 0.3em;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
background-color: var(--ax-white-color);
|
|
15
|
+
|
|
16
|
+
&.active {
|
|
17
|
+
border-color: var(--ax-primary-color) !important;
|
|
18
|
+
}
|
|
19
|
+
&.disabled {
|
|
20
|
+
// border-color: var(--ax-gray-color) !important;
|
|
21
|
+
// background-color: var(--ax-gray-color) !important;
|
|
22
|
+
// opacity: 0.6;
|
|
23
|
+
cursor: not-allowed !important;
|
|
24
|
+
}
|
|
25
|
+
&:hover{
|
|
26
|
+
background-color: var(--ax-light-light-color);
|
|
27
|
+
border-color: transparent;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/scss/tab.scss
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.ax {
|
|
2
|
+
&.nav-tabs {
|
|
3
|
+
display: flex;
|
|
4
|
+
list-style: none;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
border-bottom: 1px solid var(--ax-border-color);
|
|
9
|
+
li {
|
|
10
|
+
margin-inline-end: 0.5em;
|
|
11
|
+
padding: 1em;
|
|
12
|
+
background: var(--ax-light-light-color);
|
|
13
|
+
border-bottom: 2px solid var(--ax-primary-color);
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
-webkit-border-top-left-radius: var(--ax-size-border-radius);
|
|
16
|
+
-webkit-border-top-right-radius: var(--ax-size-border-radius);
|
|
17
|
+
-moz-border-radius-topleft: var(--ax-size-border-radius);
|
|
18
|
+
-moz-border-radius-topright: var(--ax-size-border-radius);
|
|
19
|
+
border-top-left-radius: var(--ax-size-border-radius);
|
|
20
|
+
border-top-right-radius: var(--ax-size-border-radius);
|
|
21
|
+
&:hover {
|
|
22
|
+
background: var(--ax-primary-color);
|
|
23
|
+
color: var(--ax-primary-fore-color);
|
|
24
|
+
transition: all 0.3s;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.active {
|
|
28
|
+
background: var(--ax-primary-color);
|
|
29
|
+
color: var(--ax-primary-fore-color);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
package/scss/toast.scss
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "./variables.scss";
|
|
2
|
+
.ax {
|
|
3
|
+
&.toast {
|
|
4
|
+
&.info {
|
|
5
|
+
background-color: var(--ax-info-color);
|
|
6
|
+
color: var(--ax-info-fore-color);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&.success {
|
|
10
|
+
background-color: var(--ax-success-color);
|
|
11
|
+
color: var(--ax-success-fore-color);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.warning {
|
|
15
|
+
background-color: var(--ax-warning-color);
|
|
16
|
+
color: var(--ax-warning-fore-color);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.error {
|
|
20
|
+
background-color: var(--ax-danger-color);
|
|
21
|
+
color: var(--ax-danger-fore-color);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.ax-tooltip {
|
|
2
|
+
position: absolute;
|
|
3
|
+
max-width: 150px;
|
|
4
|
+
text-align: center;
|
|
5
|
+
color: #fff;
|
|
6
|
+
padding: 0.5rem 0.7rem;
|
|
7
|
+
background: #282a36;
|
|
8
|
+
border-radius: var(--ax-size-border-radius);
|
|
9
|
+
z-index: 20000;
|
|
10
|
+
opacity: 0;
|
|
11
|
+
|
|
12
|
+
&:after {
|
|
13
|
+
content: "";
|
|
14
|
+
position: absolute;
|
|
15
|
+
border-style: solid;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.ax-tooltip-top:after {
|
|
19
|
+
top: 100%;
|
|
20
|
+
left: 50%;
|
|
21
|
+
margin-left: -5px;
|
|
22
|
+
border-width: 5px;
|
|
23
|
+
border-color: #282a36 transparent transparent transparent;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.ax-tooltip-bottom:after {
|
|
27
|
+
bottom: 100%;
|
|
28
|
+
left: 50%;
|
|
29
|
+
margin-left: -5px;
|
|
30
|
+
border-width: 5px;
|
|
31
|
+
border-color: transparent transparent #282a36 transparent;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.ax-tooltip-left:after {
|
|
35
|
+
top: 50%;
|
|
36
|
+
left: 100%;
|
|
37
|
+
margin-top: -5px;
|
|
38
|
+
border-width: 5px;
|
|
39
|
+
border-color: transparent transparent transparent #282a36;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.ax-tooltip-right:after {
|
|
43
|
+
top: 50%;
|
|
44
|
+
right: 100%;
|
|
45
|
+
margin-top: -5px;
|
|
46
|
+
border-width: 5px;
|
|
47
|
+
border-color: transparent #282a36 transparent transparent;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.ax-tooltip-show {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
$ident: 1.5em;
|
|
2
|
+
$left: -($ident);
|
|
3
|
+
.treeview {
|
|
4
|
+
padding: 0 1.6em;
|
|
5
|
+
&.sm {
|
|
6
|
+
.child {
|
|
7
|
+
padding-inline-start: 1.5em;
|
|
8
|
+
}
|
|
9
|
+
.bordered {
|
|
10
|
+
&::before {
|
|
11
|
+
width: 1.5em;
|
|
12
|
+
}
|
|
13
|
+
&::after {
|
|
14
|
+
width: 1.5em;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.check-box {
|
|
18
|
+
margin-top: -1em;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
li {
|
|
22
|
+
list-style-type: none;
|
|
23
|
+
position: relative;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
.ax-checkbox-container{
|
|
26
|
+
span{
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&.node {
|
|
31
|
+
padding-inline-start: 1rem;
|
|
32
|
+
// .start-side {
|
|
33
|
+
// display: none;
|
|
34
|
+
// }
|
|
35
|
+
.check-box {
|
|
36
|
+
margin-inline-start: -2em;
|
|
37
|
+
z-index: 1;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&.selected {
|
|
41
|
+
background-color: var(--ax-primary-trans-dark-color);
|
|
42
|
+
}
|
|
43
|
+
&.bordered {
|
|
44
|
+
&:before {
|
|
45
|
+
content: "";
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: -0.2em;
|
|
48
|
+
left: -1em;
|
|
49
|
+
border-left: 1px solid var(--ax-gray-dark-color);
|
|
50
|
+
border-bottom: 1px solid var(--ax-gray-dark-color);
|
|
51
|
+
width: 1.5em;
|
|
52
|
+
height: 17.8px;
|
|
53
|
+
[dir="rtl"] & {
|
|
54
|
+
right: -1em !important;
|
|
55
|
+
left: initial !important;
|
|
56
|
+
border-right: 1px solid var(--ax-gray-dark-color);
|
|
57
|
+
border-left: none !important;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
&:after {
|
|
61
|
+
position: absolute;
|
|
62
|
+
content: "";
|
|
63
|
+
top: 1.2em;
|
|
64
|
+
left: -1em;
|
|
65
|
+
border-left: 1px solid var(--ax-gray-dark-color);
|
|
66
|
+
border-top: 1px solid var(--ax-gray-dark-color);
|
|
67
|
+
width: $ident;
|
|
68
|
+
height: 100%;
|
|
69
|
+
[dir="rtl"] & {
|
|
70
|
+
right: -1em;
|
|
71
|
+
left: initial;
|
|
72
|
+
border-right: 1px solid var(--ax-gray-dark-color);
|
|
73
|
+
border-left: none !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
&:last-child:after {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
[dir="rtl"] & {
|
|
81
|
+
.fas {
|
|
82
|
+
-webkit-transform: scaleX(-1);
|
|
83
|
+
transform: scaleX(-1);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.start-side {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
.collapse-icon {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
width: 1em;
|
|
94
|
+
height: 1em;
|
|
95
|
+
border: 1px solid var(--ax-gray-dark-color);
|
|
96
|
+
background: var(--ax-white-color);
|
|
97
|
+
z-index: 1;
|
|
98
|
+
i {
|
|
99
|
+
font-size: 0.7em;
|
|
100
|
+
text-align: center;
|
|
101
|
+
:not(.fa-spin) {
|
|
102
|
+
font-size: initial !important;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
.ax-checkbox-container {
|
|
107
|
+
margin-inline-start: 0.5rem;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
.check-box {
|
|
111
|
+
margin-top: -1.5em;
|
|
112
|
+
}
|
|
113
|
+
.text-list {
|
|
114
|
+
flex: 1;
|
|
115
|
+
display: flex;
|
|
116
|
+
margin-inline-start: 0.5rem;
|
|
117
|
+
|
|
118
|
+
}
|
|
119
|
+
>div {
|
|
120
|
+
padding: 0.5em 0;
|
|
121
|
+
&:hover {
|
|
122
|
+
background-color: var(--ax-gray-trans-light-color);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.child{
|
|
126
|
+
li:not(.node){
|
|
127
|
+
.text-list{
|
|
128
|
+
margin-inline-start: 0.5rem;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
package/scss/upload.scss
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
.ax {
|
|
2
|
+
&.upload-file-box {
|
|
3
|
+
display: flex;
|
|
4
|
+
background: var(--ax-white-color);
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
padding: 0.5em 0;
|
|
9
|
+
border-width: 2px;
|
|
10
|
+
border-style: dashed;
|
|
11
|
+
border-color: var(--ax-border-dark-color);
|
|
12
|
+
min-height: 200px;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
border-color: var(--ax-primary-color);
|
|
18
|
+
border-style: solid;
|
|
19
|
+
transition: all 0.3s;
|
|
20
|
+
|
|
21
|
+
.upload-content {
|
|
22
|
+
color: var(--ax-primary-color);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.action-container {
|
|
26
|
+
display: flex !important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.upload-content {
|
|
31
|
+
text-align: center;
|
|
32
|
+
color: var(--ax-border-color);
|
|
33
|
+
|
|
34
|
+
i {
|
|
35
|
+
font-size: 30px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
p {
|
|
39
|
+
padding-top: var(--sp-md-size);
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.preview {
|
|
45
|
+
background-position: center !important;
|
|
46
|
+
background-size: contain !important;
|
|
47
|
+
background-repeat: no-repeat !important;
|
|
48
|
+
width: 100%;
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
align-items: center;
|
|
53
|
+
min-height: 200px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.action-container {
|
|
57
|
+
background: rgba(var(--ax-secondary-color), 0.5);
|
|
58
|
+
min-height: 195px;
|
|
59
|
+
display: none;
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
align-items: center;
|
|
63
|
+
width: 100%;
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 0;
|
|
66
|
+
bottom: 0;
|
|
67
|
+
left: 0;
|
|
68
|
+
right: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.ax-upload-drop-over {
|
|
74
|
+
position: relative;
|
|
75
|
+
|
|
76
|
+
.overlay {
|
|
77
|
+
pointer-events: none;
|
|
78
|
+
z-index: 1;
|
|
79
|
+
display: none;
|
|
80
|
+
position: absolute;
|
|
81
|
+
align-items: center;
|
|
82
|
+
text-align: center;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 100%;
|
|
86
|
+
top: 0px;
|
|
87
|
+
left: 0px;
|
|
88
|
+
right: 0px;
|
|
89
|
+
bottom: 0px;
|
|
90
|
+
background-color: var(--ax-white-color);
|
|
91
|
+
outline: 2px dashed var(--ax-primary-color);
|
|
92
|
+
outline-offset: 0;
|
|
93
|
+
opacity: 0;
|
|
94
|
+
transition: display 0s, opacity 0.15s linear, outline-offset 0.15s linear;
|
|
95
|
+
|
|
96
|
+
&.show {
|
|
97
|
+
display: flex;
|
|
98
|
+
opacity: 0.95;
|
|
99
|
+
outline-offset: calc(-1 * 0.5em);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.icon-wrapper {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
|
|
108
|
+
i {
|
|
109
|
+
margin-bottom: 10px;
|
|
110
|
+
color: var(--ax-primary-color);
|
|
111
|
+
-webkit-animation: pulsate-fwd 0.5s ease-in-out infinite both;
|
|
112
|
+
animation: pulsate-fwd 0.5s ease-in-out infinite both;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
span {
|
|
116
|
+
color: var(--ax-secondary-light-color);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@-webkit-keyframes pulsate-fwd {
|
|
121
|
+
0% {
|
|
122
|
+
-webkit-transform: scale(1);
|
|
123
|
+
transform: scale(1);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
50% {
|
|
127
|
+
-webkit-transform: scale(1.1);
|
|
128
|
+
transform: scale(1.1);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
100% {
|
|
132
|
+
-webkit-transform: scale(1);
|
|
133
|
+
transform: scale(1);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@keyframes pulsate-fwd {
|
|
138
|
+
0% {
|
|
139
|
+
-webkit-transform: scale(1);
|
|
140
|
+
transform: scale(1);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
50% {
|
|
144
|
+
-webkit-transform: scale(1.1);
|
|
145
|
+
transform: scale(1.1);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
100% {
|
|
149
|
+
-webkit-transform: scale(1);
|
|
150
|
+
transform: scale(1);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.ax-upload-progress-panel {
|
|
158
|
+
padding: 0.5em;
|
|
159
|
+
background-color: var(--ax-white-color);
|
|
160
|
+
|
|
161
|
+
small {
|
|
162
|
+
display: block;
|
|
163
|
+
margin: 0.5em 0 0 0;
|
|
164
|
+
white-space: nowrap;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
$color-suffix: color;
|
|
2
|
+
$size-suffix: size;
|
|
3
|
+
$white: #fff;
|
|
4
|
+
$black: #000;
|
|
5
|
+
$primary: #3b82f6;
|
|
6
|
+
$secondary: #ec4899;
|
|
7
|
+
$gray: #cbd5e1;
|
|
8
|
+
$success: #10b981;
|
|
9
|
+
$info: #8b5cf6;
|
|
10
|
+
$warning: #f59e0b;
|
|
11
|
+
$danger: #ef4444;
|
|
12
|
+
$shadow: rgba(0, 0, 0, 0.1);
|
|
13
|
+
$colors: (
|
|
14
|
+
"white": $white,
|
|
15
|
+
"black": $black,
|
|
16
|
+
"trans-white": transparentize($white, 0.85),
|
|
17
|
+
"trans-black": transparentize($black, 0.85),
|
|
18
|
+
"primary": (
|
|
19
|
+
"": $primary,
|
|
20
|
+
"fore": $white,
|
|
21
|
+
"light": lighten($primary, 10%),
|
|
22
|
+
"dark": darken($primary, 10%),
|
|
23
|
+
"trans-dark": transparentize($primary, 0.85),
|
|
24
|
+
"trans-light": transparentize($primary, 0.85),
|
|
25
|
+
),
|
|
26
|
+
"secondary": (
|
|
27
|
+
"": $secondary,
|
|
28
|
+
"fore": $white,
|
|
29
|
+
"light": lighten($secondary, 10%),
|
|
30
|
+
"dark": darken($secondary, 10%),
|
|
31
|
+
"trans-dark": transparentize($secondary, 0.85),
|
|
32
|
+
"trans-light": transparentize($secondary, 0.85),
|
|
33
|
+
),
|
|
34
|
+
"info": (
|
|
35
|
+
"": $info,
|
|
36
|
+
"fore": $white,
|
|
37
|
+
"light": lighten($info, 10%),
|
|
38
|
+
"dark": darken($info, 10%),
|
|
39
|
+
"trans-dark": transparentize($info, 0.85),
|
|
40
|
+
"trans-light": transparentize($info, 0.85),
|
|
41
|
+
),
|
|
42
|
+
"success": (
|
|
43
|
+
"": $success,
|
|
44
|
+
"fore": $white,
|
|
45
|
+
"light": lighten($success, 10%),
|
|
46
|
+
"dark": darken($success, 10%),
|
|
47
|
+
"trans-dark": transparentize($success, 0.85),
|
|
48
|
+
"trans-light": transparentize($success, 0.85),
|
|
49
|
+
),
|
|
50
|
+
"warning": (
|
|
51
|
+
"": $warning,
|
|
52
|
+
"fore": $white,
|
|
53
|
+
"light": lighten($warning, 10%),
|
|
54
|
+
"dark": darken($warning, 10%),
|
|
55
|
+
"trans-dark": transparentize($warning, 0.85),
|
|
56
|
+
"trans-light": transparentize($warning, 0.85),
|
|
57
|
+
),
|
|
58
|
+
"danger": (
|
|
59
|
+
"": $danger,
|
|
60
|
+
"fore": $white,
|
|
61
|
+
"light": lighten($danger, 10%),
|
|
62
|
+
"dark": darken($danger, 10%),
|
|
63
|
+
"trans-dark": transparentize($danger, 0.85),
|
|
64
|
+
"trans-light": transparentize($danger, 0.85),
|
|
65
|
+
),
|
|
66
|
+
"gray": (
|
|
67
|
+
"": $gray,
|
|
68
|
+
"fore": darken($gray, 50%),
|
|
69
|
+
"light": lighten($gray, 10%),
|
|
70
|
+
"dark": darken($gray, 10%),
|
|
71
|
+
"trans-dark": transparentize($gray, 0.85),
|
|
72
|
+
"trans-light": transparentize($gray, 0.85),
|
|
73
|
+
),
|
|
74
|
+
"light": (
|
|
75
|
+
"": $gray,
|
|
76
|
+
"fore": darken($gray, 50%),
|
|
77
|
+
"light": lighten($gray, 10%),
|
|
78
|
+
"dark": darken($gray, 10%),
|
|
79
|
+
"trans-dark": transparentize($gray, 0.85),
|
|
80
|
+
"trans-light": transparentize($gray, 0.85),
|
|
81
|
+
),
|
|
82
|
+
"dark": (
|
|
83
|
+
"": $black,
|
|
84
|
+
"fore": $white,
|
|
85
|
+
"light": lighten($black, 10%),
|
|
86
|
+
"dark": darken($black, 10%),
|
|
87
|
+
"trans-dark": transparentize($black, 0.85),
|
|
88
|
+
"trans-light": transparentize($black, 0.85),
|
|
89
|
+
),
|
|
90
|
+
);
|
|
91
|
+
$sizes: (
|
|
92
|
+
"": (
|
|
93
|
+
xxs: 0.4em,
|
|
94
|
+
xs: 0.6em,
|
|
95
|
+
sm: 0.8em,
|
|
96
|
+
md: 1em,
|
|
97
|
+
lg: 1.2em,
|
|
98
|
+
xl: 1.4em,
|
|
99
|
+
xxl: 1.6em,
|
|
100
|
+
),
|
|
101
|
+
"border": (
|
|
102
|
+
width: 1px,
|
|
103
|
+
radius: 4px,
|
|
104
|
+
circle: 50px,
|
|
105
|
+
),
|
|
106
|
+
);
|
package/index.scss
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@import "./scss/ax-icon/style.scss";
|
|
2
|
-
|
|
3
|
-
@import "./scss/bases/accessiblity.scss";
|
|
4
|
-
@import "./scss/bases/background.scss";
|
|
5
|
-
@import "./scss/bases/border.scss";
|
|
6
|
-
@import "./scss/bases/effects.scss";
|
|
7
|
-
@import "./scss/bases/flexbox-and-grid.scss";
|
|
8
|
-
@import "./scss/bases/interactivity.scss";
|
|
9
|
-
@import "./scss/bases/layout.scss";
|
|
10
|
-
|
|
11
|
-
@import "./scss/bases/root.scss";
|
|
12
|
-
|
|
13
|
-
@import "./scss/bases/sizing.scss";
|
|
14
|
-
@import "./scss/bases/skeleton.scss";
|
|
15
|
-
@import "./scss/bases/spacing.scss";
|
|
16
|
-
@import "./scss/bases/svg.scss";
|
|
17
|
-
@import "./scss/bases/table.scss";
|
|
18
|
-
@import "./scss/bases/transform.scss";
|
|
19
|
-
@import "./scss/bases/transition-and-animation.scss";
|
|
20
|
-
@import "./scss/bases/typography.scss";
|
|
21
|
-
|
|
22
|
-
@import "./scss/components/alert.scss";
|
|
23
|
-
@import "./scss/components/badge.scss";
|
|
24
|
-
@import "./scss/components/button.scss";
|
|
25
|
-
@import "./scss/components/checkbox.scss";
|
|
26
|
-
@import "./scss/components/calendar.scss";
|
|
27
|
-
@import "./scss/components/datepicker.scss";
|
|
28
|
-
@import "./scss/components/dialog.scss";
|
|
29
|
-
@import "./scss/components/drawer.scss";
|
|
30
|
-
@import "./scss/components/dropdown.scss";
|
|
31
|
-
@import "./scss/components/editor-container.scss";
|
|
32
|
-
@import "./scss/components/input.scss";
|
|
33
|
-
@import "./scss/components/radio.scss";
|
|
34
|
-
@import "./scss/components/switch.scss";
|
|
35
|
-
@import "./scss/components/selectbox.scss";
|
|
36
|
-
@import "./scss/components/table.scss";
|
|
37
|
-
@import "./scss/components/tabs.scss";
|
|
38
|
-
@import "./scss/components/label.scss";
|
|
39
|
-
@import "./scss/components/selection-list.scss";
|
|
40
|
-
@import "./scss/components/side-menu.scss";
|
|
41
|
-
@import "./scss/components/list.scss";
|
|
42
|
-
@import "./scss/components/popup.scss";
|
|
43
|
-
@import "./scss/components/text-box.scss";
|
|
44
|
-
@import "./scss/components/toast.scss";
|
|
45
|
-
@import "./scss/components/tooltip.scss";
|
|
46
|
-
@import "./scss/components/datapager.scss";
|
|
47
|
-
@import "./scss/components/loading.scss";
|
|
48
|
-
@import "./scss/components/carousel.scss";
|
|
Binary file
|