@acorex/styles 21.0.0-next.6 → 21.0.0-next.7
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} +19 -27
- package/components/{_actionsheet.scss → _actionsheet.css} +10 -3
- package/components/{_check-box.scss → _check-box.css} +8 -17
- package/components/{_drop-down.scss → _drop-down.css} +27 -15
- package/components/_editor-container.css +306 -0
- package/components/{_list.scss → _list.css} +82 -42
- package/components/{_radio.scss → _radio.css} +16 -18
- package/components/{_table.scss → _table.css} +62 -19
- package/components/{_uploader.scss → _uploader.css} +13 -6
- 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.css +25 -0
- package/package.json +1 -1
- package/tailwind-base.js +0 -4
- package/themes/{default.scss → default copy.scss } +6 -9
- package/themes/default.css +973 -0
- package/base/_preflight.scss +0 -424
- package/base/index.scss +0 -15
- package/components/_editor-container.scss +0 -293
- 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/index.scss +0 -7
- 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
- /package/components/{_general-button.scss → _general-button.css} +0 -0
- /package/components/{_ripple.scss → _ripple.css} +0 -0
@@ -11,17 +11,12 @@
|
|
11
11
|
border-inline-end: 1px solid rgba(var(--ax-sys-color-border-lightest-surface));
|
12
12
|
}
|
13
13
|
}
|
14
|
+
|
14
15
|
&.ax-action-list-vertical {
|
15
16
|
flex-direction: column;
|
16
17
|
|
17
|
-
.ax-action-item {
|
18
|
-
|
19
|
-
&.ax-action-item-prefix {
|
20
|
-
ax-prefix {
|
21
|
-
min-width: 1rem;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
18
|
+
.ax-action-item>div.ax-action-item-prefix ax-prefix {
|
19
|
+
min-width: 1rem;
|
25
20
|
}
|
26
21
|
|
27
22
|
ax-divider {
|
@@ -38,10 +33,8 @@
|
|
38
33
|
font-weight: bolder;
|
39
34
|
text-transform: uppercase;
|
40
35
|
padding-block: var(--ax-comp-action-item-padding-block, 0.25rem);
|
41
|
-
padding-inline: var(
|
42
|
-
|
43
|
-
calc(var(--ax-comp-action-item-padding-inline, 0.875rem) / 3 * 2)
|
44
|
-
);
|
36
|
+
padding-inline: var(--ax-comp-action-item-padding-inline,
|
37
|
+
calc(var(--ax-comp-action-item-padding-inline, 0.875rem) / 3 * 2));
|
45
38
|
}
|
46
39
|
|
47
40
|
ax-divider {
|
@@ -63,25 +56,26 @@
|
|
63
56
|
width: 100%;
|
64
57
|
cursor: pointer;
|
65
58
|
padding-inline: var(--ax-comp-action-item-padding-inline, 0.875rem);
|
59
|
+
|
66
60
|
&.ax-state-disabled {
|
67
61
|
cursor: not-allowed;
|
68
62
|
opacity: 0.5;
|
69
63
|
}
|
70
64
|
|
71
|
-
&:hover {
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
}
|
65
|
+
&:hover:not(.ax-state-disabled, .ax-state-selected) {
|
66
|
+
background-color: rgba(var(--ax-sys-color-surface));
|
67
|
+
|
68
|
+
ax-prefix,
|
69
|
+
ax-suffix {
|
70
|
+
opacity: 1;
|
78
71
|
}
|
79
72
|
}
|
80
73
|
|
81
|
-
|
74
|
+
&>div {
|
82
75
|
display: flex;
|
83
76
|
align-items: center;
|
84
77
|
justify-content: center;
|
78
|
+
|
85
79
|
&.ax-action-item-prefix,
|
86
80
|
&.ax-action-item-suffix {
|
87
81
|
gap: 0.5rem;
|
@@ -93,12 +87,10 @@
|
|
93
87
|
gap: 0.5rem;
|
94
88
|
}
|
95
89
|
|
96
|
-
ax-suffix {
|
97
|
-
ax-text
|
98
|
-
|
99
|
-
|
100
|
-
font-weight: lighter;
|
101
|
-
}
|
90
|
+
ax-suffix ax-text {
|
91
|
+
color: rgba(var(--ax-sys-body-text-color));
|
92
|
+
opacity: 0.5;
|
93
|
+
font-weight: lighter;
|
102
94
|
}
|
103
95
|
}
|
104
|
-
}
|
96
|
+
}
|
@@ -6,8 +6,10 @@
|
|
6
6
|
border-top-right-radius: var(--ax-comp-action-sheet-border-radius-size);
|
7
7
|
background-color: rgba(var(--ax-sys-color-surface-lowest));
|
8
8
|
--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
|
-
|
9
|
+
--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color),
|
10
|
+
0 4px 6px -4px var(--ax-shadow-color);
|
11
|
+
box-shadow: var(--ax-ring-offset-shadow, 0 0 #0000), var(--ax-ring-shadow, 0 0 #0000),
|
12
|
+
var(--ax-shadow);
|
11
13
|
|
12
14
|
animation: 1s both ax-fadeInUp;
|
13
15
|
animation-duration: var(--ax-sys-transition-duration);
|
@@ -17,5 +19,10 @@
|
|
17
19
|
transform: translate3d(0, 100%, 0);
|
18
20
|
opacity: 0;
|
19
21
|
}
|
22
|
+
|
23
|
+
to {
|
24
|
+
transform: translate3d(0, 0, 0);
|
25
|
+
opacity: 1;
|
26
|
+
}
|
20
27
|
}
|
21
|
-
}
|
28
|
+
}
|
@@ -1,12 +1,13 @@
|
|
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));
|
@@ -27,7 +28,7 @@
|
|
27
28
|
}
|
28
29
|
|
29
30
|
&:indeterminate {
|
30
|
-
background-image: url(
|
31
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImNscy0xIiB4PSIzIiB5PSI3IiB3aWR0aD0iMTAiIGhlaWdodD0iMiIvPjwvc3ZnPg==");
|
31
32
|
}
|
32
33
|
|
33
34
|
&:focus-visible,
|
@@ -41,14 +42,4 @@
|
|
41
42
|
cursor: not-allowed;
|
42
43
|
opacity: 0.5;
|
43
44
|
}
|
44
|
-
}
|
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
|
-
// }
|
45
|
+
}
|
@@ -1,5 +1,3 @@
|
|
1
|
-
@use '../variables/index.scss';
|
2
|
-
@use '../mixins/' as mixins;
|
3
1
|
.ax-drop-down {
|
4
2
|
display: contents;
|
5
3
|
|
@@ -9,8 +7,10 @@
|
|
9
7
|
align-items: center;
|
10
8
|
overflow-x: auto;
|
11
9
|
overflow-y: hidden;
|
12
|
-
font-size: 0.875rem
|
13
|
-
|
10
|
+
font-size: 0.875rem;
|
11
|
+
/* 14px */
|
12
|
+
line-height: 1.25rem;
|
13
|
+
/* 20px */
|
14
14
|
text-transform: capitalize;
|
15
15
|
|
16
16
|
&.ax-state-disabled {
|
@@ -29,20 +29,31 @@
|
|
29
29
|
border-width: 1px;
|
30
30
|
border-color: rgba(var(--ax-sys-color-border-lightest-surface));
|
31
31
|
background-color: rgba(var(--ax-sys-color-lightest-surface));
|
32
|
-
--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
border-
|
39
|
-
|
32
|
+
--ax-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
|
33
|
+
0 2px 4px -2px rgb(0 0 0 / 0.1);
|
34
|
+
--ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color),
|
35
|
+
0 2px 4px -2px var(--ax-shadow-color);
|
36
|
+
box-shadow: var(--ax-ring-offset-shadow, 0 0 #0000),
|
37
|
+
var(--ax-ring-shadow, 0 0 #0000), var(--ax-shadow);
|
38
|
+
border-top-left-radius: var(--ax-comp-drop-down-border-top-left-radius,
|
39
|
+
var(--ax-sys-border-radius));
|
40
|
+
border-top-right-radius: var(--ax-comp-drop-down-border-top-right-radius,
|
41
|
+
var(--ax-sys-border-radius));
|
42
|
+
border-bottom-left-radius: var(--ax-comp-drop-down-border-bottom-left-radius,
|
43
|
+
var(--ax-sys-border-radius));
|
44
|
+
border-bottom-right-radius: var(--ax-comp-drop-down-border-bottom-right-radius,
|
45
|
+
var(--ax-sys-border-radius));
|
46
|
+
|
47
|
+
/* Replace the @include mixin with a normal media query */
|
48
|
+
@media (max-width: 480px) {
|
40
49
|
margin: 0;
|
41
50
|
}
|
51
|
+
|
42
52
|
ax-header,
|
43
53
|
ax-footer {
|
44
54
|
background-color: rgba(var(--ax-sys-color-lightest-surface));
|
45
|
-
padding: 0.75rem
|
55
|
+
padding: 0.75rem;
|
56
|
+
/* 12px */
|
46
57
|
}
|
47
58
|
|
48
59
|
&.ax-overlay-center {
|
@@ -56,6 +67,7 @@
|
|
56
67
|
max-height: 85vh;
|
57
68
|
width: 100%;
|
58
69
|
background-color: rgba(var(--ax-sys-color-lightest-surface));
|
70
|
+
|
59
71
|
&.ax-full {
|
60
72
|
height: 95vh;
|
61
73
|
max-height: 95vh;
|
@@ -68,9 +80,9 @@
|
|
68
80
|
}
|
69
81
|
}
|
70
82
|
|
71
|
-
|
83
|
+
.dark {
|
72
84
|
.ax-overlay-pane {
|
73
85
|
background-color: rgba(var(--ax-sys-color-darker-surface));
|
74
86
|
border-color: rgba(var(--ax-sys-color-border-darker-surface));
|
75
87
|
}
|
76
|
-
}
|
88
|
+
}
|
@@ -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
|
+
}
|