@acorex/styles 7.5.1 → 7.8.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/package.json +1 -1
- package/src/base/_normalize.scss +15 -15
- package/src/shared/_drop-down.scss +4 -2
- package/src/shared/_editor-container.scss +15 -12
- package/src/shared/index.scss +0 -1
- package/src/themes/default.scss +8 -1
- package/src/variables/_colors.scss +1 -1
- package/tailwind-base.js +0 -6
- package/src/shared/_skeleton.scss +0 -31
package/package.json
CHANGED
package/src/base/_normalize.scss
CHANGED
@@ -33,7 +33,8 @@
|
|
33
33
|
5. Use the user's configured `sans` font-feature-settings by default.
|
34
34
|
*/
|
35
35
|
|
36
|
-
html
|
36
|
+
html,
|
37
|
+
:host {
|
37
38
|
line-height: 1.5;
|
38
39
|
/* 1 */
|
39
40
|
-webkit-text-size-adjust: 100%;
|
@@ -201,20 +202,15 @@ input,
|
|
201
202
|
optgroup,
|
202
203
|
select,
|
203
204
|
textarea {
|
204
|
-
font-family: inherit;
|
205
|
-
/* 1 */
|
206
|
-
font-
|
207
|
-
/* 1 */
|
208
|
-
font-weight: inherit;
|
209
|
-
/* 1 */
|
210
|
-
|
211
|
-
/*
|
212
|
-
|
213
|
-
/* 1 */
|
214
|
-
margin: 0;
|
215
|
-
/* 2 */
|
216
|
-
padding: 0;
|
217
|
-
/* 3 */
|
205
|
+
font-family: inherit; /* 1 */
|
206
|
+
font-feature-settings: inherit; /* 1 */
|
207
|
+
font-variation-settings: inherit; /* 1 */
|
208
|
+
font-size: 100%; /* 1 */
|
209
|
+
font-weight: inherit; /* 1 */
|
210
|
+
line-height: inherit; /* 1 */
|
211
|
+
color: inherit; /* 1 */
|
212
|
+
margin: 0; /* 2 */
|
213
|
+
padding: 0; /* 3 */
|
218
214
|
}
|
219
215
|
|
220
216
|
/*
|
@@ -353,6 +349,10 @@ menu {
|
|
353
349
|
padding: 0;
|
354
350
|
}
|
355
351
|
|
352
|
+
dialog {
|
353
|
+
padding: 0;
|
354
|
+
}
|
355
|
+
|
356
356
|
/*
|
357
357
|
Prevent resizing textareas horizontally by default.
|
358
358
|
*/
|
@@ -53,7 +53,7 @@
|
|
53
53
|
font-size: 0.875rem;
|
54
54
|
overflow-y: hidden;
|
55
55
|
overflow-x: auto;
|
56
|
-
|
56
|
+
text-transform: capitalize;
|
57
57
|
&.ax-state-disabled {
|
58
58
|
opacity: 0.5;
|
59
59
|
cursor: not-allowed;
|
@@ -121,7 +121,9 @@
|
|
121
121
|
display: inline-flex;
|
122
122
|
align-items: center;
|
123
123
|
justify-content: flex-start;
|
124
|
-
padding: 0.5rem
|
124
|
+
padding: 0.5rem;
|
125
|
+
padding-inline-start: 1rem;
|
126
|
+
padding-inline-end: 2.5rem;
|
125
127
|
font-size: 0.875rem;
|
126
128
|
color: rgba(var(--ax-color-text-default));
|
127
129
|
user-select: none;
|
@@ -21,7 +21,7 @@
|
|
21
21
|
color: rgba(var(--ax-color-input-surface-fore));
|
22
22
|
font-size: 0.875rem;
|
23
23
|
overflow: hidden;
|
24
|
-
|
24
|
+
line-height: 1;
|
25
25
|
&.ax-look-solid,
|
26
26
|
&.ax-look-outline {
|
27
27
|
@include solid-look();
|
@@ -56,31 +56,33 @@
|
|
56
56
|
&.ax-xs {
|
57
57
|
.ax-input {
|
58
58
|
font-size: 0.75rem;
|
59
|
-
line-height:
|
59
|
+
line-height: calc(var(--ax-size-base) - 0.75rem);
|
60
|
+
padding: 0.5rem;
|
60
61
|
}
|
61
62
|
}
|
62
63
|
&.ax-sm {
|
63
64
|
.ax-input {
|
64
65
|
font-size: 0.875rem;
|
65
|
-
line-height:
|
66
|
+
line-height: calc(var(--ax-size-base) - 0.5rem);
|
67
|
+
padding: 0.5rem;
|
66
68
|
}
|
67
69
|
}
|
68
70
|
&.ax-md {
|
69
71
|
.ax-input {
|
70
72
|
font-size: 0.875rem;
|
71
|
-
line-height:
|
73
|
+
line-height: var(--ax-size-base);
|
72
74
|
}
|
73
75
|
}
|
74
76
|
&.ax-lg {
|
75
77
|
.ax-input {
|
76
78
|
font-size: 1.125rem;
|
77
|
-
line-height:
|
79
|
+
line-height: calc(var(--ax-size-base) + 0.5rem);
|
78
80
|
}
|
79
81
|
}
|
80
82
|
&.ax-xl {
|
81
83
|
.ax-input {
|
82
84
|
font-size: 1.25rem;
|
83
|
-
line-height:
|
85
|
+
line-height: calc(var(--ax-size-base) + 1rem);
|
84
86
|
}
|
85
87
|
}
|
86
88
|
|
@@ -88,8 +90,9 @@
|
|
88
90
|
display: flex;
|
89
91
|
align-items: center;
|
90
92
|
justify-content: center;
|
91
|
-
width: var(--ax-size-default);
|
92
|
-
min-width: var(--ax-size-default);
|
93
|
+
// width: var(--ax-size-default);
|
94
|
+
// min-width: var(--ax-size-default);
|
95
|
+
padding-inline-start: 0.5rem;
|
93
96
|
height: 100%;
|
94
97
|
font-size: 1.25rem;
|
95
98
|
line-height: 1.25rem;
|
@@ -140,6 +143,7 @@
|
|
140
143
|
|
141
144
|
& > ax-prefix,
|
142
145
|
& > ax-suffix {
|
146
|
+
height: 100%;
|
143
147
|
* {
|
144
148
|
height: 100%;
|
145
149
|
display: flex;
|
@@ -183,15 +187,14 @@
|
|
183
187
|
opacity: 0.5;
|
184
188
|
}
|
185
189
|
}
|
186
|
-
|
190
|
+
.ax-ripple {
|
187
191
|
position: absolute;
|
188
192
|
border-radius: 50%;
|
189
193
|
transform: scale(0);
|
190
|
-
animation: ripple
|
191
|
-
background-color: rgba(var(--ax-color-white), 0.16);
|
194
|
+
animation: ripple 225ms linear;
|
192
195
|
@keyframes ripple {
|
193
196
|
to {
|
194
|
-
transform:
|
197
|
+
transform: scale3d(1, 1, 1);
|
195
198
|
opacity: 0;
|
196
199
|
}
|
197
200
|
}
|
package/src/shared/index.scss
CHANGED
package/src/themes/default.scss
CHANGED
@@ -21,6 +21,7 @@
|
|
21
21
|
--ax-color-ghost-fore: 22, 22, 22;
|
22
22
|
|
23
23
|
--ax-color-primary-fore: 255, 255, 255;
|
24
|
+
--ax-color-primary-fore-lighten: 29, 78, 216;
|
24
25
|
--ax-color-primary-50: 239, 246, 255;
|
25
26
|
--ax-color-primary-100: 219, 234, 254;
|
26
27
|
--ax-color-primary-200: 191, 219, 254;
|
@@ -34,6 +35,7 @@
|
|
34
35
|
--ax-color-primary-950: 23, 37, 84;
|
35
36
|
|
36
37
|
--ax-color-secondary-fore: 255, 255, 255;
|
38
|
+
--ax-color-secondary-fore-lighten: 57, 65, 79;
|
37
39
|
--ax-color-secondary-50: 233, 234, 236;
|
38
40
|
--ax-color-secondary-100: 200, 203, 208;
|
39
41
|
--ax-color-secondary-200: 164, 169, 176;
|
@@ -47,6 +49,7 @@
|
|
47
49
|
--ax-color-secondary-950: 22, 27, 35;
|
48
50
|
|
49
51
|
--ax-color-success-fore: 255, 255, 255;
|
52
|
+
--ax-color-success-fore-lighten: 4, 120, 87;
|
50
53
|
--ax-color-success-50: 236, 253, 245;
|
51
54
|
--ax-color-success-100: 209, 250, 229;
|
52
55
|
--ax-color-success-200: 167, 243, 208;
|
@@ -60,6 +63,7 @@
|
|
60
63
|
--ax-color-success-950: 2, 44, 34;
|
61
64
|
|
62
65
|
--ax-color-danger-fore: 255, 255, 255;
|
66
|
+
--ax-color-danger-fore-lighten: 185, 28, 28;
|
63
67
|
--ax-color-danger-50: 254, 242, 242;
|
64
68
|
--ax-color-danger-100: 254, 226, 226;
|
65
69
|
--ax-color-danger-200: 254, 202, 202;
|
@@ -73,6 +77,7 @@
|
|
73
77
|
--ax-color-danger-950: 69, 10, 10;
|
74
78
|
|
75
79
|
--ax-color-warning-fore: 48, 26, 10;
|
80
|
+
--ax-color-warning-fore-lighten: 255, 160, 0;
|
76
81
|
--ax-color-warning-50: 255, 248, 225;
|
77
82
|
--ax-color-warning-100: 255, 236, 179;
|
78
83
|
--ax-color-warning-200: 255, 224, 130;
|
@@ -86,6 +91,7 @@
|
|
86
91
|
--ax-color-warning-950: 72, 40, 15;
|
87
92
|
|
88
93
|
--ax-color-info-fore: 255, 255, 255;
|
94
|
+
--ax-color-info-fore-lighten: 67, 56, 202;
|
89
95
|
--ax-color-info-50: 238, 242, 255;
|
90
96
|
--ax-color-info-100: 224, 231, 255;
|
91
97
|
--ax-color-info-200: 199, 210, 254;
|
@@ -99,6 +105,7 @@
|
|
99
105
|
--ax-color-info-950: 30, 27, 75;
|
100
106
|
|
101
107
|
--ax-color-neutral-fore: 3, 7, 18;
|
108
|
+
--ax-color-neutral-fore-lighten: 55, 65, 81;
|
102
109
|
--ax-color-neutral-50: 249, 250, 251;
|
103
110
|
--ax-color-neutral-100: 243, 244, 246;
|
104
111
|
--ax-color-neutral-200: 229, 231, 235;
|
@@ -115,7 +122,7 @@
|
|
115
122
|
.ax-dark {
|
116
123
|
--ax-color-border-default: 75, 85, 99;
|
117
124
|
|
118
|
-
--ax-color-background-default:
|
125
|
+
--ax-color-background-default: 24, 32, 43;
|
119
126
|
--ax-color-text-default: 255, 255, 255;
|
120
127
|
|
121
128
|
--ax-color-surface: 31, 41, 55;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
$color_names: 'primary', 'secondary', 'success', 'warning', 'danger', 'info';
|
2
|
-
$look_names: 'solid', 'outline', 'blank';
|
2
|
+
$look_names: 'solid', 'twotone', 'outline', 'blank';
|
package/tailwind-base.js
CHANGED
@@ -277,12 +277,6 @@ module.exports = withAnimations({
|
|
277
277
|
'.tabs-fit': {
|
278
278
|
width: '100%',
|
279
279
|
},
|
280
|
-
'.skeleton': {
|
281
|
-
position: 'relative',
|
282
|
-
overflow: 'hidden',
|
283
|
-
backgroundColor: 'rgba(var(--ax-color-black), 0.15)',
|
284
|
-
},
|
285
|
-
'.skeleton-animate': {},
|
286
280
|
'.xs': {
|
287
281
|
'--ax-size-default': '2rem',
|
288
282
|
},
|
@@ -1,31 +0,0 @@
|
|
1
|
-
.ax-skeleton {
|
2
|
-
position: relative;
|
3
|
-
overflow: hidden;
|
4
|
-
background-color: rgba(var(--ax-color-black), 0.5);
|
5
|
-
&.ax-skeleton-animate {
|
6
|
-
&::before {
|
7
|
-
content: '';
|
8
|
-
display: block;
|
9
|
-
position: absolute;
|
10
|
-
top: 0;
|
11
|
-
height: 100%;
|
12
|
-
width: 14rem;
|
13
|
-
left: -200px;
|
14
|
-
background: linear-gradient(
|
15
|
-
to right,
|
16
|
-
transparent 0%,
|
17
|
-
rgba(var(--ax-color-black), 0.15) 50%,
|
18
|
-
transparent 100%
|
19
|
-
);
|
20
|
-
animation: load 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
@keyframes load {
|
25
|
-
from {
|
26
|
-
left: -200px;
|
27
|
-
}
|
28
|
-
to {
|
29
|
-
left: 100%;
|
30
|
-
}
|
31
|
-
}
|