@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
package/src/base/index.scss
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
@import '../mixins/index.scss';
|
2
|
-
|
3
|
-
:root {
|
4
|
-
--ax-overlay-full-width: 93;
|
5
|
-
--ax-color-white: 255, 255, 255;
|
6
|
-
--ax-color-black: 0, 0, 0;
|
7
|
-
}
|
8
|
-
|
9
|
-
html,
|
10
|
-
body {
|
11
|
-
background-color: rgba(var(--ax-color-background-default));
|
12
|
-
color: rgba(var(--ax-color-text-default));
|
13
|
-
}
|
1
|
+
@import '../mixins/index.scss';
|
2
|
+
|
3
|
+
:root {
|
4
|
+
--ax-overlay-full-width: 93;
|
5
|
+
--ax-color-white: 255, 255, 255;
|
6
|
+
--ax-color-black: 0, 0, 0;
|
7
|
+
}
|
8
|
+
|
9
|
+
html,
|
10
|
+
body {
|
11
|
+
background-color: rgba(var(--ax-color-background-default));
|
12
|
+
color: rgba(var(--ax-color-text-default));
|
13
|
+
}
|
package/src/mixins/_look.scss
CHANGED
@@ -1,83 +1,83 @@
|
|
1
|
-
@mixin solid-look() {
|
2
|
-
// @apply ax-rounded-default ax-border ax-border-default ax-bg-input-surface;
|
3
|
-
border-radius: var(--ax-rounded-border-default);
|
4
|
-
border-width: 1px;
|
5
|
-
border-color: rgba(var(--ax-color-border-default));
|
6
|
-
background-color: rgba(var(--ax-color-input-surface));
|
7
|
-
|
8
|
-
&:focus-within {
|
9
|
-
// @apply ax-border-primary ax-ring-1 ax-ring-primary-500;
|
10
|
-
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-primary-500));
|
11
|
-
border-color: rgba(var(--ax-color-primary-500));
|
12
|
-
}
|
13
|
-
|
14
|
-
&.ax-state-error {
|
15
|
-
// @apply ax-border-danger-500;
|
16
|
-
border-color: rgba(var(--ax-color-danger-500));
|
17
|
-
&:focus-within {
|
18
|
-
// @apply ax-ring-1 ax-ring-danger-500;
|
19
|
-
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-danger-500));
|
20
|
-
border-color: rgba(var(--ax-color-danger-500));
|
21
|
-
}
|
22
|
-
.ax-input {
|
23
|
-
&::placeholder {
|
24
|
-
color: rgba(var(--ax-color-danger-500));
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
}
|
29
|
-
@mixin flat-look() {
|
30
|
-
// @apply ax-rounded-none ax-border-b ax-border-default;
|
31
|
-
border-radius: 0px;
|
32
|
-
border-bottom-width: 1px;
|
33
|
-
border-color: rgba(var(--ax-color-border-default));
|
34
|
-
|
35
|
-
&:focus-within {
|
36
|
-
// @apply ax-border-primary-500;
|
37
|
-
border-color: rgba(var(--ax-color-primary-500));
|
38
|
-
}
|
39
|
-
&.ax-state-error {
|
40
|
-
// @apply ax-border-danger-500;
|
41
|
-
border-color: rgba(var(--ax-color-danger-500));
|
42
|
-
|
43
|
-
.ax-input {
|
44
|
-
&::placeholder {
|
45
|
-
// @apply ax-text-danger-500;
|
46
|
-
color: rgba(var(--ax-color-danger-500));
|
47
|
-
}
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
@mixin outline-look() {
|
53
|
-
// @apply ax-bg-transparent #{!important};
|
54
|
-
background-color: transparent !important;
|
55
|
-
}
|
56
|
-
|
57
|
-
@mixin fill-look() {
|
58
|
-
// @apply ax-rounded-default ax-bg-on-surface;
|
59
|
-
border-radius: var(--ax-rounded-border-default);
|
60
|
-
background-color: rgba(var(--ax-color-on-surface));
|
61
|
-
|
62
|
-
&:focus-within {
|
63
|
-
// @apply ax-ring-2 ax-ring-primary-500;
|
64
|
-
|
65
|
-
box-shadow: 0px 0px 0 2px rgba(var(--ax-color-primary-500));
|
66
|
-
}
|
67
|
-
&.ax-state-error {
|
68
|
-
// @apply ax-bg-danger-200 ax-text-danger-fore-tint;
|
69
|
-
background-color: rgba(var(--ax-color-danger-50));
|
70
|
-
color: rgba(var(--ax-color-danger-fore-tint));
|
71
|
-
|
72
|
-
&:focus-within {
|
73
|
-
// @apply ax-ring-2 ax-ring-primary-500;
|
74
|
-
box-shadow: 0px 0px 0 2px rgba(var(--ax-color-danger-500));
|
75
|
-
}
|
76
|
-
.ax-input {
|
77
|
-
&::placeholder {
|
78
|
-
// @apply ax-text-danger-500;
|
79
|
-
color: rgba(var(--ax-color-danger-500));
|
80
|
-
}
|
81
|
-
}
|
82
|
-
}
|
83
|
-
}
|
1
|
+
@mixin solid-look() {
|
2
|
+
// @apply ax-rounded-default ax-border ax-border-default ax-bg-input-surface;
|
3
|
+
border-radius: var(--ax-rounded-border-default);
|
4
|
+
border-width: 1px;
|
5
|
+
border-color: rgba(var(--ax-color-border-default));
|
6
|
+
background-color: rgba(var(--ax-color-input-surface));
|
7
|
+
|
8
|
+
&:focus-within {
|
9
|
+
// @apply ax-border-primary ax-ring-1 ax-ring-primary-500;
|
10
|
+
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-primary-500));
|
11
|
+
border-color: rgba(var(--ax-color-primary-500));
|
12
|
+
}
|
13
|
+
|
14
|
+
&.ax-state-error {
|
15
|
+
// @apply ax-border-danger-500;
|
16
|
+
border-color: rgba(var(--ax-color-danger-500));
|
17
|
+
&:focus-within {
|
18
|
+
// @apply ax-ring-1 ax-ring-danger-500;
|
19
|
+
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-danger-500));
|
20
|
+
border-color: rgba(var(--ax-color-danger-500));
|
21
|
+
}
|
22
|
+
.ax-input {
|
23
|
+
&::placeholder {
|
24
|
+
color: rgba(var(--ax-color-danger-500));
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
@mixin flat-look() {
|
30
|
+
// @apply ax-rounded-none ax-border-b ax-border-default;
|
31
|
+
border-radius: 0px;
|
32
|
+
border-bottom-width: 1px;
|
33
|
+
border-color: rgba(var(--ax-color-border-default));
|
34
|
+
|
35
|
+
&:focus-within {
|
36
|
+
// @apply ax-border-primary-500;
|
37
|
+
border-color: rgba(var(--ax-color-primary-500));
|
38
|
+
}
|
39
|
+
&.ax-state-error {
|
40
|
+
// @apply ax-border-danger-500;
|
41
|
+
border-color: rgba(var(--ax-color-danger-500));
|
42
|
+
|
43
|
+
.ax-input {
|
44
|
+
&::placeholder {
|
45
|
+
// @apply ax-text-danger-500;
|
46
|
+
color: rgba(var(--ax-color-danger-500));
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
@mixin outline-look() {
|
53
|
+
// @apply ax-bg-transparent #{!important};
|
54
|
+
background-color: transparent !important;
|
55
|
+
}
|
56
|
+
|
57
|
+
@mixin fill-look() {
|
58
|
+
// @apply ax-rounded-default ax-bg-on-surface;
|
59
|
+
border-radius: var(--ax-rounded-border-default);
|
60
|
+
background-color: rgba(var(--ax-color-on-surface));
|
61
|
+
|
62
|
+
&:focus-within {
|
63
|
+
// @apply ax-ring-2 ax-ring-primary-500;
|
64
|
+
|
65
|
+
box-shadow: 0px 0px 0 2px rgba(var(--ax-color-primary-500));
|
66
|
+
}
|
67
|
+
&.ax-state-error {
|
68
|
+
// @apply ax-bg-danger-200 ax-text-danger-fore-tint;
|
69
|
+
background-color: rgba(var(--ax-color-danger-50));
|
70
|
+
color: rgba(var(--ax-color-danger-fore-tint));
|
71
|
+
|
72
|
+
&:focus-within {
|
73
|
+
// @apply ax-ring-2 ax-ring-primary-500;
|
74
|
+
box-shadow: 0px 0px 0 2px rgba(var(--ax-color-danger-500));
|
75
|
+
}
|
76
|
+
.ax-input {
|
77
|
+
&::placeholder {
|
78
|
+
// @apply ax-text-danger-500;
|
79
|
+
color: rgba(var(--ax-color-danger-500));
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
package/src/mixins/_media.scss
CHANGED
@@ -1,73 +1,73 @@
|
|
1
|
-
@mixin media($media) {
|
2
|
-
// phone -> xs
|
3
|
-
@if $media == 'xs' {
|
4
|
-
@media (min-width: 320px) and (max-width: 600px) {
|
5
|
-
@content;
|
6
|
-
}
|
7
|
-
}
|
8
|
-
|
9
|
-
// tablet -> md
|
10
|
-
@if $media == 'md' {
|
11
|
-
@media (min-width: 768px) {
|
12
|
-
@content;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
// tablet-landscape -> lg
|
17
|
-
@if $media == 'lg' {
|
18
|
-
@media (min-width: 1024px) {
|
19
|
-
@content;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
// desktop -> xl
|
24
|
-
@if $media == 'xl' {
|
25
|
-
@media (min-width: 1280px) {
|
26
|
-
@content;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
// desktop-large -> 2xl
|
31
|
-
@if $media == '2xl' {
|
32
|
-
@media (min-width: 1536px) {
|
33
|
-
@content;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
@mixin mediaLessThan($media) {
|
39
|
-
// phone -> xs
|
40
|
-
@if $media == 'xs' {
|
41
|
-
@media screen and (max-width: 600px) {
|
42
|
-
@content;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
// tablet -> md
|
47
|
-
@if $media == 'md' {
|
48
|
-
@media screen and (max-width: 768px) {
|
49
|
-
@content;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
// tablet-landscape -> lg
|
54
|
-
@if $media == 'lg' {
|
55
|
-
@media screen and (max-width: 1024px) {
|
56
|
-
@content;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
// desktop -> xl
|
61
|
-
@if $media == 'xl' {
|
62
|
-
@media screen and (max-width: 1280px) {
|
63
|
-
@content;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
// desktop-large -> 2xl
|
68
|
-
@if $media == '2xl' {
|
69
|
-
@media screen and (max-width: 1536px) {
|
70
|
-
@content;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
}
|
1
|
+
@mixin media($media) {
|
2
|
+
// phone -> xs
|
3
|
+
@if $media == 'xs' {
|
4
|
+
@media (min-width: 320px) and (max-width: 600px) {
|
5
|
+
@content;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
// tablet -> md
|
10
|
+
@if $media == 'md' {
|
11
|
+
@media (min-width: 768px) {
|
12
|
+
@content;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
// tablet-landscape -> lg
|
17
|
+
@if $media == 'lg' {
|
18
|
+
@media (min-width: 1024px) {
|
19
|
+
@content;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// desktop -> xl
|
24
|
+
@if $media == 'xl' {
|
25
|
+
@media (min-width: 1280px) {
|
26
|
+
@content;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
// desktop-large -> 2xl
|
31
|
+
@if $media == '2xl' {
|
32
|
+
@media (min-width: 1536px) {
|
33
|
+
@content;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@mixin mediaLessThan($media) {
|
39
|
+
// phone -> xs
|
40
|
+
@if $media == 'xs' {
|
41
|
+
@media screen and (max-width: 600px) {
|
42
|
+
@content;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
// tablet -> md
|
47
|
+
@if $media == 'md' {
|
48
|
+
@media screen and (max-width: 768px) {
|
49
|
+
@content;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
// tablet-landscape -> lg
|
54
|
+
@if $media == 'lg' {
|
55
|
+
@media screen and (max-width: 1024px) {
|
56
|
+
@content;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
// desktop -> xl
|
61
|
+
@if $media == 'xl' {
|
62
|
+
@media screen and (max-width: 1280px) {
|
63
|
+
@content;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
// desktop-large -> 2xl
|
68
|
+
@if $media == '2xl' {
|
69
|
+
@media screen and (max-width: 1536px) {
|
70
|
+
@content;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
package/src/mixins/_util.scss
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
@mixin darkMode() {
|
2
|
-
.ax-dark {
|
3
|
-
@content;
|
4
|
-
}
|
5
|
-
}
|
6
|
-
@mixin direction($dir) {
|
7
|
-
html {
|
8
|
-
@if ($dir == 'rtl') {
|
9
|
-
&[dir='rtl'] {
|
10
|
-
@content;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
@if ($dir == 'ltr') {
|
14
|
-
&[dir='ltr'] {
|
15
|
-
@content;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
1
|
+
@mixin darkMode() {
|
2
|
+
.ax-dark {
|
3
|
+
@content;
|
4
|
+
}
|
5
|
+
}
|
6
|
+
@mixin direction($dir) {
|
7
|
+
html {
|
8
|
+
@if ($dir == 'rtl') {
|
9
|
+
&[dir='rtl'] {
|
10
|
+
@content;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
@if ($dir == 'ltr') {
|
14
|
+
&[dir='ltr'] {
|
15
|
+
@content;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
package/src/mixins/index.scss
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
@import './look';
|
2
|
-
@import './media';
|
3
|
-
@import './util';
|
1
|
+
@import './look';
|
2
|
+
@import './media';
|
3
|
+
@import './util';
|
@@ -1,109 +1,109 @@
|
|
1
|
-
.ax-action-list {
|
2
|
-
&.ax-action-list-horizontal {
|
3
|
-
display: flex;
|
4
|
-
flex-direction: row;
|
5
|
-
|
6
|
-
ax-divider {
|
7
|
-
margin-inline: 0.25rem;
|
8
|
-
width: 1px;
|
9
|
-
height: auto;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
&.ax-action-list-vertical {
|
13
|
-
display: flex;
|
14
|
-
flex-direction: column;
|
15
|
-
|
16
|
-
.ax-action-item {
|
17
|
-
& > div {
|
18
|
-
&.ax-action-item-prefix {
|
19
|
-
ax-prefix {
|
20
|
-
min-width: 1rem;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
ax-divider {
|
27
|
-
margin-block: 0.25rem;
|
28
|
-
height: 1px;
|
29
|
-
width: 100%;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
ax-title {
|
34
|
-
display: block;
|
35
|
-
padding-inline: 0.875rem;
|
36
|
-
padding-block: 0.25rem;
|
37
|
-
font-size: 0.75rem;
|
38
|
-
line-height: 1rem;
|
39
|
-
font-weight: bolder;
|
40
|
-
text-transform: uppercase;
|
41
|
-
opacity: 0.5;
|
42
|
-
}
|
43
|
-
|
44
|
-
ax-divider {
|
45
|
-
display: block;
|
46
|
-
background-color: rgba(var(--ax-color-border-default));
|
47
|
-
}
|
48
|
-
|
49
|
-
.ax-action-item {
|
50
|
-
display: flex;
|
51
|
-
align-items: center;
|
52
|
-
justify-content: space-between;
|
53
|
-
font-size: 0.875rem;
|
54
|
-
line-height: 1.25rem;
|
55
|
-
height: 2.25rem;
|
56
|
-
width: 100%;
|
57
|
-
cursor: pointer;
|
58
|
-
padding-inline-end: 1rem;
|
59
|
-
&.ax-state-disabled {
|
60
|
-
cursor: not-allowed;
|
61
|
-
opacity: 0.5;
|
62
|
-
}
|
63
|
-
|
64
|
-
&:hover {
|
65
|
-
&:not(&.ax-state-disabled) {
|
66
|
-
background-color: rgba(var(--ax-color-on-surface));
|
67
|
-
ax-prefix,
|
68
|
-
ax-suffix {
|
69
|
-
opacity: 1;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
& > div {
|
75
|
-
display: flex;
|
76
|
-
align-items: center;
|
77
|
-
justify-content: center;
|
78
|
-
|
79
|
-
&.ax-action-item-prefix {
|
80
|
-
padding-inline-start: 0.875rem;
|
81
|
-
& > ax-text {
|
82
|
-
padding-inline-start: 0.5rem;
|
83
|
-
white-space: nowrap;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
&.ax-action-item-suffix {
|
88
|
-
&:not(&:empty) {
|
89
|
-
padding-inline-end: 0.875rem;
|
90
|
-
margin-inline-start: 1rem;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
ax-prefix {
|
96
|
-
display: flex;
|
97
|
-
gap: 0.5rem;
|
98
|
-
}
|
99
|
-
|
100
|
-
ax-suffix {
|
101
|
-
ax-text {
|
102
|
-
color: rgba(var(--ax-color-text-default));
|
103
|
-
opacity: 0.5;
|
104
|
-
font-weight: lighter;
|
105
|
-
padding-inline: 0.5rem;
|
106
|
-
}
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
1
|
+
.ax-action-list {
|
2
|
+
&.ax-action-list-horizontal {
|
3
|
+
display: flex;
|
4
|
+
flex-direction: row;
|
5
|
+
|
6
|
+
ax-divider {
|
7
|
+
margin-inline: 0.25rem;
|
8
|
+
width: 1px;
|
9
|
+
height: auto;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
&.ax-action-list-vertical {
|
13
|
+
display: flex;
|
14
|
+
flex-direction: column;
|
15
|
+
|
16
|
+
.ax-action-item {
|
17
|
+
& > div {
|
18
|
+
&.ax-action-item-prefix {
|
19
|
+
ax-prefix {
|
20
|
+
min-width: 1rem;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
ax-divider {
|
27
|
+
margin-block: 0.25rem;
|
28
|
+
height: 1px;
|
29
|
+
width: 100%;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
ax-title {
|
34
|
+
display: block;
|
35
|
+
padding-inline: 0.875rem;
|
36
|
+
padding-block: 0.25rem;
|
37
|
+
font-size: 0.75rem;
|
38
|
+
line-height: 1rem;
|
39
|
+
font-weight: bolder;
|
40
|
+
text-transform: uppercase;
|
41
|
+
opacity: 0.5;
|
42
|
+
}
|
43
|
+
|
44
|
+
ax-divider {
|
45
|
+
display: block;
|
46
|
+
background-color: rgba(var(--ax-color-border-default));
|
47
|
+
}
|
48
|
+
|
49
|
+
.ax-action-item {
|
50
|
+
display: flex;
|
51
|
+
align-items: center;
|
52
|
+
justify-content: space-between;
|
53
|
+
font-size: 0.875rem;
|
54
|
+
line-height: 1.25rem;
|
55
|
+
height: 2.25rem;
|
56
|
+
width: 100%;
|
57
|
+
cursor: pointer;
|
58
|
+
padding-inline-end: 1rem;
|
59
|
+
&.ax-state-disabled {
|
60
|
+
cursor: not-allowed;
|
61
|
+
opacity: 0.5;
|
62
|
+
}
|
63
|
+
|
64
|
+
&:hover {
|
65
|
+
&:not(&.ax-state-disabled, &.ax-state-selected) {
|
66
|
+
background-color: rgba(var(--ax-color-on-surface));
|
67
|
+
ax-prefix,
|
68
|
+
ax-suffix {
|
69
|
+
opacity: 1;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
& > div {
|
75
|
+
display: flex;
|
76
|
+
align-items: center;
|
77
|
+
justify-content: center;
|
78
|
+
|
79
|
+
&.ax-action-item-prefix {
|
80
|
+
padding-inline-start: 0.875rem;
|
81
|
+
& > ax-text {
|
82
|
+
padding-inline-start: 0.5rem;
|
83
|
+
white-space: nowrap;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
&.ax-action-item-suffix {
|
88
|
+
&:not(&:empty) {
|
89
|
+
padding-inline-end: 0.875rem;
|
90
|
+
margin-inline-start: 1rem;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
ax-prefix {
|
96
|
+
display: flex;
|
97
|
+
gap: 0.5rem;
|
98
|
+
}
|
99
|
+
|
100
|
+
ax-suffix {
|
101
|
+
ax-text {
|
102
|
+
color: rgba(var(--ax-color-text-default));
|
103
|
+
opacity: 0.5;
|
104
|
+
font-weight: lighter;
|
105
|
+
padding-inline: 0.5rem;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
@@ -1,20 +1,20 @@
|
|
1
|
-
.ax-actionsheet-panel {
|
2
|
-
// @apply ax-animate-fadeInUp ax-overflow-hidden ax-rounded-t-default ax-bg-surface ax-shadow-lg ax-animate-2xfaster;
|
3
|
-
overflow: hidden;
|
4
|
-
border-top-left-radius: var(--ax-rounded-border-default);
|
5
|
-
border-top-right-radius: var(--ax-rounded-border-default);
|
6
|
-
background-color: rgba(var(--ax-color-surface));
|
7
|
-
--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
8
|
-
--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color), 0 4px 6px -4px var(--ax-shadow-color);
|
9
|
-
box-shadow: var(--ax-ring-offset-shadow, 0 0 #0000), var(--ax-ring-shadow, 0 0 #0000), var(--ax-shadow);
|
10
|
-
|
11
|
-
animation: 1s both ax-fadeInUp;
|
12
|
-
animation-duration: 250ms;
|
13
|
-
|
14
|
-
@keyframes ax-fadeInUp {
|
15
|
-
from {
|
16
|
-
transform: translate3d(0, 100%, 0);
|
17
|
-
opacity: 0;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
1
|
+
.ax-actionsheet-panel {
|
2
|
+
// @apply ax-animate-fadeInUp ax-overflow-hidden ax-rounded-t-default ax-bg-surface ax-shadow-lg ax-animate-2xfaster;
|
3
|
+
overflow: hidden;
|
4
|
+
border-top-left-radius: var(--ax-rounded-border-default);
|
5
|
+
border-top-right-radius: var(--ax-rounded-border-default);
|
6
|
+
background-color: rgba(var(--ax-color-surface));
|
7
|
+
--ax-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
8
|
+
--ax-shadow-colored: 0 10px 15px -3px var(--ax-shadow-color), 0 4px 6px -4px var(--ax-shadow-color);
|
9
|
+
box-shadow: var(--ax-ring-offset-shadow, 0 0 #0000), var(--ax-ring-shadow, 0 0 #0000), var(--ax-shadow);
|
10
|
+
|
11
|
+
animation: 1s both ax-fadeInUp;
|
12
|
+
animation-duration: 250ms;
|
13
|
+
|
14
|
+
@keyframes ax-fadeInUp {
|
15
|
+
from {
|
16
|
+
transform: translate3d(0, 100%, 0);
|
17
|
+
opacity: 0;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|