@acorex/styles 21.0.0-next.14 → 21.0.0-next.16
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/components/{_action-item.scss → _action-item.css} +12 -37
- package/components/{_actionsheet.scss → _actionsheet.css} +13 -9
- package/components/{_check-box.scss → _check-box.css} +8 -24
- package/components/{_drop-down.scss → _drop-down.css} +18 -17
- package/components/_editor-container.css +306 -0
- package/components/{_general-button.scss → _general-button.css} +3 -7
- package/components/{_list.scss → _list.css} +25 -56
- package/components/_radio.css +33 -0
- package/components/{_ripple.scss → _ripple.css} +8 -8
- package/components/{_table.scss → _table.css} +20 -23
- package/components/{_uploader.scss → _uploader.css} +5 -5
- package/components/index.css +11 -0
- package/icons/fontawesome/_variables.css +229 -0
- package/icons/fontawesome/index.css +555 -0
- package/icons/huge/huge-bulk/_variables.css +211 -0
- package/icons/huge/huge-bulk/index.css +520 -0
- package/icons/huge/huge-duotone/_variables.css +211 -0
- package/icons/huge/huge-duotone/index.css +517 -0
- package/icons/huge/huge-solid-rounded/_variables.css +211 -0
- package/icons/huge/huge-solid-rounded/index.css +504 -0
- package/icons/huge/huge-solid-sharp/_variables.css +213 -0
- package/icons/huge/huge-solid-sharp/index.css +517 -0
- package/icons/huge/huge-solid-standard/_variables.css +211 -0
- package/icons/huge/huge-solid-standard/index.css +516 -0
- package/icons/huge/huge-stroke-rounded/_variables.css +211 -0
- package/icons/huge/huge-stroke-rounded/index.css +515 -0
- package/icons/huge/huge-stroke-sharp/_variables.css +142 -0
- package/icons/huge/huge-stroke-sharp/index.css +515 -0
- package/icons/huge/huge-stroke-standard/_variables.css +141 -0
- package/icons/huge/huge-stroke-standard/index.css +515 -0
- package/icons/huge/huge-twotone/_variables.css +211 -0
- package/icons/huge/huge-twotone/index.css +516 -0
- package/icons/material/_variables.css +229 -0
- package/icons/material/index.css +573 -0
- package/{index.scss → index.css} +3 -3
- package/package.json +5 -4
- package/tailwind-base.js +0 -4
- package/themes/{default.scss → default copy.scss } +6 -9
- package/themes/default.css +1240 -0
- package/base/_preflight.scss +0 -421
- package/base/index.scss +0 -15
- package/components/_editor-container.scss +0 -293
- package/components/_radio.scss +0 -51
- package/components/index.scss +0 -11
- package/generators/index.js +0 -1
- package/generators/tailwind-class-generator.js +0 -68
- package/icons/fontawesome/_variables.scss +0 -228
- package/icons/fontawesome/index.scss +0 -714
- package/icons/huge/huge-bulk/_variables.scss +0 -209
- package/icons/huge/huge-bulk/index.scss +0 -656
- package/icons/huge/huge-duotone/_variables.scss +0 -209
- package/icons/huge/huge-duotone/index.scss +0 -657
- package/icons/huge/huge-solid-rounded/_variables.scss +0 -209
- package/icons/huge/huge-solid-rounded/index.scss +0 -643
- package/icons/huge/huge-solid-sharp/_variables.scss +0 -209
- package/icons/huge/huge-solid-sharp/index.scss +0 -656
- package/icons/huge/huge-solid-standard/_variables.scss +0 -209
- package/icons/huge/huge-solid-standard/index.scss +0 -656
- package/icons/huge/huge-stroke-rounded/_variables.scss +0 -209
- package/icons/huge/huge-stroke-rounded/index.scss +0 -656
- package/icons/huge/huge-stroke-sharp/_variables.scss +0 -209
- package/icons/huge/huge-stroke-sharp/index.scss +0 -656
- package/icons/huge/huge-stroke-standard/_variables.scss +0 -209
- package/icons/huge/huge-stroke-standard/index.scss +0 -656
- package/icons/huge/huge-twotone/_variables.scss +0 -209
- package/icons/huge/huge-twotone/index.scss +0 -656
- package/icons/material/_variables.scss +0 -227
- package/icons/material/index.scss +0 -718
- package/mixins/_editor-looks.scss +0 -32
- package/mixins/_media.scss +0 -73
- package/mixins/_scroll-bar.scss +0 -35
- package/mixins/_util.scss +0 -19
- package/mixins/index.scss +0 -4
- package/utils/_theme-generator.scss +0 -238
- package/utils/_utils.scss +0 -278
- package/utils/index.scss +0 -2
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
.ax-action-list {
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 0.25rem;
|
|
4
|
-
|
|
5
4
|
&.ax-action-list-horizontal {
|
|
6
5
|
flex-direction: row;
|
|
7
|
-
|
|
8
6
|
ax-divider {
|
|
9
7
|
width: 0px;
|
|
10
8
|
height: auto;
|
|
@@ -13,23 +11,14 @@
|
|
|
13
11
|
}
|
|
14
12
|
&.ax-action-list-vertical {
|
|
15
13
|
flex-direction: column;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
& > div {
|
|
19
|
-
&.ax-action-item-prefix {
|
|
20
|
-
ax-prefix {
|
|
21
|
-
min-width: 1rem;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
14
|
+
.ax-action-item > div.ax-action-item-prefix ax-prefix {
|
|
15
|
+
min-width: 1rem;
|
|
25
16
|
}
|
|
26
|
-
|
|
27
17
|
ax-divider {
|
|
28
18
|
height: 1px;
|
|
29
19
|
width: 100%;
|
|
30
20
|
}
|
|
31
21
|
}
|
|
32
|
-
|
|
33
22
|
ax-title {
|
|
34
23
|
opacity: 0.5;
|
|
35
24
|
display: block;
|
|
@@ -38,21 +27,15 @@
|
|
|
38
27
|
font-weight: bolder;
|
|
39
28
|
text-transform: uppercase;
|
|
40
29
|
padding-block: var(--ax-comp-action-item-padding-block, 0.25rem);
|
|
41
|
-
padding-inline: var(
|
|
42
|
-
--ax-comp-action-item-padding-inline,
|
|
43
|
-
calc(var(--ax-comp-action-item-padding-inline, 0.875rem) / 3 * 2)
|
|
44
|
-
);
|
|
30
|
+
padding-inline: var(--ax-comp-action-item-padding-inline, calc(var(--ax-comp-action-item-padding-inline, 0.875rem) / 3 * 2));
|
|
45
31
|
}
|
|
46
|
-
|
|
47
32
|
ax-divider {
|
|
48
33
|
display: block;
|
|
49
34
|
background-color: rgba(var(--ax-sys-color-border-lightest-surface));
|
|
50
35
|
}
|
|
51
|
-
|
|
52
36
|
ax-text {
|
|
53
37
|
white-space: nowrap;
|
|
54
38
|
}
|
|
55
|
-
|
|
56
39
|
.ax-action-item {
|
|
57
40
|
display: flex;
|
|
58
41
|
align-items: center;
|
|
@@ -67,17 +50,13 @@
|
|
|
67
50
|
cursor: not-allowed;
|
|
68
51
|
opacity: 0.5;
|
|
69
52
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
ax-suffix {
|
|
76
|
-
opacity: 1;
|
|
77
|
-
}
|
|
53
|
+
&:hover:not(.ax-state-disabled, .ax-state-selected) {
|
|
54
|
+
background-color: rgba(var(--ax-sys-color-surface));
|
|
55
|
+
ax-prefix,
|
|
56
|
+
ax-suffix {
|
|
57
|
+
opacity: 1;
|
|
78
58
|
}
|
|
79
59
|
}
|
|
80
|
-
|
|
81
60
|
& > div {
|
|
82
61
|
display: flex;
|
|
83
62
|
align-items: center;
|
|
@@ -87,18 +66,14 @@
|
|
|
87
66
|
gap: 0.5rem;
|
|
88
67
|
}
|
|
89
68
|
}
|
|
90
|
-
|
|
91
69
|
ax-prefix {
|
|
92
70
|
display: flex;
|
|
93
71
|
gap: 0.5rem;
|
|
94
72
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
opacity: 0.5;
|
|
100
|
-
font-weight: lighter;
|
|
101
|
-
}
|
|
73
|
+
ax-suffix ax-text {
|
|
74
|
+
color: rgba(var(--ax-sys-body-text-color));
|
|
75
|
+
opacity: 0.5;
|
|
76
|
+
font-weight: lighter;
|
|
102
77
|
}
|
|
103
78
|
}
|
|
104
79
|
}
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
.ax-action-sheet-panel {
|
|
2
2
|
--ax-comp-action-sheet-border-radius-size: var(--ax-sys-border-radius);
|
|
3
|
-
|
|
4
3
|
overflow: hidden;
|
|
5
4
|
border-top-left-radius: var(--ax-comp-action-sheet-border-radius-size);
|
|
6
5
|
border-top-right-radius: var(--ax-comp-action-sheet-border-radius-size);
|
|
7
6
|
background-color: rgba(var(--ax-sys-color-surface-lowest));
|
|
8
7
|
--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
9
|
-
--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color),
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color),
|
|
9
|
+
0 4px 6px -4px var(--ax-shadow-color);
|
|
10
|
+
box-shadow: var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--ax-shadow);
|
|
12
11
|
animation: 1s both ax-fadeInUp;
|
|
13
12
|
animation-duration: var(--ax-sys-transition-duration);
|
|
13
|
+
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
@keyframes ax-fadeInUp {
|
|
16
|
+
from {
|
|
17
|
+
transform: translate3d(0, 100%, 0);
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
to {
|
|
21
|
+
transform: translate3d(0, 0, 0);
|
|
22
|
+
opacity: 1;
|
|
20
23
|
}
|
|
21
24
|
}
|
|
25
|
+
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
@use '../mixins/index.scss';
|
|
2
|
-
|
|
3
1
|
.ax-checkbox {
|
|
4
2
|
margin: 0px;
|
|
5
|
-
height: 1rem
|
|
6
|
-
|
|
3
|
+
height: 1rem;
|
|
4
|
+
/* 16px */
|
|
5
|
+
min-width: 1rem;
|
|
6
|
+
/* 16px */
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
appearance: none;
|
|
9
|
-
border-radius: 0.25rem
|
|
9
|
+
border-radius: 0.25rem;
|
|
10
|
+
/* 4px */
|
|
10
11
|
border-width: 1px;
|
|
11
12
|
border-color: rgba(var(--ax-sys-color-border-surface));
|
|
12
13
|
background-color: rgba(var(--ax-sys-color-input-surface));
|
|
13
14
|
vertical-align: middle;
|
|
14
15
|
outline: 2px solid transparent;
|
|
15
16
|
outline-offset: 2px;
|
|
16
|
-
|
|
17
17
|
&:checked,
|
|
18
18
|
&:indeterminate {
|
|
19
19
|
border-color: rgba(var(--ax-sys-color-primary-500)) !important;
|
|
@@ -21,34 +21,18 @@
|
|
|
21
21
|
background-size: contain;
|
|
22
22
|
background-repeat: no-repeat;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
24
|
&:checked {
|
|
26
25
|
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
|
|
27
26
|
}
|
|
28
|
-
|
|
29
27
|
&:indeterminate {
|
|
30
|
-
background-image: url(
|
|
28
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImNscy0xIiB4PSIzIiB5PSI3IiB3aWR0aD0iMTAiIGhlaWdodD0iMiIvPjwvc3ZnPg==");
|
|
31
29
|
}
|
|
32
|
-
|
|
33
30
|
&:focus-visible,
|
|
34
31
|
&:focus {
|
|
35
|
-
box-shadow:
|
|
36
|
-
0px 0px 0px 2px rgba(var(--ax-sys-color-surface)),
|
|
37
|
-
0px 0px 0px 4px rgba(var(--ax-sys-color-primary-500));
|
|
32
|
+
box-shadow: 0px 0px 0px 2px rgba(var(--ax-sys-color-surface)), 0px 0px 0px 4px rgba(var(--ax-sys-color-primary-500));
|
|
38
33
|
}
|
|
39
|
-
|
|
40
34
|
&:disabled {
|
|
41
35
|
cursor: not-allowed;
|
|
42
36
|
opacity: 0.5;
|
|
43
37
|
}
|
|
44
38
|
}
|
|
45
|
-
|
|
46
|
-
// @include darkMode() {
|
|
47
|
-
// .ax-checkbox {
|
|
48
|
-
// &:checked {
|
|
49
|
-
// border-color: rgba(var(--ax-sys-color-primary-200)) !important;
|
|
50
|
-
// background-color: rgba(var(--ax-sys-color-primary-200)) !important;
|
|
51
|
-
// background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
|
|
52
|
-
// }
|
|
53
|
-
// }
|
|
54
|
-
// }
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
@use '../variables/index.scss';
|
|
2
|
-
@use '../mixins/' as mixins;
|
|
3
1
|
.ax-drop-down {
|
|
4
2
|
display: contents;
|
|
5
|
-
|
|
6
3
|
.ax-dropdown-content {
|
|
7
4
|
display: flex;
|
|
8
5
|
flex: 1 1 0%;
|
|
9
6
|
align-items: center;
|
|
10
7
|
overflow-x: auto;
|
|
11
8
|
overflow-y: hidden;
|
|
12
|
-
font-size: 0.875rem
|
|
13
|
-
|
|
9
|
+
font-size: 0.875rem;
|
|
10
|
+
/* 14px */
|
|
11
|
+
line-height: 1.25rem;
|
|
12
|
+
/* 20px */
|
|
14
13
|
text-transform: capitalize;
|
|
15
|
-
|
|
16
14
|
&.ax-state-disabled {
|
|
17
15
|
cursor: not-allowed;
|
|
18
16
|
opacity: 0.5;
|
|
@@ -29,28 +27,27 @@
|
|
|
29
27
|
border-width: 1px;
|
|
30
28
|
border-color: rgba(var(--ax-sys-color-border-lightest-surface));
|
|
31
29
|
background-color: rgba(var(--ax-sys-color-lightest-surface));
|
|
32
|
-
--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
|
|
31
|
+
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
32
|
+
--ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color),
|
|
33
|
+
0 2px 4px -2px var(--ax-shadow-color);
|
|
34
|
+
box-shadow: var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--ax-shadow);
|
|
35
35
|
border-top-left-radius: var(--ax-comp-drop-down-border-top-left-radius, var(--ax-sys-border-radius));
|
|
36
36
|
border-top-right-radius: var(--ax-comp-drop-down-border-top-right-radius, var(--ax-sys-border-radius));
|
|
37
37
|
border-bottom-left-radius: var(--ax-comp-drop-down-border-bottom-left-radius, var(--ax-sys-border-radius));
|
|
38
38
|
border-bottom-right-radius: var(--ax-comp-drop-down-border-bottom-right-radius, var(--ax-sys-border-radius));
|
|
39
|
-
@include
|
|
40
|
-
margin: 0;
|
|
41
|
-
}
|
|
39
|
+
/* Replace the @include mixin with a normal media query */
|
|
42
40
|
ax-header,
|
|
43
41
|
ax-footer {
|
|
44
42
|
background-color: rgba(var(--ax-sys-color-lightest-surface));
|
|
45
|
-
padding: 0.75rem
|
|
43
|
+
padding: 0.75rem;
|
|
44
|
+
/* 12px */
|
|
46
45
|
}
|
|
47
|
-
|
|
48
46
|
&.ax-overlay-center {
|
|
49
47
|
height: fit-content;
|
|
50
48
|
width: 80vw;
|
|
51
49
|
max-width: 90vh;
|
|
52
50
|
}
|
|
53
|
-
|
|
54
51
|
&.ax-overlay-actionsheet {
|
|
55
52
|
height: auto;
|
|
56
53
|
max-height: 85vh;
|
|
@@ -61,14 +58,18 @@
|
|
|
61
58
|
max-height: 95vh;
|
|
62
59
|
}
|
|
63
60
|
}
|
|
64
|
-
|
|
65
61
|
&.ax-overlay-full {
|
|
66
62
|
width: 100vw;
|
|
67
63
|
height: 100vh;
|
|
68
64
|
}
|
|
69
65
|
}
|
|
66
|
+
@media (max-width: 480px) {
|
|
67
|
+
.ax-overlay-pane {
|
|
68
|
+
margin: 0;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
70
71
|
|
|
71
|
-
|
|
72
|
+
.dark {
|
|
72
73
|
.ax-overlay-pane {
|
|
73
74
|
background-color: rgba(var(--ax-sys-color-darker-surface));
|
|
74
75
|
border-color: rgba(var(--ax-sys-color-border-darker-surface));
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
:root,
|
|
2
|
+
.ax-editor-container {
|
|
3
|
+
--ax-comp-editor-font-size: 0.875rem;
|
|
4
|
+
--ax-comp-editor-gap: 0.5rem;
|
|
5
|
+
--ax-comp-editor-space-start-size: 0.5rem;
|
|
6
|
+
--ax-comp-editor-space-end-size: 0.5rem;
|
|
7
|
+
--ax-comp-editor-space-block-size: 0.5rem;
|
|
8
|
+
--ax-comp-editor-height: var(--ax-sys-size-base);
|
|
9
|
+
--ax-comp-editor-placeholder-space-x: 0.75rem;
|
|
10
|
+
--ax-comp-editor-error-bg-color: var(--ax-sys-color-danger-light-surface);
|
|
11
|
+
--ax-comp-editor-error-text-color: var(--ax-sys-color-danger-surface);
|
|
12
|
+
--ax-comp-editor-error-border-color: var(--ax-sys-color-border-danger-surface);
|
|
13
|
+
--ax-comp-editor-error-box-shadow-color: var(--ax-sys-color-danger-surface);
|
|
14
|
+
--ax-comp-editor-text-color: var(--ax-sys-color-on-surface);
|
|
15
|
+
--ax-comp-editor-border-color: var(--ax-sys-color-border-surface);
|
|
16
|
+
--ax-comp-editor-border-radius: var(--ax-sys-border-radius);
|
|
17
|
+
--ax-comp-editor-box-outline-width: 1px;
|
|
18
|
+
--ax-comp-editor-box-outline-color: var(--ax-sys-color-primary-surface);
|
|
19
|
+
--ax-comp-editor-placeholder-opacity: 0.5;
|
|
20
|
+
--ax-comp-editor-focused-border-color: var(--ax-sys-color-border-primary-surface);
|
|
21
|
+
--ax-comp-editor-focused-box-shadow-color: var(--ax-sys-color-primary-surface);
|
|
22
|
+
--ax-comp-editor-border-width: 0px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ax-editor-container {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: var(--ax-comp-editor-height);
|
|
31
|
+
font-size: var(--ax-comp-editor-font-size);
|
|
32
|
+
border-radius: var(--ax-comp-editor-border-radius);
|
|
33
|
+
border-width: var(--ax-comp-editor-border-width);
|
|
34
|
+
border-color: rgba(var(--ax-comp-editor-border-color));
|
|
35
|
+
background-color: rgba(var(--ax-comp-editor-bg-color));
|
|
36
|
+
color: rgba(var(--ax-comp-editor-text-color));
|
|
37
|
+
position: relative;
|
|
38
|
+
gap: var(--ax-comp-editor-gap);
|
|
39
|
+
padding-inline-end: var(--ax-comp-editor-space-end-size);
|
|
40
|
+
padding-inline-start: var(--ax-comp-editor-space-start-size);
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ax-editor-container .ax-icon {
|
|
45
|
+
font-size: var(--ax-comp-editor-icon-font-size);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ax-editor-container:has(> ax-prefix) {
|
|
49
|
+
padding-inline-start: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ax-editor-container:has(> ax-prefix) > ax-prefix:has(ax-button, .ax-editor-container) {
|
|
53
|
+
--ax-comp-editor-space-start-size: 0px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ax-editor-container:has(> ax-prefix) > ax-prefix {
|
|
57
|
+
padding-inline-start: var(--ax-comp-editor-space-start-size);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ax-editor-container:has(> ax-suffix) {
|
|
61
|
+
padding-inline-end: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ax-editor-container:has(> ax-suffix) > ax-suffix:has(ax-button, .ax-editor-container) {
|
|
65
|
+
--ax-comp-editor-space-end-size: 0px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ax-editor-container:has(> ax-suffix) > ax-suffix {
|
|
69
|
+
padding-inline-end: var(--ax-comp-editor-space-end-size);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ax-editor-container:not(.ax-state-disabled):focus-within {
|
|
73
|
+
border-color: rgba(var(--ax-comp-editor-focused-border-color));
|
|
74
|
+
outline-width: var(--ax-comp-editor-box-outline-width);
|
|
75
|
+
outline-style: solid;
|
|
76
|
+
outline-color: rgba(var(--ax-comp-editor-focused-border-color));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.ax-editor-container.ax-state-error {
|
|
80
|
+
border-color: rgba(var(--ax-comp-editor-error-border-color));
|
|
81
|
+
outline-width: var(--ax-comp-editor-box-outline-width);
|
|
82
|
+
outline-color: rgba(var(--ax-comp-editor-error-border-color));
|
|
83
|
+
outline-style: solid;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ax-editor-container.ax-state-error:focus-within {
|
|
87
|
+
border-color: rgba(var(--ax-comp-editor-error-border-color));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.ax-editor-container.ax-state-error .ax-input .ax-placeholder,
|
|
91
|
+
.ax-editor-container.ax-state-error .ax-input::placeholder {
|
|
92
|
+
color: rgba(var(--ax-comp-editor-error-text-color), var(--ax-comp-editor-placeholder-opacity));
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ax-editor-container.ax-solid {
|
|
96
|
+
--ax-comp-editor-bg-color: var(--ax-sys-color-lightest-surface);
|
|
97
|
+
--ax-comp-editor-border-width: 1px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ax-editor-container.ax-outline {
|
|
101
|
+
--ax-comp-editor-bg-color: 0, 0, 0, 0;
|
|
102
|
+
--ax-comp-editor-border-width: 1px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ax-editor-container.ax-flat {
|
|
106
|
+
--ax-comp-editor-border-width: 2px;
|
|
107
|
+
--ax-comp-editor-border-radius: 0px;
|
|
108
|
+
--ax-comp-editor-box-outline-width: 0px;
|
|
109
|
+
border-width: 0px !important;
|
|
110
|
+
border-bottom-width: var(--ax-comp-editor-border-width) !important;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ax-editor-container.ax-fill {
|
|
114
|
+
--ax-comp-editor-box-outline-width: 2px;
|
|
115
|
+
--ax-comp-editor-border-width: 0px;
|
|
116
|
+
--ax-comp-editor-bg-color: var(--ax-sys-color-surface);
|
|
117
|
+
--ax-comp-editor-text-color: var(--ax-sys-color-on-lighter-surface);
|
|
118
|
+
--ax-comp-editor-border-color: var(--ax-sys-color-border-lighter-surface);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ax-editor-container.ax-none {
|
|
122
|
+
--ax-comp-editor-border-radius: 0px;
|
|
123
|
+
--ax-comp-editor-box-outline-width: 0px;
|
|
124
|
+
--ax-comp-editor-border-width: 0px;
|
|
125
|
+
--ax-comp-editor-bg-color: 0, 0, 0, 0;
|
|
126
|
+
--ax-comp-editor-border-color: 0, 0, 0, 0;
|
|
127
|
+
--ax-comp-editor-text-color: var(--ax-sys-color-on-lighter-surface);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ax-editor-container .ax-editor-input {
|
|
131
|
+
height: 100%;
|
|
132
|
+
flex: 1 1 0%;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ax-editor-container .ax-editor-input .ax-input {
|
|
136
|
+
height: 100%;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.ax-editor-container .ax-input {
|
|
140
|
+
font-size: var(--ax-comp-editor-font-size);
|
|
141
|
+
line-height: var(--ax-comp-editor-font-size);
|
|
142
|
+
color: rgba(var(--ax-comp-editor-text-color));
|
|
143
|
+
cursor: inherit;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ax-editor-container .ax-input .ax-placeholder,
|
|
147
|
+
.ax-editor-container .ax-input::placeholder {
|
|
148
|
+
font-size: inherit;
|
|
149
|
+
font-weight: 400;
|
|
150
|
+
color: rgb(var(--ax-comp-editor-text-color), var(--ax-comp-editor-placeholder-opacity));
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ax-editor-container .ax-input:focus,
|
|
154
|
+
.ax-editor-container .ax-input:focus-visible,
|
|
155
|
+
.ax-editor-container .ax-input:focus-within {
|
|
156
|
+
outline: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.ax-editor-container.ax-state-disabled {
|
|
160
|
+
opacity: 0.5;
|
|
161
|
+
cursor: not-allowed;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.ax-editor-container .ax-editor-control {
|
|
165
|
+
display: flex;
|
|
166
|
+
height: 100%;
|
|
167
|
+
align-items: center;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
padding-inline-start: 0.5rem;
|
|
170
|
+
font-size: 1.125rem;
|
|
171
|
+
line-height: 1.75rem;
|
|
172
|
+
color: rgba(var(--ax-comp-editor-text-color));
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.ax-editor-container.ax-button-icon {
|
|
176
|
+
padding: 0 0.5rem;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.ax-editor-container .ax-input,
|
|
180
|
+
.ax-editor-container .ax-text-area {
|
|
181
|
+
text-align: inherit;
|
|
182
|
+
font-family: inherit;
|
|
183
|
+
font-size: inherit;
|
|
184
|
+
line-height: inherit;
|
|
185
|
+
height: 100%;
|
|
186
|
+
width: 100%;
|
|
187
|
+
flex: 1 1 0%;
|
|
188
|
+
background-color: transparent;
|
|
189
|
+
font-weight: inherit;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.ax-editor-container .ax-input:focus,
|
|
193
|
+
.ax-editor-container .ax-text-area:focus {
|
|
194
|
+
box-shadow: none;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.ax-editor-container .ax-editor-button {
|
|
198
|
+
font-size: var(--ax-comp-editor-button-font-size, var(--ax-comp-editor-font-size));
|
|
199
|
+
height: var(--ax-comp-editor-button-height, 100%);
|
|
200
|
+
display: flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
min-width: 1.5rem;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.ax-editor-container > ax-prefix,
|
|
207
|
+
.ax-editor-container > ax-suffix {
|
|
208
|
+
height: 100%;
|
|
209
|
+
max-width: fit-content;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ax-editor-container > ax-prefix ax-button,
|
|
213
|
+
.ax-editor-container > ax-prefix ax-text,
|
|
214
|
+
.ax-editor-container > ax-prefix ax-icon,
|
|
215
|
+
.ax-editor-container > ax-prefix .ax-editor-container,
|
|
216
|
+
.ax-editor-container > ax-suffix ax-button,
|
|
217
|
+
.ax-editor-container > ax-suffix ax-text,
|
|
218
|
+
.ax-editor-container > ax-suffix ax-icon,
|
|
219
|
+
.ax-editor-container > ax-suffix .ax-editor-container {
|
|
220
|
+
display: flex;
|
|
221
|
+
height: 100%;
|
|
222
|
+
align-items: center;
|
|
223
|
+
justify-content: center;
|
|
224
|
+
border-radius: 0px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.ax-editor-container > ax-prefix ax-title,
|
|
228
|
+
.ax-editor-container > ax-suffix ax-title {
|
|
229
|
+
padding-left: 1rem;
|
|
230
|
+
padding-right: 1rem;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ax-editor-container > ax-prefix > ax-text,
|
|
234
|
+
.ax-editor-container > ax-suffix > ax-text {
|
|
235
|
+
display: flex;
|
|
236
|
+
align-items: center;
|
|
237
|
+
justify-content: center;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ax-editor-container .ax-button {
|
|
241
|
+
height: 100% !important;
|
|
242
|
+
border-radius: 0px !important;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.ax-editor-container .ax-button.ax-button-icon {
|
|
246
|
+
height: 100%;
|
|
247
|
+
width: var(--ax-comp-editor-height);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.ax-editor-container ax-popover {
|
|
251
|
+
position: absolute;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.ax-xs .ax-editor-container,
|
|
255
|
+
.ax-editor-container.ax-xs {
|
|
256
|
+
--ax-comp-editor-font-size: 0.75rem;
|
|
257
|
+
--ax-comp-editor-space-start-size: 0.25rem;
|
|
258
|
+
--ax-comp-editor-space-end-size: 0.25rem;
|
|
259
|
+
--ax-comp-editor-button-font-size: 0.625rem;
|
|
260
|
+
--ax-comp-editor-gap: 0.25rem;
|
|
261
|
+
--ax-comp-editor-icon-font-size: 0.75rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.ax-sm .ax-editor-container,
|
|
265
|
+
.ax-editor-container.ax-sm {
|
|
266
|
+
--ax-comp-editor-font-size: 0.875rem;
|
|
267
|
+
--ax-comp-editor-space-start-size: 0.5rem;
|
|
268
|
+
--ax-comp-editor-space-end-size: 0.5rem;
|
|
269
|
+
--ax-comp-editor-button-font-size: 0.75rem;
|
|
270
|
+
--ax-comp-editor-gap: 0.375rem;
|
|
271
|
+
--ax-comp-editor-icon-font-size: 0.875rem;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.ax-md .ax-editor-container,
|
|
275
|
+
.ax-editor-container,
|
|
276
|
+
.ax-editor-container.ax-md {
|
|
277
|
+
--ax-comp-editor-space-start-size: 0.75rem;
|
|
278
|
+
--ax-comp-editor-space-end-size: 0.75rem;
|
|
279
|
+
--ax-comp-editor-button-font-size: 0.875rem;
|
|
280
|
+
--ax-comp-editor-gap: 0.5rem;
|
|
281
|
+
--ax-comp-editor-icon-font-size: 1rem;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.ax-lg .ax-editor-container,
|
|
285
|
+
.ax-editor-container.ax-lg {
|
|
286
|
+
--ax-comp-editor-font-size: 1.125rem;
|
|
287
|
+
--ax-comp-editor-space-start-size: 1.125rem;
|
|
288
|
+
--ax-comp-editor-space-end-size: 1.125rem;
|
|
289
|
+
--ax-comp-editor-button-font-size: 0.875rem;
|
|
290
|
+
--ax-comp-editor-gap: 0.625rem;
|
|
291
|
+
--ax-comp-editor-icon-font-size: 1.25rem;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.ax-xl .ax-editor-container,
|
|
295
|
+
.ax-editor-container.ax-xl {
|
|
296
|
+
--ax-comp-editor-font-size: 1.5rem;
|
|
297
|
+
--ax-comp-editor-space-start-size: 1.5rem;
|
|
298
|
+
--ax-comp-editor-space-end-size: 1.5rem;
|
|
299
|
+
--ax-comp-editor-button-font-size: 1rem;
|
|
300
|
+
--ax-comp-editor-gap: 0.75rem;
|
|
301
|
+
--ax-comp-editor-icon-font-size: 1.5rem;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
ax-validation-rule {
|
|
305
|
+
position: absolute;
|
|
306
|
+
}
|
|
@@ -10,26 +10,22 @@
|
|
|
10
10
|
font-size: 0.875rem;
|
|
11
11
|
line-height: 1.25rem;
|
|
12
12
|
color: rgb(var(--ax-sys-color-on-surface), 0.75);
|
|
13
|
-
|
|
14
13
|
&:hover {
|
|
15
14
|
&:not(&:disabled, .ax-state-disabled) {
|
|
16
15
|
color: rgba(var(--ax-sys-color-primary-500), var(--tw-text-opacity));
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
|
-
|
|
20
18
|
&:focus,
|
|
21
19
|
&:focus-visible {
|
|
22
20
|
&:not(&:disabled, .ax-state-disabled) {
|
|
23
21
|
color: rgba(var(--ax-sys-color-primary-700), var(--tw-text-opacity));
|
|
24
22
|
}
|
|
25
23
|
}
|
|
26
|
-
|
|
27
24
|
&:active {
|
|
28
25
|
&:not(&:disabled, .ax-state-disabled) {
|
|
29
26
|
color: rgba(var(--ax-sys-color-primary-300), var(--tw-text-opacity));
|
|
30
27
|
}
|
|
31
28
|
}
|
|
32
|
-
|
|
33
29
|
&.ax-button-icon {
|
|
34
30
|
padding-left: var(--ax-comp-general-button-padding-left, 0.5rem);
|
|
35
31
|
padding-right: var(--ax-comp-general-button-padding-right, 0.5rem);
|
|
@@ -47,6 +43,7 @@
|
|
|
47
43
|
opacity: 0.5;
|
|
48
44
|
}
|
|
49
45
|
}
|
|
46
|
+
|
|
50
47
|
.ax-clear-button {
|
|
51
48
|
display: inline-flex;
|
|
52
49
|
height: var(--ax-sys-size-base);
|
|
@@ -54,10 +51,9 @@
|
|
|
54
51
|
justify-content: center;
|
|
55
52
|
margin-left: 0.25rem;
|
|
56
53
|
margin-right: 0.25rem;
|
|
57
|
-
font-size: 1rem
|
|
58
|
-
line-height: 1.5rem
|
|
54
|
+
font-size: 1rem;
|
|
55
|
+
line-height: 1.5rem;
|
|
59
56
|
color: rgb(var(--ax-sys-color-on-surface), 0.75);
|
|
60
|
-
|
|
61
57
|
> button {
|
|
62
58
|
display: flex;
|
|
63
59
|
}
|