@acorex/styles 5.1.2 → 5.1.5
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 +10 -10
- package/scss/buttons.scss +69 -0
- package/scss/calendar.scss +121 -0
- package/scss/checkbox.scss +46 -0
- package/scss/context-menu.scss +75 -0
- package/scss/data-grid.scss +117 -0
- package/scss/drawer.scss +138 -0
- package/scss/fieldset.scss +23 -0
- package/scss/forms.scss +515 -0
- package/scss/list.scss +47 -0
- package/scss/master.scss +259 -0
- package/scss/menu.scss +130 -0
- package/scss/mixin.scss +12 -0
- package/scss/page.scss +54 -0
- package/scss/progress.scss +11 -0
- package/scss/selection-list.scss +104 -0
- package/scss/style.scss +47 -0
- package/scss/tab-strip.scss +31 -0
- package/scss/tab.scss +36 -0
- package/scss/toast.scss +46 -0
- package/scss/tooltip.scss +55 -0
- package/scss/treeview.scss +122 -0
- package/scss/upload.scss +170 -0
- package/scss/variables.scss +139 -0
- package/index.scss +0 -11
- package/src/base/index.scss +0 -44
- package/src/components/_action-sheet.scss +0 -25
- package/src/components/_alert.scss +0 -64
- package/src/components/_avatar.scss +0 -135
- package/src/components/_badge.scss +0 -45
- package/src/components/_breadcrumbs.scss +0 -24
- package/src/components/_button.scss +0 -762
- package/src/components/_calendar.scss +0 -166
- package/src/components/_carousel.scss +0 -44
- package/src/components/_checkbox.scss +0 -63
- package/src/components/_collapse.scss +0 -52
- package/src/components/_datapager.scss +0 -40
- package/src/components/_datepicker.scss +0 -5
- package/src/components/_dialog.scss +0 -63
- package/src/components/_drawer.scss +0 -126
- package/src/components/_dropdown.scss +0 -226
- package/src/components/_editor-container.scss +0 -139
- package/src/components/_fieldset.scss +0 -8
- package/src/components/_form.scss +0 -8
- package/src/components/_input.scss +0 -14
- package/src/components/_label.scss +0 -7
- package/src/components/_list.scss +0 -80
- package/src/components/_loading.scss +0 -59
- package/src/components/_menu.scss +0 -50
- package/src/components/_numberbox.scss +0 -17
- package/src/components/_picker.scss +0 -11
- package/src/components/_popup.scss +0 -126
- package/src/components/_progress.scss +0 -62
- package/src/components/_radio.scss +0 -32
- package/src/components/_range-slider.scss +0 -15
- package/src/components/_rating.scss +0 -14
- package/src/components/_result.scss +0 -25
- package/src/components/_selectbox.scss +0 -18
- package/src/components/_selection-list.scss +0 -54
- package/src/components/_side-menu.scss +0 -42
- package/src/components/_skeleton.scss +0 -22
- package/src/components/_switch copy.scss +0 -185
- package/src/components/_switch.scss +0 -187
- package/src/components/_table.scss +0 -48
- package/src/components/_tabs.scss +0 -238
- package/src/components/_textarea.scss +0 -39
- package/src/components/_toast.scss +0 -82
- package/src/components/_tooltip.scss +0 -44
- package/src/components/_treeview.scss +0 -55
- package/src/components/index.scss +0 -42
- package/src/icons/Read Me.txt +0 -7
- package/src/icons/demo-files/demo.css +0 -152
- package/src/icons/demo-files/demo.js +0 -30
- package/src/icons/demo.html +0 -500
- package/src/icons/fonts/acorex-icon.eot +0 -0
- package/src/icons/fonts/acorex-icon.svg +0 -43
- package/src/icons/fonts/acorex-icon.ttf +0 -0
- package/src/icons/fonts/acorex-icon.woff +0 -0
- package/src/icons/selection.json +0 -1
- package/src/icons/style.css +0 -126
- package/src/icons/style.scss +0 -195
- package/src/icons/variables.scss +0 -37
- package/src/utility/_mixins.scss +0 -83
- package/src/utility/index.scss +0 -16
- package/src/variables/_colors.scss +0 -121
package/scss/toast.scss
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
@import "./variables.scss";
|
2
|
+
.ax {
|
3
|
+
&.toast {
|
4
|
+
font-size: 0.875rem;
|
5
|
+
|
6
|
+
&.info {
|
7
|
+
background-color: var(--ax-info-color);
|
8
|
+
color: var(--ax-info-fore-color);
|
9
|
+
&:hover,
|
10
|
+
&:active,
|
11
|
+
&:focus {
|
12
|
+
background-color: var(--ax-info-color);
|
13
|
+
color: var(--ax-info-fore-color);
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
&.success {
|
18
|
+
&:hover,
|
19
|
+
&:active,
|
20
|
+
&:focus {
|
21
|
+
background-color: var(--ax-success-color);
|
22
|
+
color: var(--ax-success-fore-color);
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
&.warning {
|
27
|
+
&:hover,
|
28
|
+
&:active,
|
29
|
+
&:focus {
|
30
|
+
background-color: var(--ax-warning-color);
|
31
|
+
color: var(--ax-warning-fore-color);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
&.error {
|
36
|
+
background-color: var(--ax-danger-color);
|
37
|
+
color: var(--ax-danger-fore-color);
|
38
|
+
&:hover,
|
39
|
+
&:active,
|
40
|
+
&:focus {
|
41
|
+
background-color: var(--ax-danger-color);
|
42
|
+
color: var(--ax-danger-fore-color);
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
.ax-tooltip {
|
2
|
+
position: absolute;
|
3
|
+
font-size: 0.875rem;
|
4
|
+
min-width: fit-content;
|
5
|
+
max-width: 150px;
|
6
|
+
text-align: center;
|
7
|
+
color: var(--ax-dark-fore-color);
|
8
|
+
padding: 0.5rem 0.7rem;
|
9
|
+
background: var(--ax-dark-color);
|
10
|
+
border-radius: var(--ax-size-border-radius);
|
11
|
+
z-index: 20000;
|
12
|
+
opacity: 0;
|
13
|
+
|
14
|
+
&:after {
|
15
|
+
content: "";
|
16
|
+
position: absolute;
|
17
|
+
border-style: solid;
|
18
|
+
}
|
19
|
+
|
20
|
+
&.ax-tooltip-top:after {
|
21
|
+
top: 100%;
|
22
|
+
inset-inline-start: 50%;
|
23
|
+
margin-inline-start: -5px;
|
24
|
+
border-width: 5px;
|
25
|
+
border-color: var(--ax-dark-color) transparent transparent transparent;
|
26
|
+
}
|
27
|
+
|
28
|
+
&.ax-tooltip-bottom:after {
|
29
|
+
bottom: 100%;
|
30
|
+
inset-inline-start: 50%;
|
31
|
+
margin-inline-start: -5px;
|
32
|
+
border-width: 5px;
|
33
|
+
border-color: transparent transparent var(--ax-dark-color) transparent;
|
34
|
+
}
|
35
|
+
|
36
|
+
&.ax-tooltip-left:after {
|
37
|
+
top: 50%;
|
38
|
+
inset-inline-end: 100%;
|
39
|
+
margin-top: -5px;
|
40
|
+
border-width: 5px;
|
41
|
+
border-color: transparent transparent transparent var(--ax-dark-color);
|
42
|
+
}
|
43
|
+
|
44
|
+
&.ax-tooltip-right:after {
|
45
|
+
top: 50%;
|
46
|
+
inset-inline-start: 100%;
|
47
|
+
margin-top: -5px;
|
48
|
+
border-width: 5px;
|
49
|
+
border-color: transparent var(--ax-dark-color) transparent transparent;
|
50
|
+
}
|
51
|
+
|
52
|
+
&.ax-tooltip-show {
|
53
|
+
opacity: 1;
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,122 @@
|
|
1
|
+
$ident: 1.5rem;
|
2
|
+
$left: -($ident);
|
3
|
+
.treeview {
|
4
|
+
padding: 0 1.2rem;
|
5
|
+
font-size: 0.875rem;
|
6
|
+
&.sm {
|
7
|
+
.child {
|
8
|
+
padding-inline-start: 1.5em;
|
9
|
+
}
|
10
|
+
.bordered {
|
11
|
+
&::before {
|
12
|
+
width: 1.5em;
|
13
|
+
}
|
14
|
+
&::after {
|
15
|
+
width: 1.5em;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
.check-box {
|
19
|
+
margin-top: -1rem;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
li {
|
23
|
+
list-style-type: none;
|
24
|
+
position: relative;
|
25
|
+
cursor: pointer;
|
26
|
+
.ax-checkbox-container{
|
27
|
+
span{
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
&.node {
|
32
|
+
padding-inline-start: 1rem;
|
33
|
+
// .start-side {
|
34
|
+
// display: none;
|
35
|
+
// }
|
36
|
+
.check-box {
|
37
|
+
margin-inline-start: -2em;
|
38
|
+
z-index: 1;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
&.selected {
|
42
|
+
background-color: var(--ax-primary-trans-dark-color);
|
43
|
+
}
|
44
|
+
&.bordered {
|
45
|
+
&:before {
|
46
|
+
content: "";
|
47
|
+
position: absolute;
|
48
|
+
top: 0.12rem;
|
49
|
+
inset-inline-start: -1rem;
|
50
|
+
border-inline-start: 1px solid var(--ax-gray-dark-color);
|
51
|
+
border-bottom: 1px solid var(--ax-gray-dark-color);
|
52
|
+
width: 1.5em;
|
53
|
+
height: 17.8px;
|
54
|
+
}
|
55
|
+
&:after {
|
56
|
+
position: absolute;
|
57
|
+
content: "";
|
58
|
+
top: 1.2rem;
|
59
|
+
inset-inline-start: -1rem;
|
60
|
+
border-inline-start: 1px solid var(--ax-gray-dark-color);
|
61
|
+
border-top: 1px solid var(--ax-gray-dark-color);
|
62
|
+
width: $ident;
|
63
|
+
height: 100%;
|
64
|
+
}
|
65
|
+
&:last-child:after {
|
66
|
+
display: none;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
[dir="rtl"] & {
|
70
|
+
.fas {
|
71
|
+
-webkit-transform: scaleX(-1);
|
72
|
+
transform: scaleX(-1);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
.start-side {
|
76
|
+
display: flex;
|
77
|
+
align-items: center;
|
78
|
+
.collapse-icon {
|
79
|
+
display: flex;
|
80
|
+
align-items: center;
|
81
|
+
justify-content: center;
|
82
|
+
width: 1rem;
|
83
|
+
height: 1rem;
|
84
|
+
border: 1px solid var(--ax-gray-dark-color);
|
85
|
+
background: var(--ax-white-color);
|
86
|
+
z-index: 1;
|
87
|
+
i {
|
88
|
+
font-size: 0.875rem;
|
89
|
+
text-align: center;
|
90
|
+
:not(.fa-spin) {
|
91
|
+
font-size: initial !important;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
.ax-checkbox-container {
|
96
|
+
margin-inline-start: 0.5rem;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
.check-box {
|
100
|
+
margin-top: -1.5em;
|
101
|
+
}
|
102
|
+
.text-list {
|
103
|
+
flex: 1;
|
104
|
+
display: flex;
|
105
|
+
margin-inline-start: 0.5rem;
|
106
|
+
|
107
|
+
}
|
108
|
+
>div {
|
109
|
+
padding: 0.5em 0;
|
110
|
+
&:hover {
|
111
|
+
background-color: var(--ax-gray-trans-light-color);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
.child{
|
115
|
+
li:not(.node){
|
116
|
+
.text-list{
|
117
|
+
margin-inline-start: 0.5rem;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
package/scss/upload.scss
ADDED
@@ -0,0 +1,170 @@
|
|
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
|
+
|
170
|
+
}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
$color-suffix: color;
|
2
|
+
$size-suffix: size;
|
3
|
+
$white: #fff;
|
4
|
+
$black: #000;
|
5
|
+
|
6
|
+
$primary: #3b82f6; // 500
|
7
|
+
$primary-dark: #1d4ed8; // 700
|
8
|
+
$primary-light: #93c5fd; // 400
|
9
|
+
|
10
|
+
$secondary: #ec4899;
|
11
|
+
$secondary-dark: #be185d;
|
12
|
+
$secondary-light: #f472b6;
|
13
|
+
|
14
|
+
$success: #10b981;
|
15
|
+
$success-dark: #047857;
|
16
|
+
$success-light: #34d399;
|
17
|
+
|
18
|
+
$warning: #f59e0b;
|
19
|
+
$warning-dark: #d97706;
|
20
|
+
$warning-light: #fbbf24;
|
21
|
+
|
22
|
+
|
23
|
+
$danger: #ef4444;
|
24
|
+
$danger-dark: #b91c1c;
|
25
|
+
$danger-light: #f87171;
|
26
|
+
|
27
|
+
$info: #8b5cf6;
|
28
|
+
$info-dark: #6d28d9;
|
29
|
+
$info-light: #a78bfa;
|
30
|
+
|
31
|
+
$gray: #cbd5e1; // 300
|
32
|
+
$gray-light: #f1f5f9; // 100
|
33
|
+
$gray-dark: #94a3b8; // 400
|
34
|
+
|
35
|
+
|
36
|
+
$light: #d1d5db; // 300
|
37
|
+
$light-light: #f3f4f6; // 100
|
38
|
+
$light-dark: #9ca3af; // 400
|
39
|
+
|
40
|
+
$dark: #3f3f46;
|
41
|
+
$dark-dark: #18181b;
|
42
|
+
$dark-light: #71717a;
|
43
|
+
|
44
|
+
$shadow: rgba(0, 0, 0, 0.1);
|
45
|
+
|
46
|
+
$colors: (
|
47
|
+
"white": $white,
|
48
|
+
"black": $black,
|
49
|
+
"trans-white": transparentize($white, 0.85),
|
50
|
+
"trans-black": transparentize($black, 0.85),
|
51
|
+
"primary": (
|
52
|
+
"": $primary,
|
53
|
+
"fore": $white,
|
54
|
+
"light": $primary-light,
|
55
|
+
"dark": $primary-dark,
|
56
|
+
"trans-dark": transparentize($primary-light, 0.85),
|
57
|
+
"trans-light": transparentize($primary-dark, 0.85),
|
58
|
+
),
|
59
|
+
"secondary": (
|
60
|
+
"": $secondary,
|
61
|
+
"fore": $white,
|
62
|
+
"light": $secondary-light,
|
63
|
+
"dark": $secondary-dark,
|
64
|
+
"trans-dark": transparentize($secondary-light, 0.85),
|
65
|
+
"trans-light": transparentize($secondary-dark, 0.85),
|
66
|
+
),
|
67
|
+
"success": (
|
68
|
+
"": $success,
|
69
|
+
"fore": $white,
|
70
|
+
"light": $success-light,
|
71
|
+
"dark": $success-dark,
|
72
|
+
"trans-dark": transparentize($success-light, 0.85),
|
73
|
+
"trans-light": transparentize($success-dark, 0.85),
|
74
|
+
),
|
75
|
+
"warning": (
|
76
|
+
"": $warning,
|
77
|
+
"fore": #78350f,
|
78
|
+
"light": $warning-light,
|
79
|
+
"dark": $warning-dark,
|
80
|
+
"trans-dark": transparentize($warning-light, 0.85),
|
81
|
+
"trans-light": transparentize($warning-dark, 0.85),
|
82
|
+
),
|
83
|
+
"danger": (
|
84
|
+
"": $danger,
|
85
|
+
"fore": $white,
|
86
|
+
"light": $danger-light,
|
87
|
+
"dark": $danger-dark,
|
88
|
+
"trans-dark": transparentize($danger-light, 0.85),
|
89
|
+
"trans-light": transparentize($danger-dark, 0.85),
|
90
|
+
),
|
91
|
+
"info": (
|
92
|
+
"": $info,
|
93
|
+
"fore": $white,
|
94
|
+
"light": $info-light,
|
95
|
+
"dark": $info-dark,
|
96
|
+
"trans-dark": transparentize($info-light, 0.85),
|
97
|
+
"trans-light": transparentize($info-light, 0.85),
|
98
|
+
),
|
99
|
+
"gray": (
|
100
|
+
"": $gray,
|
101
|
+
"fore": darken($gray, 50%),
|
102
|
+
"light": $gray-light,
|
103
|
+
"dark": $gray-dark,
|
104
|
+
"trans-dark": transparentize($gray-light, 0.85),
|
105
|
+
"trans-light": transparentize($gray-dark, 0.85),
|
106
|
+
),
|
107
|
+
"light": (
|
108
|
+
"": $light,
|
109
|
+
"fore": darken($light, 80%),
|
110
|
+
"light": $light-light,
|
111
|
+
"dark": $light-dark,
|
112
|
+
"trans-dark": transparentize($light-light, 0.85),
|
113
|
+
"trans-light": transparentize($light-dark, 0.85),
|
114
|
+
),
|
115
|
+
"dark": (
|
116
|
+
"": $dark,
|
117
|
+
"fore": #f4f4f5,
|
118
|
+
"light": $dark-light,
|
119
|
+
"dark": $dark-dark,
|
120
|
+
"trans-dark": transparentize($dark-light, 0.85),
|
121
|
+
"trans-light": transparentize($dark-dark, 0.85),
|
122
|
+
),
|
123
|
+
);
|
124
|
+
$sizes: (
|
125
|
+
"": (
|
126
|
+
xxs: 0.4rem,
|
127
|
+
xs: 0.6rem,
|
128
|
+
sm: 0.8rem,
|
129
|
+
md: 1rem,
|
130
|
+
lg: 1.2rem,
|
131
|
+
xl: 1.4rem,
|
132
|
+
xxl: 1.6rem,
|
133
|
+
),
|
134
|
+
"border": (
|
135
|
+
width: 1px,
|
136
|
+
radius: 4px,
|
137
|
+
circle: 50px,
|
138
|
+
),
|
139
|
+
);
|
package/index.scss
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
@import "./src/variables/colors";
|
2
|
-
@import "./src/icons/style.scss";
|
3
|
-
|
4
|
-
@import "tailwindcss/base";
|
5
|
-
@import "tailwindcss/components";
|
6
|
-
@import "tailwindcss/utilities";
|
7
|
-
|
8
|
-
@import "./src/base/index.scss";
|
9
|
-
@import "./src/components/index.scss";
|
10
|
-
@import "./src/utility/index.scss";
|
11
|
-
|
package/src/base/index.scss
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
@import "../utility/mixins";
|
2
|
-
|
3
|
-
[class*=" ax-ic-"],
|
4
|
-
[class^="ax-ic-"] {
|
5
|
-
vertical-align: middle;
|
6
|
-
}
|
7
|
-
|
8
|
-
:root {
|
9
|
-
--ax-base: 8px;
|
10
|
-
--ax-base-size: 8px;
|
11
|
-
--ax-base-ratio: 6;
|
12
|
-
--ax-color-default-background: 255, 255, 255;
|
13
|
-
--ax-color-default-color: 107, 114, 128;
|
14
|
-
--ax-overlay-full-width: 93;
|
15
|
-
@include colors($theme-colors);
|
16
|
-
}
|
17
|
-
|
18
|
-
html,
|
19
|
-
body {
|
20
|
-
background-color: rgb(var(--ax-color-default-background));
|
21
|
-
color: rgba(var(--ax-color-default-color));
|
22
|
-
height: 100%;
|
23
|
-
font-size: 16px;
|
24
|
-
}
|
25
|
-
|
26
|
-
html.ax-dark,
|
27
|
-
html.ax-dark * {
|
28
|
-
--tw-ring-offset-color: #151b24;
|
29
|
-
--ax-color-default-background: 21 27 36;
|
30
|
-
--ax-color-default-color: 255 255 255;
|
31
|
-
--ax-color-border: 55 65 81;
|
32
|
-
--ax-color-placeholder: 161 161 161;
|
33
|
-
.ax-skeleton {
|
34
|
-
&.ax-skeleton-animate {
|
35
|
-
&::before {
|
36
|
-
content: "";
|
37
|
-
background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
.cdk-overlay-dark-backdrop {
|
42
|
-
background: rgba(0, 0, 0, 0.5) !important;
|
43
|
-
}
|
44
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
@layer components {
|
2
|
-
ax-action-sheet,
|
3
|
-
.ax-action-sheet {
|
4
|
-
.ax-action-sheet-container {
|
5
|
-
@apply ax-fixed ax-bottom-0 ax-left-1/2 -ax-translate-x-1/2 ax-z-[9999] ax-w-1/3 ax-rounded-t-2xl ax-overflow-hidden;
|
6
|
-
|
7
|
-
@include screen(mobile) {
|
8
|
-
@apply ax-w-full;
|
9
|
-
}
|
10
|
-
.ax-action-sheet-caption {
|
11
|
-
@apply ax-text-sm ax-p-4;
|
12
|
-
}
|
13
|
-
.ax-action-sheet-items {
|
14
|
-
@apply ax-flex ax-flex-col ax-pb-3 ax-overflow-x-hidden ax-overflow-y-auto;
|
15
|
-
ax-button {
|
16
|
-
@apply ax-rounded-none ax-w-full ax-text-start ax-justify-start;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
.ax-action-sheet-backdrop {
|
23
|
-
@apply ax-bg-black/75 ax-left-0 ax-right-0 ax-top-0 ax-bottom-0 ax-fixed ax-z-[9998];
|
24
|
-
}
|
25
|
-
}
|
@@ -1,64 +0,0 @@
|
|
1
|
-
@layer components {
|
2
|
-
.ax-alert {
|
3
|
-
@apply ax-flex ax-bg-light-100 ax-text-light-fore ax-px-3.5 ax-py-4 ax-items-center ax-rounded ;
|
4
|
-
transition: visibility 0s, opacity 0.5s ease-in-out;
|
5
|
-
&.ax-state-hidden {
|
6
|
-
visibility: hidden;
|
7
|
-
opacity: 0;
|
8
|
-
}
|
9
|
-
&.ax-state-visible {
|
10
|
-
visibility: visible;
|
11
|
-
opacity: 1;
|
12
|
-
}
|
13
|
-
.ax-alert-icon {
|
14
|
-
@apply ax-text-xl ax-self-baseline ax-me-2;
|
15
|
-
}
|
16
|
-
.ax-alert-body {
|
17
|
-
@apply ax-ml-2 ax-flex-1;
|
18
|
-
.ax-alert-title {
|
19
|
-
@apply ax-inline-flex ax-text-sm ax-font-bold ax-mb-2.5;
|
20
|
-
a {
|
21
|
-
@apply ax-text-current ax-font-bold;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
.ax-alert-content {
|
25
|
-
@apply ax-block ax-text-sm ax-break-words;
|
26
|
-
|
27
|
-
ul {
|
28
|
-
@apply ax-my-2 ax-ms-5 ax-list-disc;
|
29
|
-
}
|
30
|
-
a {
|
31
|
-
@apply ax-text-current ax-font-bold ax-underline;
|
32
|
-
&:hover {
|
33
|
-
@apply ax-underline;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
.ax-alert-footer {
|
38
|
-
.ax-alert-buttons {
|
39
|
-
@apply ax-flex ax-mt-4;
|
40
|
-
.ax-alert-button {
|
41
|
-
@apply ax-text-sm ax-font-semibold ax-me-4 ax-cursor-pointer;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
.ax-alert-prefix {
|
47
|
-
.ax-alert-buttons {
|
48
|
-
@apply ax-flex;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
.ax-alert-suffix {
|
52
|
-
.ax-alert-buttons {
|
53
|
-
@apply ax-flex;
|
54
|
-
.ax-alert-button {
|
55
|
-
@apply ax-me-0.5 ax-text-sm ax-font-semibold ax-cursor-pointer;
|
56
|
-
i {
|
57
|
-
@apply ax-mx-1;
|
58
|
-
}
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
62
|
-
@include color-look-generator();
|
63
|
-
}
|
64
|
-
}
|