@acorex/styles 18.12.29 → 18.12.30
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/shared/_radio.scss
CHANGED
@@ -1,57 +1,57 @@
|
|
1
|
-
@import '../mixins/index.scss';
|
2
|
-
|
3
|
-
.ax-radio {
|
4
|
-
// @apply ax-m-0 ax-h-4 ax-w-4 ax-cursor-pointer ax-appearance-none ax-rounded ax-border ax-border-default ax-bg-input-surface ax-align-middle ax-outline-none;
|
5
|
-
margin: 0px;
|
6
|
-
height: 1rem /* 16px */;
|
7
|
-
min-height: 1rem /* 16px */;
|
8
|
-
min-width: 1rem /* 16px */;
|
9
|
-
width: 1rem /* 16px */;
|
10
|
-
cursor: pointer;
|
11
|
-
appearance: none;
|
12
|
-
border-radius: 9999px /* 4px */;
|
13
|
-
border-width: 1px;
|
14
|
-
border-color: rgba(var(--ax-color-border-default));
|
15
|
-
background-color: rgba(var(--ax-color-input-surface));
|
16
|
-
vertical-align: middle;
|
17
|
-
outline: 2px solid transparent;
|
18
|
-
outline-offset: 2px;
|
19
|
-
|
20
|
-
&:checked {
|
21
|
-
// @apply ax-border-primary-500 ax-bg-primary-500 #{!important};
|
22
|
-
border-color: rgba(var(--ax-color-primary-500)) !important;
|
23
|
-
background-color: rgba(var(--ax-color-primary-500)) !important;
|
24
|
-
background-size: contain;
|
25
|
-
background-repeat: no-repeat;
|
26
|
-
|
27
|
-
// @apply ax-bg-contain ax-bg-no-repeat;
|
28
|
-
}
|
29
|
-
|
30
|
-
&:checked {
|
31
|
-
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
|
32
|
-
}
|
33
|
-
|
34
|
-
&:focus-visible,
|
35
|
-
&:focus {
|
36
|
-
// @apply ax-ring-2 ax-ring-primary-500 ax-ring-offset-2 ax-ring-offset-surface;
|
37
|
-
box-shadow:
|
38
|
-
0px 0px 0px 2px rgba(var(--ax-color-surface)),
|
39
|
-
0px 0px 0px 4px rgba(var(--ax-color-primary-500));
|
40
|
-
}
|
41
|
-
|
42
|
-
&:disabled {
|
43
|
-
// @apply ax-cursor-not-allowed ax-opacity-50;
|
44
|
-
cursor: not-allowed;
|
45
|
-
opacity: 0.5;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
// @include darkMode() {
|
50
|
-
// .ax-checkbox {
|
51
|
-
// &:checked {
|
52
|
-
// border-color: rgba(var(--ax-color-primary-200)) !important;
|
53
|
-
// background-color: rgba(var(--ax-color-primary-200)) !important;
|
54
|
-
// 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");
|
55
|
-
// }
|
56
|
-
// }
|
57
|
-
// }
|
1
|
+
@import '../mixins/index.scss';
|
2
|
+
|
3
|
+
.ax-radio {
|
4
|
+
// @apply ax-m-0 ax-h-4 ax-w-4 ax-cursor-pointer ax-appearance-none ax-rounded ax-border ax-border-default ax-bg-input-surface ax-align-middle ax-outline-none;
|
5
|
+
margin: 0px;
|
6
|
+
height: 1rem /* 16px */;
|
7
|
+
min-height: 1rem /* 16px */;
|
8
|
+
min-width: 1rem /* 16px */;
|
9
|
+
width: 1rem /* 16px */;
|
10
|
+
cursor: pointer;
|
11
|
+
appearance: none;
|
12
|
+
border-radius: 9999px /* 4px */;
|
13
|
+
border-width: 1px;
|
14
|
+
border-color: rgba(var(--ax-color-border-default));
|
15
|
+
background-color: rgba(var(--ax-color-input-surface));
|
16
|
+
vertical-align: middle;
|
17
|
+
outline: 2px solid transparent;
|
18
|
+
outline-offset: 2px;
|
19
|
+
|
20
|
+
&:checked {
|
21
|
+
// @apply ax-border-primary-500 ax-bg-primary-500 #{!important};
|
22
|
+
border-color: rgba(var(--ax-color-primary-500)) !important;
|
23
|
+
background-color: rgba(var(--ax-color-primary-500)) !important;
|
24
|
+
background-size: contain;
|
25
|
+
background-repeat: no-repeat;
|
26
|
+
|
27
|
+
// @apply ax-bg-contain ax-bg-no-repeat;
|
28
|
+
}
|
29
|
+
|
30
|
+
&:checked {
|
31
|
+
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
|
32
|
+
}
|
33
|
+
|
34
|
+
&:focus-visible,
|
35
|
+
&:focus {
|
36
|
+
// @apply ax-ring-2 ax-ring-primary-500 ax-ring-offset-2 ax-ring-offset-surface;
|
37
|
+
box-shadow:
|
38
|
+
0px 0px 0px 2px rgba(var(--ax-color-surface)),
|
39
|
+
0px 0px 0px 4px rgba(var(--ax-color-primary-500));
|
40
|
+
}
|
41
|
+
|
42
|
+
&:disabled {
|
43
|
+
// @apply ax-cursor-not-allowed ax-opacity-50;
|
44
|
+
cursor: not-allowed;
|
45
|
+
opacity: 0.5;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
// @include darkMode() {
|
50
|
+
// .ax-checkbox {
|
51
|
+
// &:checked {
|
52
|
+
// border-color: rgba(var(--ax-color-primary-200)) !important;
|
53
|
+
// background-color: rgba(var(--ax-color-primary-200)) !important;
|
54
|
+
// 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");
|
55
|
+
// }
|
56
|
+
// }
|
57
|
+
// }
|
package/src/shared/_table.scss
CHANGED
@@ -1,149 +1,149 @@
|
|
1
|
-
@import '../mixins/index.scss';
|
2
|
-
@include darkMode() {
|
3
|
-
.ax-table {
|
4
|
-
thead {
|
5
|
-
// @apply ax-bg-on-surface;
|
6
|
-
background-color: rgba(var(--ax-color-on-surface));
|
7
|
-
}
|
8
|
-
}
|
9
|
-
}
|
10
|
-
.ax-table {
|
11
|
-
// @apply ax-w-full ax-border-collapse ax-border-spacing-0 ax-overflow-hidden ax-rounded-default ax-border ax-border-default ax-text-sm;
|
12
|
-
width: 100%;
|
13
|
-
border-collapse: collapse;
|
14
|
-
border-spacing: 0;
|
15
|
-
overflow: hidden;
|
16
|
-
border-radius: var(--ax-rounded-border-default);
|
17
|
-
border-width: 1px;
|
18
|
-
border-color: rgba(var(--ax-color-border-default));
|
19
|
-
font-size: 0.875rem /* 14px */;
|
20
|
-
line-height: 1.25rem /* 20px */;
|
21
|
-
td {
|
22
|
-
// @apply ax-border-b ax-border-default ax-px-4 ax-py-3;
|
23
|
-
border-bottom-width: 1px;
|
24
|
-
border-color: rgba(var(--ax-color-border-default));
|
25
|
-
padding-left: 1rem /* 16px */;
|
26
|
-
padding-right: 1rem /* 16px */;
|
27
|
-
padding-top: 0.75rem /* 12px */;
|
28
|
-
padding-bottom: 0.75rem /* 12px */;
|
29
|
-
}
|
30
|
-
thead {
|
31
|
-
// @apply ax-border-b ax-border-default ax-bg-on-surface;
|
32
|
-
border-bottom-width: 1px;
|
33
|
-
border-color: rgba(var(--ax-color-border-default));
|
34
|
-
background-color: rgba(var(--ax-color-on-surface));
|
35
|
-
|
36
|
-
th {
|
37
|
-
// @apply ax-px-4 ax-py-3.5 ax-text-start ax-font-medium ax-uppercase;
|
38
|
-
padding-left: 1rem /* 16px */;
|
39
|
-
padding-right: 1rem /* 16px */;
|
40
|
-
padding-top: 0.875rem /* 14px */;
|
41
|
-
padding-bottom: 0.875rem /* 14px */;
|
42
|
-
text-align: start;
|
43
|
-
font-weight: 500;
|
44
|
-
text-transform: uppercase;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
&.ax-table-alternate {
|
48
|
-
tbody {
|
49
|
-
tr {
|
50
|
-
&:nth-child(even) {
|
51
|
-
// @apply ax-bg-on-surface;
|
52
|
-
background-color: rgba(var(--ax-color-on-surface));
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
&.ax-table-bordered {
|
58
|
-
thead {
|
59
|
-
th {
|
60
|
-
// @apply ax-border-t-0 #{!important};
|
61
|
-
border-top-width: 0px !important;
|
62
|
-
}
|
63
|
-
}
|
64
|
-
tbody {
|
65
|
-
tr {
|
66
|
-
&:last-child {
|
67
|
-
td {
|
68
|
-
// @apply ax-border-b-0 #{!important};
|
69
|
-
border-bottom-width: 0px !important;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
td {
|
73
|
-
&:last-child {
|
74
|
-
// @apply ax-border-b-0 #{!important};
|
75
|
-
border-bottom-width: 0px !important;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
td,
|
82
|
-
th {
|
83
|
-
// @apply ax-border ax-border-default;
|
84
|
-
border-width: 1px;
|
85
|
-
border-color: rgba(var(--ax-color-border-default));
|
86
|
-
|
87
|
-
&:first-child {
|
88
|
-
// @apply ax-border-s-0;
|
89
|
-
border-inline-start-width: 0px;
|
90
|
-
}
|
91
|
-
&:last-child {
|
92
|
-
// @apply ax-border-e-0;
|
93
|
-
border-inline-end-width: 0px;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
@media screen and (max-width: 601px) {
|
98
|
-
&.ax-table-responsive {
|
99
|
-
// @apply ax-block ax-break-words ax-border-0;
|
100
|
-
display: block;
|
101
|
-
overflow-wrap: break-word;
|
102
|
-
border-width: 0px;
|
103
|
-
|
104
|
-
thead {
|
105
|
-
// @apply ax-absolute -ax-start-full -ax-top-full;
|
106
|
-
position: absolute;
|
107
|
-
inset-inline-start: -100%;
|
108
|
-
top: -100%;
|
109
|
-
}
|
110
|
-
|
111
|
-
td {
|
112
|
-
// @apply ax-clear-both ax-box-border ax-block ax-w-full ax-px-2.5 ax-py-1.5;
|
113
|
-
|
114
|
-
float: inline-start;
|
115
|
-
clear: both;
|
116
|
-
box-sizing: border-box;
|
117
|
-
display: block;
|
118
|
-
width: 100%;
|
119
|
-
padding-left: 0.625rem /* 10px */;
|
120
|
-
padding-right: 0.625rem /* 10px */;
|
121
|
-
padding-top: 0.375rem /* 6px */;
|
122
|
-
padding-bottom: 0.375rem /* 6px */;
|
123
|
-
&:last-child {
|
124
|
-
// @apply ax-border-0;
|
125
|
-
border-width: 0px;
|
126
|
-
}
|
127
|
-
&:before {
|
128
|
-
// @apply ax-block ax-font-bold;
|
129
|
-
|
130
|
-
content: attr(data-label);
|
131
|
-
display: block;
|
132
|
-
font-weight: 700;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
tr {
|
136
|
-
// @apply ax-border ax-border-default;
|
137
|
-
border-width: 1px;
|
138
|
-
border-color: rgba(var(--ax-color-border-default));
|
139
|
-
}
|
140
|
-
tr,
|
141
|
-
tbody {
|
142
|
-
// @apply ax-mb-2.5 ax-block ax-w-full;
|
143
|
-
float: inline-start;
|
144
|
-
margin-bottom: 0.625rem /* 10px */;
|
145
|
-
width: 100%;
|
146
|
-
}
|
147
|
-
}
|
148
|
-
}
|
149
|
-
}
|
1
|
+
@import '../mixins/index.scss';
|
2
|
+
@include darkMode() {
|
3
|
+
.ax-table {
|
4
|
+
thead {
|
5
|
+
// @apply ax-bg-on-surface;
|
6
|
+
background-color: rgba(var(--ax-color-on-surface));
|
7
|
+
}
|
8
|
+
}
|
9
|
+
}
|
10
|
+
.ax-table {
|
11
|
+
// @apply ax-w-full ax-border-collapse ax-border-spacing-0 ax-overflow-hidden ax-rounded-default ax-border ax-border-default ax-text-sm;
|
12
|
+
width: 100%;
|
13
|
+
border-collapse: collapse;
|
14
|
+
border-spacing: 0;
|
15
|
+
overflow: hidden;
|
16
|
+
border-radius: var(--ax-rounded-border-default);
|
17
|
+
border-width: 1px;
|
18
|
+
border-color: rgba(var(--ax-color-border-default));
|
19
|
+
font-size: 0.875rem /* 14px */;
|
20
|
+
line-height: 1.25rem /* 20px */;
|
21
|
+
td {
|
22
|
+
// @apply ax-border-b ax-border-default ax-px-4 ax-py-3;
|
23
|
+
border-bottom-width: 1px;
|
24
|
+
border-color: rgba(var(--ax-color-border-default));
|
25
|
+
padding-left: 1rem /* 16px */;
|
26
|
+
padding-right: 1rem /* 16px */;
|
27
|
+
padding-top: 0.75rem /* 12px */;
|
28
|
+
padding-bottom: 0.75rem /* 12px */;
|
29
|
+
}
|
30
|
+
thead {
|
31
|
+
// @apply ax-border-b ax-border-default ax-bg-on-surface;
|
32
|
+
border-bottom-width: 1px;
|
33
|
+
border-color: rgba(var(--ax-color-border-default));
|
34
|
+
background-color: rgba(var(--ax-color-on-surface));
|
35
|
+
|
36
|
+
th {
|
37
|
+
// @apply ax-px-4 ax-py-3.5 ax-text-start ax-font-medium ax-uppercase;
|
38
|
+
padding-left: 1rem /* 16px */;
|
39
|
+
padding-right: 1rem /* 16px */;
|
40
|
+
padding-top: 0.875rem /* 14px */;
|
41
|
+
padding-bottom: 0.875rem /* 14px */;
|
42
|
+
text-align: start;
|
43
|
+
font-weight: 500;
|
44
|
+
text-transform: uppercase;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
&.ax-table-alternate {
|
48
|
+
tbody {
|
49
|
+
tr {
|
50
|
+
&:nth-child(even) {
|
51
|
+
// @apply ax-bg-on-surface;
|
52
|
+
background-color: rgba(var(--ax-color-on-surface));
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
&.ax-table-bordered {
|
58
|
+
thead {
|
59
|
+
th {
|
60
|
+
// @apply ax-border-t-0 #{!important};
|
61
|
+
border-top-width: 0px !important;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
tbody {
|
65
|
+
tr {
|
66
|
+
&:last-child {
|
67
|
+
td {
|
68
|
+
// @apply ax-border-b-0 #{!important};
|
69
|
+
border-bottom-width: 0px !important;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
td {
|
73
|
+
&:last-child {
|
74
|
+
// @apply ax-border-b-0 #{!important};
|
75
|
+
border-bottom-width: 0px !important;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
td,
|
82
|
+
th {
|
83
|
+
// @apply ax-border ax-border-default;
|
84
|
+
border-width: 1px;
|
85
|
+
border-color: rgba(var(--ax-color-border-default));
|
86
|
+
|
87
|
+
&:first-child {
|
88
|
+
// @apply ax-border-s-0;
|
89
|
+
border-inline-start-width: 0px;
|
90
|
+
}
|
91
|
+
&:last-child {
|
92
|
+
// @apply ax-border-e-0;
|
93
|
+
border-inline-end-width: 0px;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
@media screen and (max-width: 601px) {
|
98
|
+
&.ax-table-responsive {
|
99
|
+
// @apply ax-block ax-break-words ax-border-0;
|
100
|
+
display: block;
|
101
|
+
overflow-wrap: break-word;
|
102
|
+
border-width: 0px;
|
103
|
+
|
104
|
+
thead {
|
105
|
+
// @apply ax-absolute -ax-start-full -ax-top-full;
|
106
|
+
position: absolute;
|
107
|
+
inset-inline-start: -100%;
|
108
|
+
top: -100%;
|
109
|
+
}
|
110
|
+
|
111
|
+
td {
|
112
|
+
// @apply ax-clear-both ax-box-border ax-block ax-w-full ax-px-2.5 ax-py-1.5;
|
113
|
+
|
114
|
+
float: inline-start;
|
115
|
+
clear: both;
|
116
|
+
box-sizing: border-box;
|
117
|
+
display: block;
|
118
|
+
width: 100%;
|
119
|
+
padding-left: 0.625rem /* 10px */;
|
120
|
+
padding-right: 0.625rem /* 10px */;
|
121
|
+
padding-top: 0.375rem /* 6px */;
|
122
|
+
padding-bottom: 0.375rem /* 6px */;
|
123
|
+
&:last-child {
|
124
|
+
// @apply ax-border-0;
|
125
|
+
border-width: 0px;
|
126
|
+
}
|
127
|
+
&:before {
|
128
|
+
// @apply ax-block ax-font-bold;
|
129
|
+
|
130
|
+
content: attr(data-label);
|
131
|
+
display: block;
|
132
|
+
font-weight: 700;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
tr {
|
136
|
+
// @apply ax-border ax-border-default;
|
137
|
+
border-width: 1px;
|
138
|
+
border-color: rgba(var(--ax-color-border-default));
|
139
|
+
}
|
140
|
+
tr,
|
141
|
+
tbody {
|
142
|
+
// @apply ax-mb-2.5 ax-block ax-w-full;
|
143
|
+
float: inline-start;
|
144
|
+
margin-bottom: 0.625rem /* 10px */;
|
145
|
+
width: 100%;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
package/src/shared/_utils.scss
CHANGED
@@ -1,84 +1,84 @@
|
|
1
|
-
@import '../variables/index.scss';
|
2
|
-
|
3
|
-
[class*=' ax-icon-'],
|
4
|
-
[class^='ax-icon-'] {
|
5
|
-
vertical-align: middle;
|
6
|
-
}
|
7
|
-
|
8
|
-
.ax-bold {
|
9
|
-
font-weight: bold !important;
|
10
|
-
}
|
11
|
-
|
12
|
-
.ax-fieldset {
|
13
|
-
// @apply ax-rounded-default ax-border ax-border-default ax-p-3;
|
14
|
-
border-radius: var(--ax-rounded-border-default);
|
15
|
-
border-width: 1px;
|
16
|
-
border-color: rgba(var(--ax-color-border-default));
|
17
|
-
padding: 0.75rem /* 12px */;
|
18
|
-
|
19
|
-
legend {
|
20
|
-
// @apply ax-px-1 ax-text-sm;
|
21
|
-
padding-left: 0.25rem /* 4px */;
|
22
|
-
padding-right: 0.25rem /* 4px */;
|
23
|
-
font-size: 0.875rem /* 14px */;
|
24
|
-
line-height: 1.25rem /* 20px */;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
.ax-card {
|
29
|
-
// @apply ax-rounded-default ax-border ax-border-default ax-bg-surface;
|
30
|
-
border-radius: var(--ax-rounded-border-default);
|
31
|
-
border-width: 1px;
|
32
|
-
border-color: rgba(var(--ax-color-border-default));
|
33
|
-
background-color: rgba(var(--ax-color-surface));
|
34
|
-
}
|
35
|
-
|
36
|
-
.ax-drop-zone {
|
37
|
-
> input {
|
38
|
-
// @apply ax-absolute ax-h-full ax-w-full ax-cursor-pointer ax-opacity-0;
|
39
|
-
position: absolute;
|
40
|
-
height: 100%;
|
41
|
-
width: 100%;
|
42
|
-
cursor: pointer;
|
43
|
-
opacity: 0;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
.ax-uploader-overlay-state {
|
47
|
-
// @apply ax-pointer-events-none ax-absolute ax-start-0 ax-top-0 ax-z-10 ax-flex ax-h-full ax-w-full ax-cursor-pointer ax-flex-col ax-items-center ax-justify-center ax-gap-2 ax-bg-primary-200/75 ax-text-sm ax-text-primary-fore-tint ax-outline-dashed ax-outline-2 -ax-outline-offset-4 ax-transition-all;
|
48
|
-
border-radius: inherit;
|
49
|
-
pointer-events: none;
|
50
|
-
position: absolute;
|
51
|
-
inset-inline-start: 0px;
|
52
|
-
top: 0px;
|
53
|
-
z-index: 10;
|
54
|
-
display: flex;
|
55
|
-
height: 100%;
|
56
|
-
width: 100%;
|
57
|
-
cursor: pointer;
|
58
|
-
flex-direction: column;
|
59
|
-
align-items: center;
|
60
|
-
justify-content: center;
|
61
|
-
gap: 0.5rem /* 8px */;
|
62
|
-
background-color: rgba(var(--ax-color-primary-200), 0.75);
|
63
|
-
font-size: 0.875rem /* 14px */;
|
64
|
-
line-height: 1.25rem /* 20px */;
|
65
|
-
color: rgba(var(--ax-color-primary-fore-tint));
|
66
|
-
outline-style: dashed;
|
67
|
-
outline-offset: -4px;
|
68
|
-
transition-property: all;
|
69
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
70
|
-
transition-duration: 150ms;
|
71
|
-
}
|
72
|
-
|
73
|
-
.ax-select-none,
|
74
|
-
.ax-select-none * {
|
75
|
-
user-select: none !important;
|
76
|
-
}
|
77
|
-
@include darkMode() {
|
78
|
-
.ax-uploader-overlay-state {
|
79
|
-
// @apply ax-bg-primary-800/75 ax-text-primary-fore ax-outline-primary-fore;
|
80
|
-
background-color: rgba(var(--ax-color-primary-800), 0.75);
|
81
|
-
color: rgba(var(--ax-color-primary-fore));
|
82
|
-
outline-color: rgba(var(--ax-color-primary-fore));
|
83
|
-
}
|
84
|
-
}
|
1
|
+
@import '../variables/index.scss';
|
2
|
+
|
3
|
+
[class*=' ax-icon-'],
|
4
|
+
[class^='ax-icon-'] {
|
5
|
+
vertical-align: middle;
|
6
|
+
}
|
7
|
+
|
8
|
+
.ax-bold {
|
9
|
+
font-weight: bold !important;
|
10
|
+
}
|
11
|
+
|
12
|
+
.ax-fieldset {
|
13
|
+
// @apply ax-rounded-default ax-border ax-border-default ax-p-3;
|
14
|
+
border-radius: var(--ax-rounded-border-default);
|
15
|
+
border-width: 1px;
|
16
|
+
border-color: rgba(var(--ax-color-border-default));
|
17
|
+
padding: 0.75rem /* 12px */;
|
18
|
+
|
19
|
+
legend {
|
20
|
+
// @apply ax-px-1 ax-text-sm;
|
21
|
+
padding-left: 0.25rem /* 4px */;
|
22
|
+
padding-right: 0.25rem /* 4px */;
|
23
|
+
font-size: 0.875rem /* 14px */;
|
24
|
+
line-height: 1.25rem /* 20px */;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.ax-card {
|
29
|
+
// @apply ax-rounded-default ax-border ax-border-default ax-bg-surface;
|
30
|
+
border-radius: var(--ax-rounded-border-default);
|
31
|
+
border-width: 1px;
|
32
|
+
border-color: rgba(var(--ax-color-border-default));
|
33
|
+
background-color: rgba(var(--ax-color-surface));
|
34
|
+
}
|
35
|
+
|
36
|
+
.ax-drop-zone {
|
37
|
+
> input {
|
38
|
+
// @apply ax-absolute ax-h-full ax-w-full ax-cursor-pointer ax-opacity-0;
|
39
|
+
position: absolute;
|
40
|
+
height: 100%;
|
41
|
+
width: 100%;
|
42
|
+
cursor: pointer;
|
43
|
+
opacity: 0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
.ax-uploader-overlay-state {
|
47
|
+
// @apply ax-pointer-events-none ax-absolute ax-start-0 ax-top-0 ax-z-10 ax-flex ax-h-full ax-w-full ax-cursor-pointer ax-flex-col ax-items-center ax-justify-center ax-gap-2 ax-bg-primary-200/75 ax-text-sm ax-text-primary-fore-tint ax-outline-dashed ax-outline-2 -ax-outline-offset-4 ax-transition-all;
|
48
|
+
border-radius: inherit;
|
49
|
+
pointer-events: none;
|
50
|
+
position: absolute;
|
51
|
+
inset-inline-start: 0px;
|
52
|
+
top: 0px;
|
53
|
+
z-index: 10;
|
54
|
+
display: flex;
|
55
|
+
height: 100%;
|
56
|
+
width: 100%;
|
57
|
+
cursor: pointer;
|
58
|
+
flex-direction: column;
|
59
|
+
align-items: center;
|
60
|
+
justify-content: center;
|
61
|
+
gap: 0.5rem /* 8px */;
|
62
|
+
background-color: rgba(var(--ax-color-primary-200), 0.75);
|
63
|
+
font-size: 0.875rem /* 14px */;
|
64
|
+
line-height: 1.25rem /* 20px */;
|
65
|
+
color: rgba(var(--ax-color-primary-fore-tint));
|
66
|
+
outline-style: dashed;
|
67
|
+
outline-offset: -4px;
|
68
|
+
transition-property: all;
|
69
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
70
|
+
transition-duration: 150ms;
|
71
|
+
}
|
72
|
+
|
73
|
+
.ax-select-none,
|
74
|
+
.ax-select-none * {
|
75
|
+
user-select: none !important;
|
76
|
+
}
|
77
|
+
@include darkMode() {
|
78
|
+
.ax-uploader-overlay-state {
|
79
|
+
// @apply ax-bg-primary-800/75 ax-text-primary-fore ax-outline-primary-fore;
|
80
|
+
background-color: rgba(var(--ax-color-primary-800), 0.75);
|
81
|
+
color: rgba(var(--ax-color-primary-fore));
|
82
|
+
outline-color: rgba(var(--ax-color-primary-fore));
|
83
|
+
}
|
84
|
+
}
|
package/src/shared/index.scss
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
@import './action-item';
|
2
|
-
@import './actionsheet';
|
3
|
-
@import './check-box';
|
4
|
-
@import './color-look';
|
5
|
-
@import './drop-down';
|
6
|
-
@import './editor-container';
|
7
|
-
@import './general-button';
|
8
|
-
@import './inputs';
|
9
|
-
@import './list';
|
10
|
-
@import './radio';
|
11
|
-
@import './table';
|
12
|
-
@import './utils';
|
1
|
+
@import './action-item';
|
2
|
+
@import './actionsheet';
|
3
|
+
@import './check-box';
|
4
|
+
@import './color-look';
|
5
|
+
@import './drop-down';
|
6
|
+
@import './editor-container';
|
7
|
+
@import './general-button';
|
8
|
+
@import './inputs';
|
9
|
+
@import './list';
|
10
|
+
@import './radio';
|
11
|
+
@import './table';
|
12
|
+
@import './utils';
|
package/src/utility/index.scss
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
.ax-xs {
|
2
|
-
--ax-size-default: calc(var(--ax-size-base) - 0.75rem);
|
3
|
-
}
|
4
|
-
|
5
|
-
.ax-sm {
|
6
|
-
--ax-size-default: calc(var(--ax-size-base) - 0.5rem);
|
7
|
-
}
|
8
|
-
|
9
|
-
.ax-md {
|
10
|
-
--ax-size-default: var(--ax-size-base);
|
11
|
-
}
|
12
|
-
|
13
|
-
.ax-lg {
|
14
|
-
--ax-size-default: calc(var(--ax-size-base) + 0.5rem);
|
15
|
-
}
|
16
|
-
|
17
|
-
.ax-xl {
|
18
|
-
--ax-size-default: calc(var(--ax-size-base) + 1rem);
|
19
|
-
}
|
20
|
-
|
21
|
-
.ax-placeholder {
|
22
|
-
color: rgba(var(--ax-color-input-surface-fore), 0.5);
|
23
|
-
font-weight: 500;
|
24
|
-
}
|
1
|
+
.ax-xs {
|
2
|
+
--ax-size-default: calc(var(--ax-size-base) - 0.75rem);
|
3
|
+
}
|
4
|
+
|
5
|
+
.ax-sm {
|
6
|
+
--ax-size-default: calc(var(--ax-size-base) - 0.5rem);
|
7
|
+
}
|
8
|
+
|
9
|
+
.ax-md {
|
10
|
+
--ax-size-default: var(--ax-size-base);
|
11
|
+
}
|
12
|
+
|
13
|
+
.ax-lg {
|
14
|
+
--ax-size-default: calc(var(--ax-size-base) + 0.5rem);
|
15
|
+
}
|
16
|
+
|
17
|
+
.ax-xl {
|
18
|
+
--ax-size-default: calc(var(--ax-size-base) + 1rem);
|
19
|
+
}
|
20
|
+
|
21
|
+
.ax-placeholder {
|
22
|
+
color: rgba(var(--ax-color-input-surface-fore), 0.5);
|
23
|
+
font-weight: 500;
|
24
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
$color_names: 'primary', 'secondary', 'success', 'warning', 'danger', 'info';
|
2
|
-
$look_names: 'solid', 'twotone', 'outline', 'blank', 'link';
|
1
|
+
$color_names: 'primary', 'secondary', 'success', 'warning', 'danger', 'info';
|
2
|
+
$look_names: 'solid', 'twotone', 'outline', 'blank', 'link';
|
@@ -1 +1 @@
|
|
1
|
-
$degrees: 45, 90, 130, 180;
|
1
|
+
$degrees: 45, 90, 130, 180;
|
package/src/variables/index.scss
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
@import './colors';
|
2
|
-
@import './degrees';
|
1
|
+
@import './colors';
|
2
|
+
@import './degrees';
|