@acorex/styles 7.0.5 → 7.0.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/index.scss +0 -1
- package/package.json +1 -1
- package/src/shared/_utils.scss +0 -1
- package/src/utility/_mixins.scss +0 -67
- package/src/components/_action-sheet.scss +0 -24
- package/src/components/_avatar.scss +0 -124
- package/src/components/_badge.scss +0 -184
- package/src/components/_breadcrumbs.scss +0 -30
- package/src/components/_button copy.scss +0 -924
- package/src/components/_button.scss +0 -0
- package/src/components/_calendar.scss +0 -182
- package/src/components/_carousel.scss +0 -44
- package/src/components/_checkbox.scss +0 -58
- package/src/components/_collapse.scss +0 -51
- package/src/components/_color-palette.scss +0 -126
- package/src/components/_color-picker.scss +0 -28
- package/src/components/_context-menu.scss +0 -3
- package/src/components/_data-table.scss +0 -41
- package/src/components/_datapager.scss +0 -49
- package/src/components/_datepicker.scss +0 -5
- package/src/components/_decoration.scss +0 -0
- package/src/components/_dialog.scss +0 -83
- package/src/components/_drawer.scss +0 -113
- package/src/components/_dropdown.scss +0 -162
- package/src/components/_editor-container.scss +0 -0
- package/src/components/_fieldset.scss +0 -3
- package/src/components/_form.scss +0 -8
- package/src/components/_image.scss +0 -24
- package/src/components/_input.scss +0 -14
- package/src/components/_label.scss +0 -7
- package/src/components/_list.scss +0 -0
- package/src/components/_loading.scss +0 -3
- package/src/components/_menu copy.scss +0 -96
- package/src/components/_menu.scss +0 -117
- package/src/components/_numberbox.scss +0 -15
- package/src/components/_popup.scss +0 -106
- package/src/components/_progress.scss +0 -60
- package/src/components/_radio.scss +0 -32
- package/src/components/_range-slider.scss +0 -232
- package/src/components/_rating.scss +0 -14
- package/src/components/_result.scss +0 -24
- package/src/components/_selectbox.scss +0 -16
- package/src/components/_selection-list.scss +0 -54
- package/src/components/_skeleton.scss +0 -22
- package/src/components/_switch.scss +0 -0
- package/src/components/_table.scss +0 -0
- package/src/components/_tabs copy.scss +0 -235
- package/src/components/_tabs.scss +0 -235
- package/src/components/_textarea.scss +0 -31
- package/src/components/_toast.scss +0 -8
- package/src/components/_tooltip.scss +0 -44
- package/src/components/_treeview.scss +0 -0
- package/src/components/_uploader.scss +0 -0
- package/src/components/index.scss +0 -1
@@ -1,83 +0,0 @@
|
|
1
|
-
// @layer components {
|
2
|
-
// .ax-dialog {
|
3
|
-
// @apply ax-grid ax-grid-cols-12 ax-gap-4 ax-px-6 ax-py-5 ax-relative ax-bg-white ax-shadow-md ax-border ax-border-solid ax-border-neutral-300 ax-rounded-lg ax-outline-none ax-overflow-hidden;
|
4
|
-
// width: 25vw;
|
5
|
-
// background-color: #fff;
|
6
|
-
// @include control-states("surface");
|
7
|
-
// // @include screen("mobile"){
|
8
|
-
// // width: calc(var(--ax-overlay-full-width) * 1vw);
|
9
|
-
// // }
|
10
|
-
// // @include screen("tablet"){
|
11
|
-
// // width: 60vw;
|
12
|
-
// // }
|
13
|
-
// // @include screen("laptop"){
|
14
|
-
// // width: 25vw;
|
15
|
-
// // }
|
16
|
-
// // @include screen("extraSmall"){
|
17
|
-
// // width: 95vw;
|
18
|
-
// // }
|
19
|
-
|
20
|
-
// @include media('phone'){
|
21
|
-
// width: 98vw;
|
22
|
-
// }
|
23
|
-
// @include media('tablet'){
|
24
|
-
// width: 75vw;
|
25
|
-
// }
|
26
|
-
// @include media('desktop'){
|
27
|
-
// width: 30vw;
|
28
|
-
// }
|
29
|
-
// @include media('desktop-large'){
|
30
|
-
// width: 33vw;
|
31
|
-
// }
|
32
|
-
|
33
|
-
// .ax-dialog-icon-side {
|
34
|
-
// @apply ax-flex ax-justify-center ax-col-span-2;
|
35
|
-
// .ax-dialog-icon {
|
36
|
-
// min-width: 3rem;
|
37
|
-
// @apply ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-cursor-move ax-text-2xl;
|
38
|
-
// }
|
39
|
-
// }
|
40
|
-
// .ax-dialog-content-side {
|
41
|
-
// @apply ax-col-span-9;
|
42
|
-
// .ax-dialog-title {
|
43
|
-
// @apply ax-text-lg ax-font-bold ax-text-neutral-700 dark:ax-text-neutral-100;
|
44
|
-
// }
|
45
|
-
// .ax-dialog-content {
|
46
|
-
// @apply ax-text-sm ax-my-1.5 ax-text-neutral-500 dark:ax-text-neutral-200;
|
47
|
-
// }
|
48
|
-
// }
|
49
|
-
// .ax-dialog-dismiss-icon {
|
50
|
-
// @apply ax-col-span-1;
|
51
|
-
// @apply ax-cursor-pointer ax-text-neutral-400 ax--mt-2.5;
|
52
|
-
// }
|
53
|
-
// .ax-footer {
|
54
|
-
// @apply ax-flex ax-gap-2 ax-col-span-12 ax-justify-end;
|
55
|
-
// }
|
56
|
-
// &.ax-primary-default {
|
57
|
-
// .ax-dialog-icon {
|
58
|
-
// @apply ax-text-primary-500 ax-bg-primary-50 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
|
59
|
-
// }
|
60
|
-
// }
|
61
|
-
// &.ax-success-default {
|
62
|
-
// .ax-dialog-icon {
|
63
|
-
// @apply ax-text-success-500 ax-bg-success-50 dark:ax-bg-success-500 dark:ax-text-success-fore;
|
64
|
-
// }
|
65
|
-
// }
|
66
|
-
// &.ax-danger-default {
|
67
|
-
// .ax-dialog-icon {
|
68
|
-
// @apply ax-text-danger-500 ax-bg-danger-50 dark:ax-bg-danger-500 dark:ax-text-danger-fore;
|
69
|
-
// }
|
70
|
-
// }
|
71
|
-
// &.ax-warning-default {
|
72
|
-
// .ax-dialog-icon {
|
73
|
-
// @apply ax-text-warning-500 ax-bg-warning-50 dark:ax-bg-warning-500 dark:ax-text-warning-fore;
|
74
|
-
// }
|
75
|
-
// }
|
76
|
-
// &.ax-primary-default {
|
77
|
-
// .ax-dialog-icon {
|
78
|
-
// @apply ax-text-primary-500 ax-bg-primary-50 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
|
79
|
-
// }
|
80
|
-
// }
|
81
|
-
// }
|
82
|
-
|
83
|
-
// }
|
@@ -1,113 +0,0 @@
|
|
1
|
-
// @layer components {
|
2
|
-
// .ax-drawer-container {
|
3
|
-
// @apply ax-flex ax-relative ax-w-full ax-h-full ax-overflow-hidden;
|
4
|
-
|
5
|
-
// &.ax-fixed {
|
6
|
-
// @apply ax-hidden ax-top-0 ax-right-0 ax-left-0 ax-bottom-0 ax-z-[1000];
|
7
|
-
|
8
|
-
// &.ax-visible {
|
9
|
-
// @apply ax-flex;
|
10
|
-
// }
|
11
|
-
// }
|
12
|
-
|
13
|
-
// .ax-backdrop {
|
14
|
-
// @apply ax-bg-black/30 ax-absolute ax-w-full ax-h-full ax-z-[1] ax-top-0 ax-bottom-0 ax-transition-all;
|
15
|
-
// }
|
16
|
-
|
17
|
-
// ax-drawer {
|
18
|
-
// @apply ax-flex ax-flex-col ax-max-w-[95%] ax-h-full ax-animate-duration-300 ax-transition-all #{!important};
|
19
|
-
// .ax-header,
|
20
|
-
// .ax-footer {
|
21
|
-
// @apply ax-p-3 ax-border-neutral-300 dark:ax-border-neutral-700 ;
|
22
|
-
// }
|
23
|
-
// .ax-footer
|
24
|
-
// {
|
25
|
-
// @apply ax-border-t;
|
26
|
-
// }
|
27
|
-
// .ax-header
|
28
|
-
// {
|
29
|
-
// @apply ax-border-b;
|
30
|
-
// }
|
31
|
-
// &.ax-preload {
|
32
|
-
// @apply ax-animate-duration-[0ms] ax-transition-none #{!important};
|
33
|
-
// }
|
34
|
-
|
35
|
-
|
36
|
-
// &>.ax-content
|
37
|
-
// {
|
38
|
-
// @apply ax-overflow-auto ax-bg-white ax-flex-1 ax-h-full ax-text-neutral-500;
|
39
|
-
// @include control-states("surface");
|
40
|
-
|
41
|
-
// }
|
42
|
-
|
43
|
-
// &.ax-drawer-overlay {
|
44
|
-
// @apply ax-absolute;
|
45
|
-
|
46
|
-
// &.ax-expanded {
|
47
|
-
// @apply ax-z-[2];
|
48
|
-
// }
|
49
|
-
|
50
|
-
// &.ax-collapsed {
|
51
|
-
// @apply ax-z-[0];
|
52
|
-
// }
|
53
|
-
|
54
|
-
// &.ax-drawer-start {
|
55
|
-
|
56
|
-
// &.ax-expanded {
|
57
|
-
// @apply ax-start-0;
|
58
|
-
// }
|
59
|
-
|
60
|
-
// &.ax-collapsed {
|
61
|
-
// inset-inline-start: calc(-1 * var(--ax-el-width));
|
62
|
-
// }
|
63
|
-
|
64
|
-
// }
|
65
|
-
|
66
|
-
// &.ax-drawer-end {
|
67
|
-
|
68
|
-
// &.ax-expanded {
|
69
|
-
// @apply ax-end-0;
|
70
|
-
// }
|
71
|
-
|
72
|
-
// &.ax-collapsed {
|
73
|
-
// inset-inline-end: calc(-1 * var(--ax-el-width));
|
74
|
-
// }
|
75
|
-
// }
|
76
|
-
// }
|
77
|
-
|
78
|
-
// &.ax-drawer-push {
|
79
|
-
// @apply ax-flex-initial;
|
80
|
-
|
81
|
-
// &.ax-drawer-start {
|
82
|
-
// @apply ax-order-first;
|
83
|
-
|
84
|
-
// &.ax-expanded {
|
85
|
-
// margin-inline-start: 0%
|
86
|
-
// }
|
87
|
-
|
88
|
-
// &.ax-collapsed {
|
89
|
-
// margin-inline-start: calc(-1 * var(--ax-el-width));
|
90
|
-
// }
|
91
|
-
|
92
|
-
// }
|
93
|
-
|
94
|
-
// &.ax-drawer-end {
|
95
|
-
// @apply ax-order-last;
|
96
|
-
|
97
|
-
// &.ax-expanded {
|
98
|
-
// margin-inline-end: 0%;
|
99
|
-
// }
|
100
|
-
|
101
|
-
// &.ax-collapsed {
|
102
|
-
// margin-inline-end: calc(-1 * var(--ax-el-width));
|
103
|
-
// }
|
104
|
-
// }
|
105
|
-
// }
|
106
|
-
|
107
|
-
// }
|
108
|
-
|
109
|
-
// &>.ax-content {
|
110
|
-
// @apply ax-flex-1 ax-h-full ax-overflow-auto;
|
111
|
-
// }
|
112
|
-
// }
|
113
|
-
// }
|
@@ -1,162 +0,0 @@
|
|
1
|
-
// @layer components {
|
2
|
-
// ax-drop-down,
|
3
|
-
// .ax-drop-down {
|
4
|
-
// @apply ax-contents;
|
5
|
-
// .ax-dropdown-content {
|
6
|
-
// @apply ax-flex ax-flex-auto ax-text-sm ax-overflow-y-hidden ax-overscroll-x-auto ax-items-center;
|
7
|
-
// &.ax-state-disabled {
|
8
|
-
// @include control-states("editor-disabled");
|
9
|
-
// }
|
10
|
-
// }
|
11
|
-
// }
|
12
|
-
|
13
|
-
// .ax-overlay-pane {
|
14
|
-
// @apply ax-bg-white ax-border ax-rounded ax-border-neutral-200 ax-shadow-lg;
|
15
|
-
// @include control-states("surface");
|
16
|
-
// .ax-header,
|
17
|
-
// .ax-footer {
|
18
|
-
// @apply ax-bg-white ax-p-3 ax-border-neutral-300 dark:ax-border-neutral-700;
|
19
|
-
// @include control-states("editor");
|
20
|
-
// }
|
21
|
-
// .ax-footer {
|
22
|
-
// @apply ax-border-t;
|
23
|
-
// }
|
24
|
-
// .ax-header {
|
25
|
-
// @apply ax-border-b;
|
26
|
-
// }
|
27
|
-
// @include screen(mobile) {
|
28
|
-
// @apply ax-rounded-b-none;
|
29
|
-
// }
|
30
|
-
|
31
|
-
// &.ax-overlay-center {
|
32
|
-
// @apply ax-h-fit;
|
33
|
-
// max-height: 90vh;
|
34
|
-
// width: 80vw;
|
35
|
-
// }
|
36
|
-
|
37
|
-
// &.ax-overlay-actionsheet {
|
38
|
-
// @apply ax-w-full ax-h-auto ax-bg-white;
|
39
|
-
// @include control-states("surface");
|
40
|
-
// max-height: 85vh;
|
41
|
-
// &.ax-full {
|
42
|
-
// max-height: 95vh;
|
43
|
-
// height: 95vh;
|
44
|
-
// }
|
45
|
-
// }
|
46
|
-
|
47
|
-
// &.ax-overlay-full {
|
48
|
-
// @apply ax-w-screen ax-h-screen;
|
49
|
-
// }
|
50
|
-
|
51
|
-
// &.ax-dropdown-list {
|
52
|
-
// @apply ax-border ax-border-solid ax-flex ax-flex-col ax-py-1 ax-rounded ax-shadow-sm;
|
53
|
-
|
54
|
-
// .ax-button-item {
|
55
|
-
// height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
56
|
-
// line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2) !important;
|
57
|
-
// @apply ax-relative ax-inline-flex ax-items-center ax-justify-start ax-px-4 ax-py-2 ax-text-sm ax-text-neutral-600 ax-cursor-pointer ax-select-none;
|
58
|
-
|
59
|
-
// &.ax-divide {
|
60
|
-
// @apply ax-border-t ax-border ax-border-solid;
|
61
|
-
// }
|
62
|
-
|
63
|
-
// &.ax-state-disabled {
|
64
|
-
// @apply ax-cursor-not-allowed ax-opacity-60;
|
65
|
-
// }
|
66
|
-
|
67
|
-
// .ax-prefix {
|
68
|
-
// @apply ax-flex ax-flex-row ax-pe-2;
|
69
|
-
// }
|
70
|
-
|
71
|
-
// .ax-suffix {
|
72
|
-
// @apply ax-flex ax-flex-row ax-ps-2;
|
73
|
-
// }
|
74
|
-
|
75
|
-
// &.ax-primary-default {
|
76
|
-
// @apply ax-bg-transparent ax-text-primary-500 ax-border-transparent;
|
77
|
-
|
78
|
-
// &:hover,
|
79
|
-
// &:focus {
|
80
|
-
// @apply ax-bg-primary-50 ax-text-primary-600 dark:ax-bg-primary-500 dark:ax-text-primary-100;
|
81
|
-
// }
|
82
|
-
|
83
|
-
// &:active {
|
84
|
-
// @apply ax-bg-primary-100 ax-text-primary-700 dark:ax-bg-primary-600 dark:ax-text-primary-100;
|
85
|
-
// }
|
86
|
-
|
87
|
-
// &.ax-state-selected {
|
88
|
-
// @apply ax-bg-primary-200 dark:ax-bg-primary-600 dark:ax-text-primary-100;
|
89
|
-
// }
|
90
|
-
// }
|
91
|
-
|
92
|
-
// &.ax-secondary-default {
|
93
|
-
// @apply ax-bg-transparent ax-text-secondary-500 ax-border-transparent;
|
94
|
-
|
95
|
-
// &:hover,
|
96
|
-
// &:focus {
|
97
|
-
// @apply ax-bg-secondary-50 ax-text-secondary-600 dark:ax-bg-secondary-500 dark:ax-text-secondary-100;
|
98
|
-
// }
|
99
|
-
|
100
|
-
// &:active {
|
101
|
-
// @apply ax-bg-secondary-100 ax-text-secondary-700 dark:ax-bg-secondary-600 dark:ax-text-secondary-100;
|
102
|
-
// }
|
103
|
-
|
104
|
-
// &.ax-state-selected {
|
105
|
-
// @apply ax-bg-secondary-200 dark:ax-bg-secondary-600 dark:ax-text-secondary-100;
|
106
|
-
// }
|
107
|
-
// }
|
108
|
-
|
109
|
-
// &.ax-warning-default {
|
110
|
-
// @apply ax-bg-transparent ax-text-warning-500 ax-border-transparent;
|
111
|
-
|
112
|
-
// &:hover,
|
113
|
-
// &:focus {
|
114
|
-
// @apply ax-bg-warning-50 ax-text-warning-600 dark:ax-bg-warning-500 dark:ax-text-warning-100;
|
115
|
-
// }
|
116
|
-
|
117
|
-
// &:active {
|
118
|
-
// @apply ax-bg-warning-100 ax-text-warning-700 dark:ax-bg-warning-600 dark:ax-text-warning-100;
|
119
|
-
// }
|
120
|
-
|
121
|
-
// &.ax-state-selected {
|
122
|
-
// @apply ax-bg-warning-200 dark:ax-bg-warning-600 dark:ax-text-warning-100;
|
123
|
-
// }
|
124
|
-
// }
|
125
|
-
|
126
|
-
// &.ax-danger-default {
|
127
|
-
// @apply ax-bg-transparent ax-text-danger-500 ax-border-transparent;
|
128
|
-
|
129
|
-
// &:hover,
|
130
|
-
// &:focus {
|
131
|
-
// @apply ax-bg-danger-50 ax-text-danger-600 dark:ax-bg-danger-500 dark:ax-text-danger-100;
|
132
|
-
// }
|
133
|
-
|
134
|
-
// &:active {
|
135
|
-
// @apply ax-bg-danger-100 ax-text-danger-700 dark:ax-bg-danger-600 dark:ax-text-danger-100;
|
136
|
-
// }
|
137
|
-
|
138
|
-
// &.ax-state-selected {
|
139
|
-
// @apply ax-bg-danger-200 dark:ax-bg-danger-600 dark:ax-text-danger-100;
|
140
|
-
// }
|
141
|
-
// }
|
142
|
-
|
143
|
-
// &.ax-success-default {
|
144
|
-
// @apply ax-bg-transparent ax-text-success-500 ax-border-transparent;
|
145
|
-
|
146
|
-
// &:hover,
|
147
|
-
// &:focus {
|
148
|
-
// @apply ax-bg-success-50 ax-text-success-600 dark:ax-bg-success-500 dark:ax-text-success-100;
|
149
|
-
// }
|
150
|
-
|
151
|
-
// &:active {
|
152
|
-
// @apply ax-bg-success-100 ax-text-success-700 dark:ax-bg-success-600 dark:ax-text-success-100;
|
153
|
-
// }
|
154
|
-
|
155
|
-
// &.ax-state-selected {
|
156
|
-
// @apply ax-bg-success-200 dark:ax-bg-success-600 dark:ax-text-success-100;
|
157
|
-
// }
|
158
|
-
// }
|
159
|
-
// }
|
160
|
-
// }
|
161
|
-
// }
|
162
|
-
// }
|
File without changes
|
@@ -1,24 +0,0 @@
|
|
1
|
-
ax-image {
|
2
|
-
@apply ax-block ax-relative ax-transition-all ax-overflow-hidden;
|
3
|
-
|
4
|
-
&:not(.ax-state-empty, .ax-state-loading) {
|
5
|
-
&:hover {
|
6
|
-
ax-overlay[data-overlay-mode="hover"] {
|
7
|
-
@apply ax-flex ax-animate-fadeIn ax-animate-faster;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
}
|
11
|
-
img {
|
12
|
-
@apply ax-w-full ax-h-full;
|
13
|
-
}
|
14
|
-
ax-overlay {
|
15
|
-
@apply ax-absolute ax-w-full ax-bg-black/50 ax-h-full ax-top-0 ax-flex ax-items-center ax-justify-center;
|
16
|
-
}
|
17
|
-
ax-overlay[data-overlay-mode="hover"] {
|
18
|
-
@apply ax-hidden;
|
19
|
-
}
|
20
|
-
ax-loading {
|
21
|
-
@apply ax-w-full ax-h-full ax-bg-neutral-200 dark:ax-bg-white/10 ax-flex ax-items-center ax-justify-center;
|
22
|
-
}
|
23
|
-
|
24
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
@layer components {
|
2
|
-
.ax-input,
|
3
|
-
.ax-textarea {
|
4
|
-
@apply ax-outline-none ax-p-0;
|
5
|
-
font-size: inherit;
|
6
|
-
&:focus {
|
7
|
-
@apply ax-ring-2 ax-ring-primary-500 ax-ring-opacity-100 ax-border-transparent ax-rounded-default;
|
8
|
-
}
|
9
|
-
&.ax-state-disabled {
|
10
|
-
@include control-states("editor-disabled");
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
}
|
File without changes
|
@@ -1,96 +0,0 @@
|
|
1
|
-
ax-menu {
|
2
|
-
@apply ax-text-sm ax-transition-all ax-select-none;
|
3
|
-
& > ul {
|
4
|
-
@apply ax-flex ax-gap-2;
|
5
|
-
.ax-menu-item {
|
6
|
-
@apply ax-flex ax-items-center ax-text-sm ax-justify-between ax-cursor-pointer ax-flex-1;
|
7
|
-
}
|
8
|
-
li {
|
9
|
-
@apply ax-relative ax-flex ax-items-center;
|
10
|
-
|
11
|
-
.ax-menu-item-prefix,
|
12
|
-
.ax-menu-item-suffix {
|
13
|
-
@apply ax-flex ax-items-center ax-gap-2;
|
14
|
-
ax-icon {
|
15
|
-
@apply ax-transition-all ax-text-xl;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
.ax-menu-item-prefix {
|
19
|
-
}
|
20
|
-
.ax-menu-item-suffix {
|
21
|
-
ax-icon {
|
22
|
-
@apply ax-block ax--rotate-180;
|
23
|
-
&.ax-menu-active-icon {
|
24
|
-
@apply ax--rotate-90;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
&.ax-state-disabled {
|
29
|
-
@apply ax-cursor-not-allowed;
|
30
|
-
.ax-menu-item-prefix,
|
31
|
-
.ax-menu-item-suffix {
|
32
|
-
@apply ax-opacity-40;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
&.ax-horizontal {
|
37
|
-
> li {
|
38
|
-
padding-inline-end: 0.5rem;
|
39
|
-
&:hover {
|
40
|
-
@apply ax-text-neutral-600;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|
44
|
-
&.ax-vertical {
|
45
|
-
@apply ax-flex-col ax-p-2;
|
46
|
-
li {
|
47
|
-
&.ax-divider {
|
48
|
-
&::before {
|
49
|
-
content: "";
|
50
|
-
@apply -ax-bottom-1 ax-start-0 ax-absolute ax-w-full ax-h-[1px] ax-bg-neutral-200 dark:ax-bg-white/20;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
& > li {
|
55
|
-
@apply ax-flex ax-px-4 ax-py-1 ax-items-center ax-rounded-default ax-text-sm ax-justify-between ax-cursor-pointer;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
&.ax-side-menu {
|
59
|
-
@apply ax-flex-col;
|
60
|
-
|
61
|
-
li {
|
62
|
-
@apply ax-flex-col ax-mb-1 ax-rounded-default;
|
63
|
-
.ax-menu-item {
|
64
|
-
@apply ax-p-2;
|
65
|
-
}
|
66
|
-
&:not(.ax-state-disabled) {
|
67
|
-
> .ax-menu-item {
|
68
|
-
&:hover {
|
69
|
-
@apply ax-bg-neutral-100 dark:ax-bg-white/20 ax-rounded-default;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
ul {
|
75
|
-
@apply ax-mt-1 ax-mx-4;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
.ax-submenu-ul {
|
82
|
-
@apply ax-bg-white ax-border ax-border-neutral-200 dark:ax-border-neutral-500 ax-sm ax-rounded-default ax-py-2;
|
83
|
-
@include control-states("surface");
|
84
|
-
li {
|
85
|
-
@apply ax-py-3 ax-px-4 ax-cursor-pointer ax-flex ax-items-center ax-justify-between;
|
86
|
-
.ax-menu-item-suffix {
|
87
|
-
@apply ax-ms-3;
|
88
|
-
}
|
89
|
-
&:not(.ax-state-disabled) {
|
90
|
-
&:hover {
|
91
|
-
@apply ax-bg-neutral-200 dark:ax-bg-white/[0.16];
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
@@ -1,117 +0,0 @@
|
|
1
|
-
// ax-menu {
|
2
|
-
// ul {
|
3
|
-
// &.ax-rtl {
|
4
|
-
// li {
|
5
|
-
// ax-icon {
|
6
|
-
// &.ax-icon-chevron {
|
7
|
-
// @apply ax-block ax-rotate-0;
|
8
|
-
// }
|
9
|
-
// }
|
10
|
-
// }
|
11
|
-
// }
|
12
|
-
// li {
|
13
|
-
// @apply ax-cursor-pointer ax-text-neutral-500 dark:ax-text-neutral-50 ax-rounded-default;
|
14
|
-
// &:not(.ax-state-disabled) {
|
15
|
-
// &:hover {
|
16
|
-
// @apply ax-text-neutral-800 dark:ax-text-neutral-200;
|
17
|
-
// }
|
18
|
-
// }
|
19
|
-
|
20
|
-
// .ax-menu-item {
|
21
|
-
// @apply ax-flex ax-justify-between ax-items-center ax-w-full ax-gap-1;
|
22
|
-
// }
|
23
|
-
// .ax-menu-item-prefix,
|
24
|
-
// .ax-menu-item-suffix {
|
25
|
-
// @apply ax-flex ax-items-center ax-gap-2 ax-h-6;
|
26
|
-
// ax-icon {
|
27
|
-
// @apply ax-transition-all ax-text-xl;
|
28
|
-
// }
|
29
|
-
// }
|
30
|
-
// .ax-menu-item-prefix {
|
31
|
-
// }
|
32
|
-
// .ax-menu-item-suffix {
|
33
|
-
// ax-icon {
|
34
|
-
// @apply ax-block ax-rotate-180;
|
35
|
-
// &.ax-menu-active-icon {
|
36
|
-
// @apply -ax-rotate-90;
|
37
|
-
// }
|
38
|
-
// }
|
39
|
-
// }
|
40
|
-
// &.ax-state-disabled {
|
41
|
-
// @apply ax-cursor-not-allowed;
|
42
|
-
// .ax-menu-item-prefix,
|
43
|
-
// .ax-menu-item-suffix {
|
44
|
-
// @apply ax-opacity-40;
|
45
|
-
// }
|
46
|
-
// }
|
47
|
-
// }
|
48
|
-
// }
|
49
|
-
// > ul {
|
50
|
-
// &.ax-rtl {
|
51
|
-
// .ax-menu-item-suffix {
|
52
|
-
// ax-icon {
|
53
|
-
// @apply ax-block ax-rotate-180;
|
54
|
-
// &.ax-menu-active-icon {
|
55
|
-
// @apply ax-rotate-90;
|
56
|
-
// }
|
57
|
-
// }
|
58
|
-
// }
|
59
|
-
// }
|
60
|
-
// &.ax-horizontal {
|
61
|
-
// @apply ax-flex ax-items-center ax-gap-4;
|
62
|
-
// li {
|
63
|
-
// &.ax-divider {
|
64
|
-
// @apply ax-w-[1px] ax-h-4;
|
65
|
-
// }
|
66
|
-
// }
|
67
|
-
// > li {
|
68
|
-
// @apply ax-cursor-pointer;
|
69
|
-
// .ax-menu-item {
|
70
|
-
// @apply ax-flex ax-items-start ax-justify-between;
|
71
|
-
// }
|
72
|
-
// }
|
73
|
-
// }
|
74
|
-
// &.ax-vertical {
|
75
|
-
// @apply ax-w-full;
|
76
|
-
// &:not(&.ax-submenu-ul) {
|
77
|
-
// @apply ax-space-y-4;
|
78
|
-
// }
|
79
|
-
// li {
|
80
|
-
// &.ax-divider {
|
81
|
-
// @apply ax-h-[1px] ax-my-2;
|
82
|
-
// }
|
83
|
-
// }
|
84
|
-
// &.ax-submenu-ul {
|
85
|
-
// @apply ax-p-2 ax-bg-white ax-border ax-border-neutral-200 ax-rounded-default ax-shadow;
|
86
|
-
// @include control-states("surface");
|
87
|
-
|
88
|
-
// li {
|
89
|
-
// &:not(.ax-state-disabled, .ax-divider) {
|
90
|
-
// @apply ax-py-1 ax-ps-4 ax-pe-2;
|
91
|
-
// &:hover {
|
92
|
-
// @apply ax-bg-neutral-200 dark:ax-bg-white/10 dark:ax-text-neutral-50;
|
93
|
-
// }
|
94
|
-
// }
|
95
|
-
// &.ax-divider {
|
96
|
-
// @apply ax-h-[1px] ax-my-2;
|
97
|
-
// }
|
98
|
-
// }
|
99
|
-
// }
|
100
|
-
// }
|
101
|
-
// &.ax-side-menu {
|
102
|
-
// @apply ax-space-y-4;
|
103
|
-
// li {
|
104
|
-
// &.ax-divider {
|
105
|
-
// @apply ax-h-[1px] ax-my-2;
|
106
|
-
// }
|
107
|
-
// ul {
|
108
|
-
// @apply ax-ps-4 ax-space-y-4 ax-mt-4;
|
109
|
-
// }
|
110
|
-
// }
|
111
|
-
// }
|
112
|
-
// }
|
113
|
-
|
114
|
-
// .ax-divider {
|
115
|
-
// @apply ax-bg-neutral-200 ax-p-0 ax-cursor-auto dark:ax-bg-white/20;
|
116
|
-
// }
|
117
|
-
// }
|