@acorex/styles 18.12.29 → 18.12.30
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/README.md +32 -32
- package/icons/fontawesome/_variables.scss +185 -185
- package/icons/fontawesome/fontawesome.scss +17 -17
- package/icons/huge/huge-bulk/_variables.scss +185 -185
- package/icons/huge/huge-bulk/bulk-rounded.scss +13 -13
- package/icons/huge/huge-duotone/_variables.scss +185 -185
- package/icons/huge/huge-duotone/duotone-rounded.scss +13 -13
- package/icons/huge/huge-solid/solid-rounded.scss +13 -13
- package/icons/huge/huge-solid/solid-sharp.scss +13 -13
- package/icons/huge/huge-solid/solid-standard.scss +13 -13
- package/icons/huge/huge-solid/variables/_rounded-variables.scss +185 -185
- package/icons/huge/huge-solid/variables/_sharp-variables.scss +185 -185
- package/icons/huge/huge-solid/variables/_standard-variables.scss +185 -185
- package/icons/huge/huge-stroke/stroke-rounded.scss +13 -13
- package/icons/huge/huge-stroke/stroke-sharp.scss +13 -13
- package/icons/huge/huge-stroke/stroke-standard.scss +13 -13
- package/icons/huge/huge-stroke/variables/_rounded-variables.scss +185 -185
- package/icons/huge/huge-stroke/variables/_sharp-variables.scss +185 -185
- package/icons/huge/huge-stroke/variables/_standard-variables.scss +185 -185
- package/icons/huge/huge-twotone/_variables.scss +185 -185
- package/icons/huge/huge-twotone/twotone-rounded.scss +13 -13
- package/icons/index.scss +570 -570
- package/icons/material/_variables.scss +185 -185
- package/icons/material/material.scss +22 -22
- package/index.css +3058 -0
- package/index.min.css +1 -0
- package/index.scss +9 -9
- package/package.json +11 -11
- package/src/base/_preflight.scss +405 -405
- package/src/base/index.scss +13 -13
- package/src/mixins/_look.scss +83 -83
- package/src/mixins/_media.scss +73 -73
- package/src/mixins/_util.scss +19 -19
- package/src/mixins/index.scss +3 -3
- package/src/shared/_action-item.scss +109 -109
- package/src/shared/_actionsheet.scss +20 -20
- package/src/shared/_check-box.scss +60 -60
- package/src/shared/_color-look.scss +864 -864
- package/src/shared/_drop-down.scss +76 -76
- package/src/shared/_editor-container.scss +258 -258
- package/src/shared/_general-button.scss +87 -87
- package/src/shared/_inputs.scss +16 -16
- package/src/shared/_list.scss +199 -199
- package/src/shared/_radio.scss +57 -57
- package/src/shared/_table.scss +149 -149
- package/src/shared/_utils.scss +84 -84
- package/src/shared/index.scss +12 -12
- package/src/utility/index.scss +24 -24
- package/src/variables/_colors.scss +2 -2
- package/src/variables/_degrees.scss +1 -1
- package/src/variables/index.scss +2 -2
- package/tailwind-base.js +234 -234
- package/themes/default.css +1 -0
- package/themes/default.scss +143 -143
@@ -1,76 +1,76 @@
|
|
1
|
-
@import '../variables/index.scss';
|
2
|
-
|
3
|
-
.ax-drop-down {
|
4
|
-
// @apply ax-contents;
|
5
|
-
display: contents;
|
6
|
-
|
7
|
-
.ax-dropdown-content {
|
8
|
-
// @apply ax-flex ax-flex-1 ax-items-center ax-overflow-x-auto ax-overflow-y-hidden ax-text-sm ax-capitalize;
|
9
|
-
display: flex;
|
10
|
-
flex: 1 1 0%;
|
11
|
-
align-items: center;
|
12
|
-
overflow-x: auto;
|
13
|
-
overflow-y: hidden;
|
14
|
-
font-size: 0.875rem /* 14px */;
|
15
|
-
line-height: 1.25rem /* 20px */;
|
16
|
-
text-transform: capitalize;
|
17
|
-
|
18
|
-
&.ax-state-disabled {
|
19
|
-
// @apply ax-cursor-not-allowed ax-opacity-50;
|
20
|
-
cursor: not-allowed;
|
21
|
-
opacity: 0.5;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
.ax-overlay-pane {
|
27
|
-
// @apply ax-mt-1 ax-h-fit ax-overflow-hidden ax-rounded-none ax-border ax-border-default ax-bg-surface ax-shadow-md md:ax-rounded-default;
|
28
|
-
margin-top: 0.25rem /* 4px */;
|
29
|
-
min-width: 10rem;
|
30
|
-
height: fit-content;
|
31
|
-
overflow: hidden;
|
32
|
-
border-radius: 0px;
|
33
|
-
border-width: 1px;
|
34
|
-
border-color: rgba(var(--ax-color-border-default));
|
35
|
-
background-color: rgba(var(--ax-color-surface));
|
36
|
-
--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
37
|
-
--ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color), 0 2px 4px -2px var(--ax-shadow-color);
|
38
|
-
box-shadow: var(--ax-ring-offset-shadow, 0 0 #0000), var(--ax-ring-shadow, 0 0 #0000), var(--ax-shadow);
|
39
|
-
@media (min-width: 768px) {
|
40
|
-
border-radius: var(--ax-rounded-border-default);
|
41
|
-
}
|
42
|
-
ax-header,
|
43
|
-
ax-footer {
|
44
|
-
// @apply ax-bg-surface ax-p-3;
|
45
|
-
background-color: rgba(var(--ax-color-surface));
|
46
|
-
padding: 0.75rem /* 12px */;
|
47
|
-
}
|
48
|
-
|
49
|
-
&.ax-overlay-center {
|
50
|
-
// @apply ax-h-fit ax-w-[80vw] ax-max-w-[90vh];
|
51
|
-
height: fit-content;
|
52
|
-
width: 80vw;
|
53
|
-
max-width: 90vh;
|
54
|
-
}
|
55
|
-
|
56
|
-
&.ax-overlay-actionsheet {
|
57
|
-
// @apply ax-h-auto ax-max-h-[85vh] ax-w-full ax-bg-surface;
|
58
|
-
height: auto;
|
59
|
-
max-height: 85vh;
|
60
|
-
width: 100%;
|
61
|
-
background-color: rgba(var(--ax-color-surface));
|
62
|
-
border-top-left-radius: var(--ax-rounded-border-default);
|
63
|
-
border-top-right-radius: var(--ax-rounded-border-default);
|
64
|
-
&.ax-full {
|
65
|
-
// @apply ax-h-[95vh] ax-max-h-[95vh];
|
66
|
-
height: 95vh;
|
67
|
-
max-height: 95vh;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
&.ax-overlay-full {
|
72
|
-
width: 100vw;
|
73
|
-
height: 100vh;
|
74
|
-
// @apply ax-h-screen ax-w-screen;
|
75
|
-
}
|
76
|
-
}
|
1
|
+
@import '../variables/index.scss';
|
2
|
+
|
3
|
+
.ax-drop-down {
|
4
|
+
// @apply ax-contents;
|
5
|
+
display: contents;
|
6
|
+
|
7
|
+
.ax-dropdown-content {
|
8
|
+
// @apply ax-flex ax-flex-1 ax-items-center ax-overflow-x-auto ax-overflow-y-hidden ax-text-sm ax-capitalize;
|
9
|
+
display: flex;
|
10
|
+
flex: 1 1 0%;
|
11
|
+
align-items: center;
|
12
|
+
overflow-x: auto;
|
13
|
+
overflow-y: hidden;
|
14
|
+
font-size: 0.875rem /* 14px */;
|
15
|
+
line-height: 1.25rem /* 20px */;
|
16
|
+
text-transform: capitalize;
|
17
|
+
|
18
|
+
&.ax-state-disabled {
|
19
|
+
// @apply ax-cursor-not-allowed ax-opacity-50;
|
20
|
+
cursor: not-allowed;
|
21
|
+
opacity: 0.5;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.ax-overlay-pane {
|
27
|
+
// @apply ax-mt-1 ax-h-fit ax-overflow-hidden ax-rounded-none ax-border ax-border-default ax-bg-surface ax-shadow-md md:ax-rounded-default;
|
28
|
+
margin-top: 0.25rem /* 4px */;
|
29
|
+
min-width: 10rem;
|
30
|
+
height: fit-content;
|
31
|
+
overflow: hidden;
|
32
|
+
border-radius: 0px;
|
33
|
+
border-width: 1px;
|
34
|
+
border-color: rgba(var(--ax-color-border-default));
|
35
|
+
background-color: rgba(var(--ax-color-surface));
|
36
|
+
--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
37
|
+
--ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color), 0 2px 4px -2px var(--ax-shadow-color);
|
38
|
+
box-shadow: var(--ax-ring-offset-shadow, 0 0 #0000), var(--ax-ring-shadow, 0 0 #0000), var(--ax-shadow);
|
39
|
+
@media (min-width: 768px) {
|
40
|
+
border-radius: var(--ax-rounded-border-default);
|
41
|
+
}
|
42
|
+
ax-header,
|
43
|
+
ax-footer {
|
44
|
+
// @apply ax-bg-surface ax-p-3;
|
45
|
+
background-color: rgba(var(--ax-color-surface));
|
46
|
+
padding: 0.75rem /* 12px */;
|
47
|
+
}
|
48
|
+
|
49
|
+
&.ax-overlay-center {
|
50
|
+
// @apply ax-h-fit ax-w-[80vw] ax-max-w-[90vh];
|
51
|
+
height: fit-content;
|
52
|
+
width: 80vw;
|
53
|
+
max-width: 90vh;
|
54
|
+
}
|
55
|
+
|
56
|
+
&.ax-overlay-actionsheet {
|
57
|
+
// @apply ax-h-auto ax-max-h-[85vh] ax-w-full ax-bg-surface;
|
58
|
+
height: auto;
|
59
|
+
max-height: 85vh;
|
60
|
+
width: 100%;
|
61
|
+
background-color: rgba(var(--ax-color-surface));
|
62
|
+
border-top-left-radius: var(--ax-rounded-border-default);
|
63
|
+
border-top-right-radius: var(--ax-rounded-border-default);
|
64
|
+
&.ax-full {
|
65
|
+
// @apply ax-h-[95vh] ax-max-h-[95vh];
|
66
|
+
height: 95vh;
|
67
|
+
max-height: 95vh;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
&.ax-overlay-full {
|
72
|
+
width: 100vw;
|
73
|
+
height: 100vh;
|
74
|
+
// @apply ax-h-screen ax-w-screen;
|
75
|
+
}
|
76
|
+
}
|
@@ -1,258 +1,258 @@
|
|
1
|
-
@import '../mixins/look';
|
2
|
-
|
3
|
-
@include darkMode() {
|
4
|
-
.ax-editor-container {
|
5
|
-
&.ax-look-fill {
|
6
|
-
&.ax-state-error {
|
7
|
-
// @apply ax-bg-danger-500/25;
|
8
|
-
background-color: rgba(var(--ax-color-danger-500), 0.25);
|
9
|
-
}
|
10
|
-
}
|
11
|
-
}
|
12
|
-
}
|
13
|
-
.ax-editor-container {
|
14
|
-
// @apply ax-flex ax-h-default ax-w-full ax-items-center ax-overflow-hidden ax-text-sm ax-leading-none ax-text-input-surface-fore;
|
15
|
-
display: flex;
|
16
|
-
height: var(--ax-size-default);
|
17
|
-
width: 100%;
|
18
|
-
align-items: center;
|
19
|
-
overflow: hidden;
|
20
|
-
font-size: 0.875rem /* 14px */;
|
21
|
-
line-height: 1;
|
22
|
-
color: rgba(var(--ax-color-input-surface-fore));
|
23
|
-
.ax-editor-container {
|
24
|
-
// background-color: rgba(var(--ax-color-on-surface)) !important;
|
25
|
-
border-radius: 0 !important;
|
26
|
-
border: 0px !important;
|
27
|
-
height: 100% !important;
|
28
|
-
.ax-select-box-selection,
|
29
|
-
.ax-content {
|
30
|
-
padding-top: 0 !important;
|
31
|
-
}
|
32
|
-
&:focus-within {
|
33
|
-
box-shadow: none !important;
|
34
|
-
}
|
35
|
-
&:focus {
|
36
|
-
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-primary-500));
|
37
|
-
}
|
38
|
-
}
|
39
|
-
&.ax-state-disabled {
|
40
|
-
opacity: 0.5;
|
41
|
-
cursor: not-allowed;
|
42
|
-
}
|
43
|
-
&.ax-look-solid,
|
44
|
-
&.ax-look-outline {
|
45
|
-
@include solid-look();
|
46
|
-
}
|
47
|
-
&.ax-look-flat {
|
48
|
-
@include flat-look();
|
49
|
-
}
|
50
|
-
&.ax-look-outline {
|
51
|
-
@include outline-look();
|
52
|
-
}
|
53
|
-
&.ax-look-fill {
|
54
|
-
@include fill-look();
|
55
|
-
}
|
56
|
-
|
57
|
-
.ax-editor-input {
|
58
|
-
// @apply ax-h-full ax-flex-1;
|
59
|
-
height: 100%;
|
60
|
-
flex: 1 1 0%;
|
61
|
-
|
62
|
-
.ax-input {
|
63
|
-
// @apply ax-h-full;
|
64
|
-
height: 100%;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
.ax-input {
|
68
|
-
// @apply ax-px-3;
|
69
|
-
padding-left: 0.75rem /* 12px */;
|
70
|
-
padding-right: 0.75rem /* 12px */;
|
71
|
-
&::placeholder {
|
72
|
-
// @apply ax-font-normal ax-text-default/50;
|
73
|
-
font-size: inherit;
|
74
|
-
font-weight: 400;
|
75
|
-
color: rgb(var(--ax-color-input-surface-fore), 0.5);
|
76
|
-
}
|
77
|
-
&:focus,
|
78
|
-
&:focus-visible,
|
79
|
-
&:focus-within {
|
80
|
-
outline: none;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
&.ax-xs {
|
85
|
-
.ax-input {
|
86
|
-
// @apply ax-p-2 ax-text-xs;
|
87
|
-
padding: 0.5rem /* 8px */;
|
88
|
-
font-size: 0.75rem /* 12px */;
|
89
|
-
line-height: 1rem /* 16px */;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
&.ax-sm {
|
93
|
-
.ax-input {
|
94
|
-
// @apply ax-p-2 ax-text-sm;
|
95
|
-
padding: 0.5rem /* 8px */;
|
96
|
-
font-size: 0.875rem /* 14px */;
|
97
|
-
line-height: 1.25rem /* 20px */;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
&.ax-md {
|
101
|
-
.ax-input {
|
102
|
-
// @apply ax-text-sm;
|
103
|
-
font-size: 0.875rem /* 14px */;
|
104
|
-
line-height: 1.25rem /* 20px */;
|
105
|
-
}
|
106
|
-
}
|
107
|
-
&.ax-lg {
|
108
|
-
.ax-input {
|
109
|
-
// @apply ax-text-lg;
|
110
|
-
font-size: 1rem /* 18px */;
|
111
|
-
line-height: 1.25rem /* 28px */;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
&.ax-xl {
|
115
|
-
.ax-input {
|
116
|
-
// @apply ax-text-lg;
|
117
|
-
font-size: 1.125rem /* 18px */;
|
118
|
-
line-height: 1.75rem /* 28px */;
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
.ax-editor-control {
|
123
|
-
// @apply ax-flex ax-h-full ax-items-center ax-justify-center ax-ps-2 ax-text-lg ax-text-input-surface-fore;
|
124
|
-
display: flex;
|
125
|
-
height: 100%;
|
126
|
-
align-items: center;
|
127
|
-
justify-content: center;
|
128
|
-
padding-inline-start: 0.5rem /* 8px */;
|
129
|
-
font-size: 1.125rem /* 18px */;
|
130
|
-
line-height: 1.75rem /* 28px */;
|
131
|
-
font-size: 1.125rem /* 18px */;
|
132
|
-
line-height: 1.75rem /* 28px */;
|
133
|
-
color: rgba(var(--ax-color-input-surface-fore));
|
134
|
-
}
|
135
|
-
|
136
|
-
&.ax-button-icon {
|
137
|
-
// @apply ax-px-2;
|
138
|
-
padding-left: 0.5rem /* 8px */;
|
139
|
-
padding-right: 0.5rem /* 8px */;
|
140
|
-
}
|
141
|
-
.ax-input,
|
142
|
-
.ax-text-area {
|
143
|
-
text-align: inherit;
|
144
|
-
font-family: inherit;
|
145
|
-
font-size: inherit;
|
146
|
-
line-height: inherit;
|
147
|
-
height: 100%;
|
148
|
-
width: 100%;
|
149
|
-
flex: 1 1 0%;
|
150
|
-
background-color: transparent;
|
151
|
-
font-weight: 400;
|
152
|
-
|
153
|
-
// @apply ax-h-full ax-w-full ax-flex-1 ax-bg-transparent ax-font-normal;
|
154
|
-
|
155
|
-
&:focus {
|
156
|
-
// @apply ax-shadow-none;
|
157
|
-
box-shadow: none;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|
161
|
-
.ax-text-area {
|
162
|
-
// @apply ax-p-2.5;
|
163
|
-
padding: 0.625rem /* 10px */;
|
164
|
-
}
|
165
|
-
& > ax-prefix {
|
166
|
-
*,
|
167
|
-
.ax-button,
|
168
|
-
ax-title {
|
169
|
-
// @apply ax-rounded-es ax-rounded-ss;
|
170
|
-
border-end-start-radius: 0.25rem /* 4px */;
|
171
|
-
border-start-start-radius: 0.25rem /* 4px */;
|
172
|
-
}
|
173
|
-
|
174
|
-
ax-icon {
|
175
|
-
// @apply ax-px-3;
|
176
|
-
padding-left: 0.75rem /* 12px */;
|
177
|
-
padding-right: 0.75rem /* 12px */;
|
178
|
-
}
|
179
|
-
}
|
180
|
-
|
181
|
-
& > ax-suffix {
|
182
|
-
*,
|
183
|
-
.ax-button,
|
184
|
-
ax-title {
|
185
|
-
// @apply ax-rounded-ee ax-rounded-se;
|
186
|
-
border-end-end-radius: 0.25rem /* 4px */;
|
187
|
-
border-start-end-radius: 0.25rem /* 4px */;
|
188
|
-
}
|
189
|
-
ax-icon {
|
190
|
-
// @apply ax-pe-3;
|
191
|
-
// padding-inline-end: 0.75rem /* 12px */;
|
192
|
-
}
|
193
|
-
}
|
194
|
-
|
195
|
-
& > ax-prefix,
|
196
|
-
& > ax-suffix {
|
197
|
-
// @apply ax-h-full;
|
198
|
-
height: 100%;
|
199
|
-
|
200
|
-
+ .ax-input {
|
201
|
-
// @apply ax-px-0.5 #{!important};
|
202
|
-
padding-left: 0.375rem !important;
|
203
|
-
padding-right: 0.375rem !important;
|
204
|
-
}
|
205
|
-
* {
|
206
|
-
// @apply ax-flex ax-h-full ax-items-center ax-justify-center ax-rounded-none;
|
207
|
-
display: flex;
|
208
|
-
height: 100%;
|
209
|
-
align-items: center;
|
210
|
-
justify-content: center;
|
211
|
-
border-radius: 0px;
|
212
|
-
}
|
213
|
-
|
214
|
-
ax-title {
|
215
|
-
// @apply ax-px-4;
|
216
|
-
padding-left: 1rem /* 16px */;
|
217
|
-
padding-right: 1rem /* 16px */;
|
218
|
-
}
|
219
|
-
|
220
|
-
& > ax-text {
|
221
|
-
// @apply ax-flex ax-items-center ax-justify-center ax-bg-transparent ax-px-2 ax-text-sm;
|
222
|
-
display: flex;
|
223
|
-
align-items: center;
|
224
|
-
justify-content: center;
|
225
|
-
background-color: transparent;
|
226
|
-
padding-left: 0.5rem /* 8px */;
|
227
|
-
padding-right: 0.5rem /* 8px */;
|
228
|
-
font-size: 0.875rem /* 14px */;
|
229
|
-
line-height: 1.25rem /* 20px */;
|
230
|
-
}
|
231
|
-
}
|
232
|
-
|
233
|
-
.ax-button {
|
234
|
-
// @apply ax-h-full ax-rounded-none #{!important};
|
235
|
-
height: 100% !important;
|
236
|
-
border-radius: 0px !important;
|
237
|
-
|
238
|
-
&.ax-button-icon {
|
239
|
-
// @apply ax-h-full ax-w-default;
|
240
|
-
height: 100%;
|
241
|
-
width: var(--ax-size-default);
|
242
|
-
}
|
243
|
-
}
|
244
|
-
}
|
245
|
-
.ax-ripple {
|
246
|
-
// @apply ax-absolute ax-rounded-full;
|
247
|
-
transform: scale(0);
|
248
|
-
animation: ripple 500ms linear;
|
249
|
-
position: absolute;
|
250
|
-
border-radius: 9999rem !important;
|
251
|
-
|
252
|
-
@keyframes ripple {
|
253
|
-
to {
|
254
|
-
transform: scale(4);
|
255
|
-
opacity: 0;
|
256
|
-
}
|
257
|
-
}
|
258
|
-
}
|
1
|
+
@import '../mixins/look';
|
2
|
+
|
3
|
+
@include darkMode() {
|
4
|
+
.ax-editor-container {
|
5
|
+
&.ax-look-fill {
|
6
|
+
&.ax-state-error {
|
7
|
+
// @apply ax-bg-danger-500/25;
|
8
|
+
background-color: rgba(var(--ax-color-danger-500), 0.25);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
.ax-editor-container {
|
14
|
+
// @apply ax-flex ax-h-default ax-w-full ax-items-center ax-overflow-hidden ax-text-sm ax-leading-none ax-text-input-surface-fore;
|
15
|
+
display: flex;
|
16
|
+
height: var(--ax-size-default);
|
17
|
+
width: 100%;
|
18
|
+
align-items: center;
|
19
|
+
overflow: hidden;
|
20
|
+
font-size: 0.875rem /* 14px */;
|
21
|
+
line-height: 1;
|
22
|
+
color: rgba(var(--ax-color-input-surface-fore));
|
23
|
+
.ax-editor-container {
|
24
|
+
// background-color: rgba(var(--ax-color-on-surface)) !important;
|
25
|
+
border-radius: 0 !important;
|
26
|
+
border: 0px !important;
|
27
|
+
height: 100% !important;
|
28
|
+
.ax-select-box-selection,
|
29
|
+
.ax-content {
|
30
|
+
padding-top: 0 !important;
|
31
|
+
}
|
32
|
+
&:focus-within {
|
33
|
+
box-shadow: none !important;
|
34
|
+
}
|
35
|
+
&:focus {
|
36
|
+
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-primary-500));
|
37
|
+
}
|
38
|
+
}
|
39
|
+
&.ax-state-disabled {
|
40
|
+
opacity: 0.5;
|
41
|
+
cursor: not-allowed;
|
42
|
+
}
|
43
|
+
&.ax-look-solid,
|
44
|
+
&.ax-look-outline {
|
45
|
+
@include solid-look();
|
46
|
+
}
|
47
|
+
&.ax-look-flat {
|
48
|
+
@include flat-look();
|
49
|
+
}
|
50
|
+
&.ax-look-outline {
|
51
|
+
@include outline-look();
|
52
|
+
}
|
53
|
+
&.ax-look-fill {
|
54
|
+
@include fill-look();
|
55
|
+
}
|
56
|
+
|
57
|
+
.ax-editor-input {
|
58
|
+
// @apply ax-h-full ax-flex-1;
|
59
|
+
height: 100%;
|
60
|
+
flex: 1 1 0%;
|
61
|
+
|
62
|
+
.ax-input {
|
63
|
+
// @apply ax-h-full;
|
64
|
+
height: 100%;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
.ax-input {
|
68
|
+
// @apply ax-px-3;
|
69
|
+
padding-left: 0.75rem /* 12px */;
|
70
|
+
padding-right: 0.75rem /* 12px */;
|
71
|
+
&::placeholder {
|
72
|
+
// @apply ax-font-normal ax-text-default/50;
|
73
|
+
font-size: inherit;
|
74
|
+
font-weight: 400;
|
75
|
+
color: rgb(var(--ax-color-input-surface-fore), 0.5);
|
76
|
+
}
|
77
|
+
&:focus,
|
78
|
+
&:focus-visible,
|
79
|
+
&:focus-within {
|
80
|
+
outline: none;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
&.ax-xs {
|
85
|
+
.ax-input {
|
86
|
+
// @apply ax-p-2 ax-text-xs;
|
87
|
+
padding: 0.5rem /* 8px */;
|
88
|
+
font-size: 0.75rem /* 12px */;
|
89
|
+
line-height: 1rem /* 16px */;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
&.ax-sm {
|
93
|
+
.ax-input {
|
94
|
+
// @apply ax-p-2 ax-text-sm;
|
95
|
+
padding: 0.5rem /* 8px */;
|
96
|
+
font-size: 0.875rem /* 14px */;
|
97
|
+
line-height: 1.25rem /* 20px */;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
&.ax-md {
|
101
|
+
.ax-input {
|
102
|
+
// @apply ax-text-sm;
|
103
|
+
font-size: 0.875rem /* 14px */;
|
104
|
+
line-height: 1.25rem /* 20px */;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
&.ax-lg {
|
108
|
+
.ax-input {
|
109
|
+
// @apply ax-text-lg;
|
110
|
+
font-size: 1rem /* 18px */;
|
111
|
+
line-height: 1.25rem /* 28px */;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
&.ax-xl {
|
115
|
+
.ax-input {
|
116
|
+
// @apply ax-text-lg;
|
117
|
+
font-size: 1.125rem /* 18px */;
|
118
|
+
line-height: 1.75rem /* 28px */;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
.ax-editor-control {
|
123
|
+
// @apply ax-flex ax-h-full ax-items-center ax-justify-center ax-ps-2 ax-text-lg ax-text-input-surface-fore;
|
124
|
+
display: flex;
|
125
|
+
height: 100%;
|
126
|
+
align-items: center;
|
127
|
+
justify-content: center;
|
128
|
+
padding-inline-start: 0.5rem /* 8px */;
|
129
|
+
font-size: 1.125rem /* 18px */;
|
130
|
+
line-height: 1.75rem /* 28px */;
|
131
|
+
font-size: 1.125rem /* 18px */;
|
132
|
+
line-height: 1.75rem /* 28px */;
|
133
|
+
color: rgba(var(--ax-color-input-surface-fore));
|
134
|
+
}
|
135
|
+
|
136
|
+
&.ax-button-icon {
|
137
|
+
// @apply ax-px-2;
|
138
|
+
padding-left: 0.5rem /* 8px */;
|
139
|
+
padding-right: 0.5rem /* 8px */;
|
140
|
+
}
|
141
|
+
.ax-input,
|
142
|
+
.ax-text-area {
|
143
|
+
text-align: inherit;
|
144
|
+
font-family: inherit;
|
145
|
+
font-size: inherit;
|
146
|
+
line-height: inherit;
|
147
|
+
height: 100%;
|
148
|
+
width: 100%;
|
149
|
+
flex: 1 1 0%;
|
150
|
+
background-color: transparent;
|
151
|
+
font-weight: 400;
|
152
|
+
|
153
|
+
// @apply ax-h-full ax-w-full ax-flex-1 ax-bg-transparent ax-font-normal;
|
154
|
+
|
155
|
+
&:focus {
|
156
|
+
// @apply ax-shadow-none;
|
157
|
+
box-shadow: none;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
.ax-text-area {
|
162
|
+
// @apply ax-p-2.5;
|
163
|
+
padding: 0.625rem /* 10px */;
|
164
|
+
}
|
165
|
+
& > ax-prefix {
|
166
|
+
*,
|
167
|
+
.ax-button,
|
168
|
+
ax-title {
|
169
|
+
// @apply ax-rounded-es ax-rounded-ss;
|
170
|
+
border-end-start-radius: 0.25rem /* 4px */;
|
171
|
+
border-start-start-radius: 0.25rem /* 4px */;
|
172
|
+
}
|
173
|
+
|
174
|
+
ax-icon {
|
175
|
+
// @apply ax-px-3;
|
176
|
+
padding-left: 0.75rem /* 12px */;
|
177
|
+
padding-right: 0.75rem /* 12px */;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
& > ax-suffix {
|
182
|
+
*,
|
183
|
+
.ax-button,
|
184
|
+
ax-title {
|
185
|
+
// @apply ax-rounded-ee ax-rounded-se;
|
186
|
+
border-end-end-radius: 0.25rem /* 4px */;
|
187
|
+
border-start-end-radius: 0.25rem /* 4px */;
|
188
|
+
}
|
189
|
+
ax-icon {
|
190
|
+
// @apply ax-pe-3;
|
191
|
+
// padding-inline-end: 0.75rem /* 12px */;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
& > ax-prefix,
|
196
|
+
& > ax-suffix {
|
197
|
+
// @apply ax-h-full;
|
198
|
+
height: 100%;
|
199
|
+
|
200
|
+
+ .ax-input {
|
201
|
+
// @apply ax-px-0.5 #{!important};
|
202
|
+
padding-left: 0.375rem !important;
|
203
|
+
padding-right: 0.375rem !important;
|
204
|
+
}
|
205
|
+
* {
|
206
|
+
// @apply ax-flex ax-h-full ax-items-center ax-justify-center ax-rounded-none;
|
207
|
+
display: flex;
|
208
|
+
height: 100%;
|
209
|
+
align-items: center;
|
210
|
+
justify-content: center;
|
211
|
+
border-radius: 0px;
|
212
|
+
}
|
213
|
+
|
214
|
+
ax-title {
|
215
|
+
// @apply ax-px-4;
|
216
|
+
padding-left: 1rem /* 16px */;
|
217
|
+
padding-right: 1rem /* 16px */;
|
218
|
+
}
|
219
|
+
|
220
|
+
& > ax-text {
|
221
|
+
// @apply ax-flex ax-items-center ax-justify-center ax-bg-transparent ax-px-2 ax-text-sm;
|
222
|
+
display: flex;
|
223
|
+
align-items: center;
|
224
|
+
justify-content: center;
|
225
|
+
background-color: transparent;
|
226
|
+
padding-left: 0.5rem /* 8px */;
|
227
|
+
padding-right: 0.5rem /* 8px */;
|
228
|
+
font-size: 0.875rem /* 14px */;
|
229
|
+
line-height: 1.25rem /* 20px */;
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
.ax-button {
|
234
|
+
// @apply ax-h-full ax-rounded-none #{!important};
|
235
|
+
height: 100% !important;
|
236
|
+
border-radius: 0px !important;
|
237
|
+
|
238
|
+
&.ax-button-icon {
|
239
|
+
// @apply ax-h-full ax-w-default;
|
240
|
+
height: 100%;
|
241
|
+
width: var(--ax-size-default);
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
.ax-ripple {
|
246
|
+
// @apply ax-absolute ax-rounded-full;
|
247
|
+
transform: scale(0);
|
248
|
+
animation: ripple 500ms linear;
|
249
|
+
position: absolute;
|
250
|
+
border-radius: 9999rem !important;
|
251
|
+
|
252
|
+
@keyframes ripple {
|
253
|
+
to {
|
254
|
+
transform: scale(4);
|
255
|
+
opacity: 0;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|