@acorex/styles 18.12.29 → 18.12.33
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,87 +1,87 @@
|
|
1
|
-
.ax-general-button {
|
2
|
-
// @apply ax-inline-flex ax-h-default ax-cursor-pointer ax-items-center ax-justify-center ax-rounded-default ax-px-4 ax-text-sm ax-text-default/75;
|
3
|
-
display: inline-flex;
|
4
|
-
height: var(--ax-size-default);
|
5
|
-
cursor: pointer;
|
6
|
-
align-items: center;
|
7
|
-
justify-content: center;
|
8
|
-
border-radius: var(--ax-rounded-border-default);
|
9
|
-
padding-left: 1rem /* 16px */;
|
10
|
-
padding-right: 1rem /* 16px */;
|
11
|
-
font-size: 0.875rem /* 14px */;
|
12
|
-
line-height: 1.25rem /* 20px */;
|
13
|
-
color: rgb(var(--ax-color-input-surface-fore), 0.75);
|
14
|
-
|
15
|
-
&:hover {
|
16
|
-
&:not(&:disabled, .ax-state-disabled) {
|
17
|
-
// @apply ax-text-primary-500;
|
18
|
-
color: rgba(var(--ax-color-primary-500), var(--tw-text-opacity));
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
&:focus,
|
23
|
-
&:focus-visible {
|
24
|
-
&:not(&:disabled, .ax-state-disabled) {
|
25
|
-
// @apply ax-text-primary-700;
|
26
|
-
color: rgba(var(--ax-color-primary-700), var(--tw-text-opacity));
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
&:active {
|
31
|
-
&:not(&:disabled, .ax-state-disabled) {
|
32
|
-
// @apply ax-text-primary-300;
|
33
|
-
color: rgba(var(--ax-color-primary-300), var(--tw-text-opacity));
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
&.ax-button-icon {
|
38
|
-
// @apply ax-px-2 ax-text-lg;
|
39
|
-
padding-left: 0.5rem /* 8px */;
|
40
|
-
padding-right: 0.5rem /* 8px */;
|
41
|
-
> button {
|
42
|
-
// @apply ax-flex;
|
43
|
-
display: flex;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
&.ax-button-rounded {
|
47
|
-
// @apply ax-rounded-default;
|
48
|
-
border-radius: var(--ax-rounded-border-default);
|
49
|
-
}
|
50
|
-
&:disabled,
|
51
|
-
&.ax-state-disabled {
|
52
|
-
// @apply ax-cursor-not-allowed ax-opacity-50;
|
53
|
-
cursor: not-allowed;
|
54
|
-
opacity: 0.5;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
.ax-clear-button {
|
58
|
-
// @apply ax-inline-flex ax-h-default ax-items-center ax-justify-center ax-px-3 ax-text-base ax-leading-none ax-text-default/75;
|
59
|
-
display: inline-flex;
|
60
|
-
height: var(--ax-size-default);
|
61
|
-
align-items: center;
|
62
|
-
justify-content: center;
|
63
|
-
margin-left: 0.25rem;
|
64
|
-
margin-right: 0.25rem;
|
65
|
-
font-size: 1rem /* 16px */;
|
66
|
-
line-height: 1.5rem /* 24px */;
|
67
|
-
line-height: 1;
|
68
|
-
color: rgb(var(--ax-color-text-default), 0.75);
|
69
|
-
|
70
|
-
> button {
|
71
|
-
// @apply ax-flex;
|
72
|
-
display: flex;
|
73
|
-
}
|
74
|
-
&:hover {
|
75
|
-
&:not(&:disabled, .ax-state-disabled) {
|
76
|
-
// @apply ax-text-default/50;
|
77
|
-
color: rgb(var(--ax-color-text-default), 0.5);
|
78
|
-
}
|
79
|
-
}
|
80
|
-
&:focus,
|
81
|
-
&:focus-visible {
|
82
|
-
&:not(&:disabled, .ax-state-disabled) {
|
83
|
-
// @apply ax-text-default;
|
84
|
-
color: rgb(var(--ax-color-text-default));
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
1
|
+
.ax-general-button {
|
2
|
+
// @apply ax-inline-flex ax-h-default ax-cursor-pointer ax-items-center ax-justify-center ax-rounded-default ax-px-4 ax-text-sm ax-text-default/75;
|
3
|
+
display: inline-flex;
|
4
|
+
height: var(--ax-size-default);
|
5
|
+
cursor: pointer;
|
6
|
+
align-items: center;
|
7
|
+
justify-content: center;
|
8
|
+
border-radius: var(--ax-rounded-border-default);
|
9
|
+
padding-left: 1rem /* 16px */;
|
10
|
+
padding-right: 1rem /* 16px */;
|
11
|
+
font-size: 0.875rem /* 14px */;
|
12
|
+
line-height: 1.25rem /* 20px */;
|
13
|
+
color: rgb(var(--ax-color-input-surface-fore), 0.75);
|
14
|
+
|
15
|
+
&:hover {
|
16
|
+
&:not(&:disabled, .ax-state-disabled) {
|
17
|
+
// @apply ax-text-primary-500;
|
18
|
+
color: rgba(var(--ax-color-primary-500), var(--tw-text-opacity));
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
&:focus,
|
23
|
+
&:focus-visible {
|
24
|
+
&:not(&:disabled, .ax-state-disabled) {
|
25
|
+
// @apply ax-text-primary-700;
|
26
|
+
color: rgba(var(--ax-color-primary-700), var(--tw-text-opacity));
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
&:active {
|
31
|
+
&:not(&:disabled, .ax-state-disabled) {
|
32
|
+
// @apply ax-text-primary-300;
|
33
|
+
color: rgba(var(--ax-color-primary-300), var(--tw-text-opacity));
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
&.ax-button-icon {
|
38
|
+
// @apply ax-px-2 ax-text-lg;
|
39
|
+
padding-left: 0.5rem /* 8px */;
|
40
|
+
padding-right: 0.5rem /* 8px */;
|
41
|
+
> button {
|
42
|
+
// @apply ax-flex;
|
43
|
+
display: flex;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
&.ax-button-rounded {
|
47
|
+
// @apply ax-rounded-default;
|
48
|
+
border-radius: var(--ax-rounded-border-default);
|
49
|
+
}
|
50
|
+
&:disabled,
|
51
|
+
&.ax-state-disabled {
|
52
|
+
// @apply ax-cursor-not-allowed ax-opacity-50;
|
53
|
+
cursor: not-allowed;
|
54
|
+
opacity: 0.5;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
.ax-clear-button {
|
58
|
+
// @apply ax-inline-flex ax-h-default ax-items-center ax-justify-center ax-px-3 ax-text-base ax-leading-none ax-text-default/75;
|
59
|
+
display: inline-flex;
|
60
|
+
height: var(--ax-size-default);
|
61
|
+
align-items: center;
|
62
|
+
justify-content: center;
|
63
|
+
margin-left: 0.25rem;
|
64
|
+
margin-right: 0.25rem;
|
65
|
+
font-size: 1rem /* 16px */;
|
66
|
+
line-height: 1.5rem /* 24px */;
|
67
|
+
line-height: 1;
|
68
|
+
color: rgb(var(--ax-color-text-default), 0.75);
|
69
|
+
|
70
|
+
> button {
|
71
|
+
// @apply ax-flex;
|
72
|
+
display: flex;
|
73
|
+
}
|
74
|
+
&:hover {
|
75
|
+
&:not(&:disabled, .ax-state-disabled) {
|
76
|
+
// @apply ax-text-default/50;
|
77
|
+
color: rgb(var(--ax-color-text-default), 0.5);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
&:focus,
|
81
|
+
&:focus-visible {
|
82
|
+
&:not(&:disabled, .ax-state-disabled) {
|
83
|
+
// @apply ax-text-default;
|
84
|
+
color: rgb(var(--ax-color-text-default));
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
package/src/shared/_inputs.scss
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
.ax-input {
|
2
|
-
// @apply ax-p-0 ax-outline-0;
|
3
|
-
font-size: inherit;
|
4
|
-
padding: 0px;
|
5
|
-
outline-width: 0px;
|
6
|
-
|
7
|
-
&:focus {
|
8
|
-
// @apply ax-outline-transparent;
|
9
|
-
outline-color: transparent;
|
10
|
-
}
|
11
|
-
// &.ax-state-disabled {
|
12
|
-
// // @apply ax-cursor-not-allowed ax-opacity-50;
|
13
|
-
// cursor: not-allowed;
|
14
|
-
// opacity: 0.5;
|
15
|
-
// }
|
16
|
-
}
|
1
|
+
.ax-input {
|
2
|
+
// @apply ax-p-0 ax-outline-0;
|
3
|
+
font-size: inherit;
|
4
|
+
padding: 0px;
|
5
|
+
outline-width: 0px;
|
6
|
+
|
7
|
+
&:focus {
|
8
|
+
// @apply ax-outline-transparent;
|
9
|
+
outline-color: transparent;
|
10
|
+
}
|
11
|
+
// &.ax-state-disabled {
|
12
|
+
// // @apply ax-cursor-not-allowed ax-opacity-50;
|
13
|
+
// cursor: not-allowed;
|
14
|
+
// opacity: 0.5;
|
15
|
+
// }
|
16
|
+
}
|
package/src/shared/_list.scss
CHANGED
@@ -1,199 +1,199 @@
|
|
1
|
-
@import '../mixins/index.scss';
|
2
|
-
@include darkMode() {
|
3
|
-
.ax-list-item {
|
4
|
-
&.ax-state-selected {
|
5
|
-
// @apply ax-bg-primary-800 ax-text-primary-fore #{!important};
|
6
|
-
background-color: rgba(var(--ax-color-primary-800)) !important;
|
7
|
-
color: rgba(var(--ax-color-primary-fore)) !important;
|
8
|
-
|
9
|
-
// .ax-selected-icon {
|
10
|
-
// // @apply ax-text-primary-fore;
|
11
|
-
// color: rgba(var(--ax-color-primary-fore));
|
12
|
-
// }
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
|
-
.ax-list {
|
17
|
-
// @apply ax-flex ax-h-full ax-flex-col ax-overflow-hidden ax-bg-surface ax-text-sm md:ax-max-h-80;
|
18
|
-
display: flex;
|
19
|
-
height: 100%;
|
20
|
-
flex-direction: column;
|
21
|
-
overflow: hidden;
|
22
|
-
background-color: rgba(var(--ax-color-surface));
|
23
|
-
font-size: 0.875rem /* 14px */;
|
24
|
-
line-height: 1.25rem /* 20px */;
|
25
|
-
@media (min-width: 768px) {
|
26
|
-
max-height: 20rem /* 320px */;
|
27
|
-
}
|
28
|
-
ax-header,
|
29
|
-
ax-footer {
|
30
|
-
// @apply ax-flex ax-items-center ax-justify-between ax-border-default ax-bg-surface;
|
31
|
-
display: flex;
|
32
|
-
align-items: center;
|
33
|
-
justify-content: space-between;
|
34
|
-
border-color: rgba(var(--ax-color-border-default), var(--tw-border-opacity));
|
35
|
-
background-color: rgba(var(--ax-color-surface), var(--tw-bg-opacity));
|
36
|
-
}
|
37
|
-
ax-header {
|
38
|
-
// @apply ax-border-b ax-border-default ax-p-4 ax-text-base ax-font-medium md:ax-text-lg;
|
39
|
-
border-bottom-width: 1px;
|
40
|
-
border-color: rgba(var(--ax-color-border-default), var(--tw-border-opacity));
|
41
|
-
padding: 1rem /* 16px */;
|
42
|
-
font-size: 1rem /* 16px */;
|
43
|
-
line-height: 1.5rem /* 24px */;
|
44
|
-
font-weight: 500;
|
45
|
-
@media (min-width: 768px) {
|
46
|
-
font-size: 1.125rem /* 18px */;
|
47
|
-
line-height: 1.75rem /* 28px */;
|
48
|
-
}
|
49
|
-
ax-prefix,
|
50
|
-
ax-suffix {
|
51
|
-
// @apply ax-flex ax-flex-col ax-justify-items-start;
|
52
|
-
display: flex;
|
53
|
-
flex-direction: column;
|
54
|
-
justify-items: start;
|
55
|
-
}
|
56
|
-
ax-prefix {
|
57
|
-
// @apply ax-items-start;
|
58
|
-
align-items: flex-start;
|
59
|
-
}
|
60
|
-
ax-suffix {
|
61
|
-
// @apply ax-items-end;
|
62
|
-
align-items: flex-end;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
ax-footer {
|
67
|
-
// @apply ax-border-t;
|
68
|
-
border-top-width: 1px;
|
69
|
-
}
|
70
|
-
|
71
|
-
.ax-content {
|
72
|
-
// @apply ax-flex-1 ax-overflow-y-auto ax-overflow-x-hidden;
|
73
|
-
flex: 1 1 0%;
|
74
|
-
overflow-y: auto;
|
75
|
-
overflow-x: hidden;
|
76
|
-
|
77
|
-
&.ax-list-items-container {
|
78
|
-
// @apply ax-h-full ax-overflow-y-auto ax-py-2;
|
79
|
-
height: 100%;
|
80
|
-
overflow-y: auto;
|
81
|
-
padding-top: 0.5rem /* 8px */;
|
82
|
-
padding-bottom: 0.5rem /* 8px */;
|
83
|
-
|
84
|
-
&.ax-vertical {
|
85
|
-
// @apply ax-grid ax-grid-cols-1;
|
86
|
-
display: grid;
|
87
|
-
grid-template-columns: repeat(1, minmax(0, 1fr));
|
88
|
-
|
89
|
-
&.ax-divide {
|
90
|
-
// @apply ax-border-y;
|
91
|
-
border-top-width: 1px;
|
92
|
-
border-bottom-width: 1px;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
|
-
&.ax-default {
|
97
|
-
// @apply ax-cursor-pointer;
|
98
|
-
cursor: pointer;
|
99
|
-
|
100
|
-
.ax-list-item-group {
|
101
|
-
& > span {
|
102
|
-
// @apply ax-flex ax-items-center ax-p-3 ax-font-medium;
|
103
|
-
display: flex;
|
104
|
-
align-items: center;
|
105
|
-
padding: 0.75rem /* 12px */;
|
106
|
-
font-weight: 500;
|
107
|
-
}
|
108
|
-
|
109
|
-
& > ul {
|
110
|
-
// @apply ax-px-3;
|
111
|
-
padding-left: 0.75rem /* 12px */;
|
112
|
-
padding-right: 0.75rem /* 12px */;
|
113
|
-
}
|
114
|
-
.ax-list-item {
|
115
|
-
// @apply ax-mb-1 ax-rounded-default;
|
116
|
-
margin-bottom: 0.25rem /* 4px */;
|
117
|
-
border-radius: var(--ax-rounded-border-default);
|
118
|
-
}
|
119
|
-
}
|
120
|
-
|
121
|
-
.ax-list-item {
|
122
|
-
// @apply ax-relative ax-flex ax-h-default ax-select-none ax-items-center ax-justify-between ax-pe-4 ax-ps-3 ax-text-base;
|
123
|
-
position: relative;
|
124
|
-
display: flex;
|
125
|
-
height: var(--ax-size-default);
|
126
|
-
user-select: none;
|
127
|
-
align-items: center;
|
128
|
-
justify-content: space-between;
|
129
|
-
padding-inline-end: 1rem /* 16px */;
|
130
|
-
padding-inline-start: 0.75rem /* 12px */;
|
131
|
-
font-size: 1rem /* 16px */;
|
132
|
-
line-height: 1.5rem /* 24px */;
|
133
|
-
&:focus,
|
134
|
-
&:focus-visible {
|
135
|
-
// @apply ax-outline-2 ax-outline-offset-2;
|
136
|
-
outline-width: 2px;
|
137
|
-
outline-offset: 2px;
|
138
|
-
}
|
139
|
-
&.ax-state-checkbox {
|
140
|
-
.ax-checkbox-label {
|
141
|
-
// @apply ax-ms-2;
|
142
|
-
margin-inline-start: 0.5rem /* 8px */;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
&.ax-state-selected {
|
146
|
-
// @apply ax-bg-primary-500 ax-text-primary-fore #{!important};
|
147
|
-
background-color: rgba(var(--ax-color-primary-500), var(--tw-bg-opacity)) !important;
|
148
|
-
color: rgba(var(--ax-color-primary-fore), var(--tw-text-opacity)) !important;
|
149
|
-
|
150
|
-
// .ax-selected-icon {
|
151
|
-
// // @apply ax-text-2xl ax-text-primary-500;
|
152
|
-
// font-size: 1.5rem /* 24px */;
|
153
|
-
// line-height: 2rem /* 32px */;
|
154
|
-
// color: rgba(var(--ax-color-primary-500));
|
155
|
-
// }
|
156
|
-
}
|
157
|
-
|
158
|
-
// &:not(.ax-check-box) {
|
159
|
-
// &.ax-state-selected {
|
160
|
-
// }
|
161
|
-
// }
|
162
|
-
|
163
|
-
&.ax-state-disabled {
|
164
|
-
// @apply ax-cursor-not-allowed ax-opacity-50;
|
165
|
-
cursor: not-allowed;
|
166
|
-
opacity: 0.5;
|
167
|
-
}
|
168
|
-
|
169
|
-
&:focus-visible,
|
170
|
-
&:hover {
|
171
|
-
// @apply ax-bg-on-surface;
|
172
|
-
background-color: rgba(var(--ax-color-on-surface));
|
173
|
-
}
|
174
|
-
&.ax-state-focus {
|
175
|
-
// @apply ax-bg-on-surface;
|
176
|
-
background-color: rgba(var(--ax-color-on-surface));
|
177
|
-
}
|
178
|
-
}
|
179
|
-
}
|
180
|
-
|
181
|
-
.ax-list-loading-container {
|
182
|
-
// @apply ax-flex ax-justify-center ax-p-2;
|
183
|
-
display: flex;
|
184
|
-
justify-content: center;
|
185
|
-
padding: 0.5rem /* 8px */;
|
186
|
-
}
|
187
|
-
}
|
188
|
-
}
|
189
|
-
|
190
|
-
.ax-search-box-container {
|
191
|
-
// @apply ax-p-2;
|
192
|
-
padding: 0.5rem /* 8px */;
|
193
|
-
|
194
|
-
&.ax-state-hidden {
|
195
|
-
// @apply ax-hidden;
|
196
|
-
display: none;
|
197
|
-
}
|
198
|
-
}
|
199
|
-
}
|
1
|
+
@import '../mixins/index.scss';
|
2
|
+
@include darkMode() {
|
3
|
+
.ax-list-item {
|
4
|
+
&.ax-state-selected {
|
5
|
+
// @apply ax-bg-primary-800 ax-text-primary-fore #{!important};
|
6
|
+
background-color: rgba(var(--ax-color-primary-800)) !important;
|
7
|
+
color: rgba(var(--ax-color-primary-fore)) !important;
|
8
|
+
|
9
|
+
// .ax-selected-icon {
|
10
|
+
// // @apply ax-text-primary-fore;
|
11
|
+
// color: rgba(var(--ax-color-primary-fore));
|
12
|
+
// }
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
.ax-list {
|
17
|
+
// @apply ax-flex ax-h-full ax-flex-col ax-overflow-hidden ax-bg-surface ax-text-sm md:ax-max-h-80;
|
18
|
+
display: flex;
|
19
|
+
height: 100%;
|
20
|
+
flex-direction: column;
|
21
|
+
overflow: hidden;
|
22
|
+
background-color: rgba(var(--ax-color-surface));
|
23
|
+
font-size: 0.875rem /* 14px */;
|
24
|
+
line-height: 1.25rem /* 20px */;
|
25
|
+
@media (min-width: 768px) {
|
26
|
+
max-height: 20rem /* 320px */;
|
27
|
+
}
|
28
|
+
ax-header,
|
29
|
+
ax-footer {
|
30
|
+
// @apply ax-flex ax-items-center ax-justify-between ax-border-default ax-bg-surface;
|
31
|
+
display: flex;
|
32
|
+
align-items: center;
|
33
|
+
justify-content: space-between;
|
34
|
+
border-color: rgba(var(--ax-color-border-default), var(--tw-border-opacity));
|
35
|
+
background-color: rgba(var(--ax-color-surface), var(--tw-bg-opacity));
|
36
|
+
}
|
37
|
+
ax-header {
|
38
|
+
// @apply ax-border-b ax-border-default ax-p-4 ax-text-base ax-font-medium md:ax-text-lg;
|
39
|
+
border-bottom-width: 1px;
|
40
|
+
border-color: rgba(var(--ax-color-border-default), var(--tw-border-opacity));
|
41
|
+
padding: 1rem /* 16px */;
|
42
|
+
font-size: 1rem /* 16px */;
|
43
|
+
line-height: 1.5rem /* 24px */;
|
44
|
+
font-weight: 500;
|
45
|
+
@media (min-width: 768px) {
|
46
|
+
font-size: 1.125rem /* 18px */;
|
47
|
+
line-height: 1.75rem /* 28px */;
|
48
|
+
}
|
49
|
+
ax-prefix,
|
50
|
+
ax-suffix {
|
51
|
+
// @apply ax-flex ax-flex-col ax-justify-items-start;
|
52
|
+
display: flex;
|
53
|
+
flex-direction: column;
|
54
|
+
justify-items: start;
|
55
|
+
}
|
56
|
+
ax-prefix {
|
57
|
+
// @apply ax-items-start;
|
58
|
+
align-items: flex-start;
|
59
|
+
}
|
60
|
+
ax-suffix {
|
61
|
+
// @apply ax-items-end;
|
62
|
+
align-items: flex-end;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
ax-footer {
|
67
|
+
// @apply ax-border-t;
|
68
|
+
border-top-width: 1px;
|
69
|
+
}
|
70
|
+
|
71
|
+
.ax-content {
|
72
|
+
// @apply ax-flex-1 ax-overflow-y-auto ax-overflow-x-hidden;
|
73
|
+
flex: 1 1 0%;
|
74
|
+
overflow-y: auto;
|
75
|
+
overflow-x: hidden;
|
76
|
+
|
77
|
+
&.ax-list-items-container {
|
78
|
+
// @apply ax-h-full ax-overflow-y-auto ax-py-2;
|
79
|
+
height: 100%;
|
80
|
+
overflow-y: auto;
|
81
|
+
padding-top: 0.5rem /* 8px */;
|
82
|
+
padding-bottom: 0.5rem /* 8px */;
|
83
|
+
|
84
|
+
&.ax-vertical {
|
85
|
+
// @apply ax-grid ax-grid-cols-1;
|
86
|
+
display: grid;
|
87
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
88
|
+
|
89
|
+
&.ax-divide {
|
90
|
+
// @apply ax-border-y;
|
91
|
+
border-top-width: 1px;
|
92
|
+
border-bottom-width: 1px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
&.ax-default {
|
97
|
+
// @apply ax-cursor-pointer;
|
98
|
+
cursor: pointer;
|
99
|
+
|
100
|
+
.ax-list-item-group {
|
101
|
+
& > span {
|
102
|
+
// @apply ax-flex ax-items-center ax-p-3 ax-font-medium;
|
103
|
+
display: flex;
|
104
|
+
align-items: center;
|
105
|
+
padding: 0.75rem /* 12px */;
|
106
|
+
font-weight: 500;
|
107
|
+
}
|
108
|
+
|
109
|
+
& > ul {
|
110
|
+
// @apply ax-px-3;
|
111
|
+
padding-left: 0.75rem /* 12px */;
|
112
|
+
padding-right: 0.75rem /* 12px */;
|
113
|
+
}
|
114
|
+
.ax-list-item {
|
115
|
+
// @apply ax-mb-1 ax-rounded-default;
|
116
|
+
margin-bottom: 0.25rem /* 4px */;
|
117
|
+
border-radius: var(--ax-rounded-border-default);
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
.ax-list-item {
|
122
|
+
// @apply ax-relative ax-flex ax-h-default ax-select-none ax-items-center ax-justify-between ax-pe-4 ax-ps-3 ax-text-base;
|
123
|
+
position: relative;
|
124
|
+
display: flex;
|
125
|
+
height: var(--ax-size-default);
|
126
|
+
user-select: none;
|
127
|
+
align-items: center;
|
128
|
+
justify-content: space-between;
|
129
|
+
padding-inline-end: 1rem /* 16px */;
|
130
|
+
padding-inline-start: 0.75rem /* 12px */;
|
131
|
+
font-size: 1rem /* 16px */;
|
132
|
+
line-height: 1.5rem /* 24px */;
|
133
|
+
&:focus,
|
134
|
+
&:focus-visible {
|
135
|
+
// @apply ax-outline-2 ax-outline-offset-2;
|
136
|
+
outline-width: 2px;
|
137
|
+
outline-offset: 2px;
|
138
|
+
}
|
139
|
+
&.ax-state-checkbox {
|
140
|
+
.ax-checkbox-label {
|
141
|
+
// @apply ax-ms-2;
|
142
|
+
margin-inline-start: 0.5rem /* 8px */;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
&.ax-state-selected {
|
146
|
+
// @apply ax-bg-primary-500 ax-text-primary-fore #{!important};
|
147
|
+
background-color: rgba(var(--ax-color-primary-500), var(--tw-bg-opacity)) !important;
|
148
|
+
color: rgba(var(--ax-color-primary-fore), var(--tw-text-opacity)) !important;
|
149
|
+
|
150
|
+
// .ax-selected-icon {
|
151
|
+
// // @apply ax-text-2xl ax-text-primary-500;
|
152
|
+
// font-size: 1.5rem /* 24px */;
|
153
|
+
// line-height: 2rem /* 32px */;
|
154
|
+
// color: rgba(var(--ax-color-primary-500));
|
155
|
+
// }
|
156
|
+
}
|
157
|
+
|
158
|
+
// &:not(.ax-check-box) {
|
159
|
+
// &.ax-state-selected {
|
160
|
+
// }
|
161
|
+
// }
|
162
|
+
|
163
|
+
&.ax-state-disabled {
|
164
|
+
// @apply ax-cursor-not-allowed ax-opacity-50;
|
165
|
+
cursor: not-allowed;
|
166
|
+
opacity: 0.5;
|
167
|
+
}
|
168
|
+
|
169
|
+
&:focus-visible,
|
170
|
+
&:hover {
|
171
|
+
// @apply ax-bg-on-surface;
|
172
|
+
background-color: rgba(var(--ax-color-on-surface));
|
173
|
+
}
|
174
|
+
&.ax-state-focus {
|
175
|
+
// @apply ax-bg-on-surface;
|
176
|
+
background-color: rgba(var(--ax-color-on-surface));
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
.ax-list-loading-container {
|
182
|
+
// @apply ax-flex ax-justify-center ax-p-2;
|
183
|
+
display: flex;
|
184
|
+
justify-content: center;
|
185
|
+
padding: 0.5rem /* 8px */;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.ax-search-box-container {
|
191
|
+
// @apply ax-p-2;
|
192
|
+
padding: 0.5rem /* 8px */;
|
193
|
+
|
194
|
+
&.ax-state-hidden {
|
195
|
+
// @apply ax-hidden;
|
196
|
+
display: none;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|