@acorex/styles 4.2.25 → 4.2.28
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/scss/forms.scss +22 -20
- package/scss/master.scss +26 -16
package/package.json
CHANGED
package/scss/forms.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
&.form-control {
|
|
5
5
|
&.disabled {
|
|
6
6
|
background: var(--ax-gray-light-color) !important;
|
|
7
|
-
.chips-container
|
|
7
|
+
.chips-container{
|
|
8
8
|
background-color: var(--ax-gray-light-color-color);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
position: relative;
|
|
27
27
|
width: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
|
28
28
|
height: 100%;
|
|
29
|
-
ax-button
|
|
30
|
-
button
|
|
29
|
+
ax-button{
|
|
30
|
+
button{
|
|
31
31
|
height: 50% !important;
|
|
32
32
|
position: absolute;
|
|
33
33
|
padding: 0.4rem !important;
|
|
34
34
|
}
|
|
35
|
-
&:first-child
|
|
36
|
-
button
|
|
35
|
+
&:first-child{
|
|
36
|
+
button{
|
|
37
37
|
top: 0;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
&:last-child
|
|
41
|
-
button
|
|
40
|
+
&:last-child{
|
|
41
|
+
button{
|
|
42
42
|
bottom: 0;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
@include ax-border-radius(var(--ax-size-border-radius));
|
|
99
99
|
-webkit-transition: opacity 0.3s ease;
|
|
100
100
|
transition: opacity 0.3s ease;
|
|
101
|
+
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
104
|
&.disabled {
|
|
@@ -113,7 +114,6 @@
|
|
|
113
114
|
flex: 1 0 auto;
|
|
114
115
|
font-family: inherit;
|
|
115
116
|
font-size: 0.875rem;
|
|
116
|
-
padding: 0 0.5rem;
|
|
117
117
|
outline: 0;
|
|
118
118
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
|
119
119
|
text-align: start;
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
&::placeholder {
|
|
133
133
|
color: var(--ax-gray-dark-color) !important;
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
|
|
136
136
|
// &.clear {
|
|
137
137
|
// margin-inline-end: 3em !important;
|
|
138
138
|
// }
|
|
@@ -219,19 +219,18 @@
|
|
|
219
219
|
flex-direction: column;
|
|
220
220
|
width: 100%;
|
|
221
221
|
}
|
|
222
|
-
|
|
223
222
|
&.form-item {
|
|
224
223
|
background-color: var(--ax-white-color);
|
|
225
224
|
position: relative;
|
|
226
225
|
display: flex;
|
|
227
|
-
|
|
226
|
+
flex-wrap: wrap;
|
|
228
227
|
align-items: stretch;
|
|
229
228
|
width: 100%;
|
|
230
229
|
overflow: hidden;
|
|
231
230
|
border: 1px solid;
|
|
232
231
|
border-color: var(--ax-border-color);
|
|
233
232
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
234
|
-
|
|
233
|
+
|
|
235
234
|
box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
236
235
|
&:focus-within {
|
|
237
236
|
border-color: var(--ax-primary-color);
|
|
@@ -242,8 +241,10 @@
|
|
|
242
241
|
}
|
|
243
242
|
}
|
|
244
243
|
}
|
|
245
|
-
|
|
244
|
+
|
|
245
|
+
|
|
246
246
|
&.required-state {
|
|
247
|
+
|
|
247
248
|
border-inline-start-width: 2px;
|
|
248
249
|
border-inline-start-style: solid;
|
|
249
250
|
border-inline-start-color: var(--ax-warning-color) !important;
|
|
@@ -256,6 +257,7 @@
|
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
}
|
|
260
|
+
|
|
259
261
|
}
|
|
260
262
|
&.success-state {
|
|
261
263
|
border-inline-start-width: 2px;
|
|
@@ -298,14 +300,14 @@
|
|
|
298
300
|
}
|
|
299
301
|
.readonly {
|
|
300
302
|
opacity: 0.8;
|
|
301
|
-
|
|
303
|
+
|
|
302
304
|
input {
|
|
303
305
|
cursor: no-drop;
|
|
304
306
|
}
|
|
305
|
-
.button
|
|
307
|
+
.button{
|
|
306
308
|
&.disabled {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
+
background: transparent !important;
|
|
310
|
+
}
|
|
309
311
|
}
|
|
310
312
|
}
|
|
311
313
|
|
|
@@ -314,11 +316,11 @@
|
|
|
314
316
|
border: none;
|
|
315
317
|
box-shadow: none;
|
|
316
318
|
}
|
|
319
|
+
|
|
317
320
|
}
|
|
318
321
|
.content {
|
|
319
322
|
border: none;
|
|
320
323
|
position: relative;
|
|
321
|
-
display: flex;
|
|
322
324
|
flex: 1 1 auto;
|
|
323
325
|
width: 1%;
|
|
324
326
|
min-width: 0;
|
|
@@ -475,7 +477,7 @@
|
|
|
475
477
|
}
|
|
476
478
|
.chips-blank {
|
|
477
479
|
border: none;
|
|
478
|
-
background-color:
|
|
480
|
+
background-color:transparent;
|
|
479
481
|
flex: unset;
|
|
480
482
|
&:hover {
|
|
481
483
|
border: none;
|
|
@@ -486,4 +488,4 @@
|
|
|
486
488
|
flex: 1 1 auto;
|
|
487
489
|
}
|
|
488
490
|
}
|
|
489
|
-
}
|
|
491
|
+
}
|
package/scss/master.scss
CHANGED
|
@@ -63,25 +63,35 @@
|
|
|
63
63
|
|
|
64
64
|
// Sizes
|
|
65
65
|
.ax {
|
|
66
|
-
&.
|
|
67
|
-
--ax-base-size
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
--ax-base-size: var(--ax-size);
|
|
75
|
-
font-size: 0.875rem;
|
|
76
|
-
* {
|
|
66
|
+
&.form-control {
|
|
67
|
+
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
|
68
|
+
padding: 0 1rem;
|
|
69
|
+
font-size: 1rem;
|
|
70
|
+
font-weight: 500;
|
|
71
|
+
&.sm {
|
|
72
|
+
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) - 10px) !important;
|
|
73
|
+
padding: 0 0.3rem;
|
|
77
74
|
font-size: 0.875rem;
|
|
75
|
+
&.ax-button-icon {
|
|
76
|
+
padding: 0.3rem;
|
|
77
|
+
}
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
font-size: 1rem;
|
|
83
|
-
* {
|
|
79
|
+
&.md {
|
|
80
|
+
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
|
81
|
+
padding: 0 1rem;
|
|
84
82
|
font-size: 1rem;
|
|
83
|
+
font-weight: 500;
|
|
84
|
+
&.ax-button-icon {
|
|
85
|
+
padding: 0.7rem;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
&.lg {
|
|
89
|
+
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) + 10px) !important;
|
|
90
|
+
padding: 0 0.8rem;
|
|
91
|
+
font-size: 1.5rem;
|
|
92
|
+
&.ax-button-icon {
|
|
93
|
+
padding: 0.9rem;
|
|
94
|
+
}
|
|
85
95
|
}
|
|
86
96
|
}
|
|
87
97
|
}
|