@acorex/styles 6.0.12 → 6.1.1

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.
@@ -0,0 +1,235 @@
1
+ @layer components {
2
+ .ax-tabs {
3
+ @apply ax-p-0 ax-overflow-y-hidden ax-overflow-x-auto ax-w-max ax-block;
4
+
5
+ .ax-items-wrapper {
6
+ @apply ax-flex;
7
+ }
8
+
9
+ &:not(.ax-look-custom) {
10
+ ax-tab-item {
11
+ @apply ax-text-center ax-px-5 ax-cursor-pointer ax-whitespace-nowrap ax-flex ax-items-center ax-justify-center ax-relative ax-text-sm ax-font-medium;
12
+ min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
13
+ line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
14
+
15
+ &.ax-state-disabled {
16
+ // background-color: rgb(var(--ax-color-disabled)) !important;
17
+ // color: rgb(var(--ax-color-disabled-fore)) !important;
18
+ @apply ax-opacity-50 ax-cursor-not-allowed #{!important};
19
+ }
20
+
21
+ &.ax-state-active {
22
+ @apply ax-text-black;
23
+ }
24
+
25
+ .ax-prefix {
26
+ @apply ax-flex ax-flex-row ax-pe-2;
27
+ }
28
+
29
+ .ax-suffix {
30
+ @apply ax-flex ax-flex-row ax-ps-2;
31
+ }
32
+ }
33
+ }
34
+
35
+ &.ax-tabs-fit {
36
+ .ax-items-wrapper ax-tab-item {
37
+ @apply ax-flex-1;
38
+ }
39
+ }
40
+
41
+ & > .ax-tab-controll {
42
+ @apply ax-flex ax-items-center ax-justify-center ax-px-1 ax-cursor-pointer;
43
+ box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
44
+ 0 1px 10px 0 rgba(0, 0, 0, 0.12);
45
+ }
46
+
47
+ &.ax-horizontal {
48
+ &.ax-look-default {
49
+ @apply ax-border ax-border-solid ax-border-light-300 ax-shadow-sm ax-overflow-hidden ax-rounded-default;
50
+ @include control-states("editor");
51
+
52
+ ax-tab-item {
53
+ @apply ax-bg-white ax-border-e ax-border-b-2 ax-border-solid ax-border-light-300 dark:ax-text-light-200;
54
+ @include control-states("editor");
55
+
56
+ border-bottom-color: transparent !important;
57
+
58
+ &:first-child {
59
+ }
60
+
61
+ &:last-child {
62
+ @apply ax-border-e-0;
63
+ }
64
+
65
+ &:hover,
66
+ &.ax-state-active {
67
+ &:not(.ax-state-disabled) {
68
+ border-bottom-color: rgb(var(--ax-color-primary-500)) !important;
69
+ }
70
+ }
71
+ }
72
+ }
73
+
74
+ &.ax-look-start-line {
75
+ @apply ax-border-t ax-border-solid ax-border-light-300 dark:ax-border-light-200/10 ax-w-full;
76
+ ax-tab-item {
77
+ &.ax-state-active {
78
+ @apply ax-text-primary-500;
79
+ &::after {
80
+ @apply ax-absolute ax-top-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
81
+ content: "";
82
+ }
83
+ }
84
+ &:hover {
85
+ &::after {
86
+ @apply ax-absolute ax-top-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
87
+ content: "";
88
+ }
89
+ }
90
+ }
91
+ }
92
+
93
+ &.ax-look-end-line {
94
+ @apply ax-border-b ax-border-solid ax-border-light-300 dark:ax-border-light-200/10 ax-w-full;
95
+ ax-tab-item {
96
+ &.ax-state-active {
97
+ @apply ax-text-primary-500;
98
+ &::after {
99
+ @apply ax-absolute ax-bottom-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
100
+ content: "";
101
+ }
102
+ }
103
+ &:hover {
104
+ &::after {
105
+ @apply ax-absolute ax-bottom-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
106
+ content: "";
107
+ }
108
+ }
109
+ }
110
+ }
111
+
112
+ &.ax-look-pills {
113
+ ax-tab-item {
114
+ @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200;
115
+
116
+ &:hover {
117
+ @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-50 dark:ax-bg-light-600;
118
+ }
119
+
120
+ &.ax-state-active {
121
+ @apply ax-bg-light-200 ax-text-light-fore dark:ax-text-light-50 dark:ax-bg-light-600;
122
+ }
123
+ }
124
+ }
125
+
126
+ &.ax-look-pills-color {
127
+ ax-tab-item {
128
+ @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-primary-200;
129
+
130
+ &:hover {
131
+ @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-primary-50 dark:ax-bg-primary-500;
132
+ }
133
+
134
+ &.ax-state-active {
135
+ @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-primary-50 dark:ax-bg-primary-500;
136
+ }
137
+ }
138
+ }
139
+ }
140
+
141
+ &.ax-vertical {
142
+ .ax-items-wrapper {
143
+ @apply ax-flex-col ax-h-full;
144
+
145
+ ax-tab-item {
146
+ @apply ax-text-center ax-justify-start ax-py-2;
147
+ }
148
+ }
149
+
150
+ &.ax-look-default {
151
+ @apply ax-border ax-border-solid ax-border-light-300 ax-shadow-sm ax-rounded ax-overflow-hidden;
152
+ @include control-states("editor");
153
+
154
+ ax-tab-item {
155
+ @apply ax-bg-white ax-border-s ax-border-solid ax-border-light-300 ax-border-b-0 dark:ax-text-light-200 ax-mb-1;
156
+ &:last-child {
157
+ @apply ax-mb-0;
158
+ }
159
+ &:hover,
160
+ &.ax-state-active {
161
+ border-inline-start-color: rgb(var(--ax-color-primary-500)) !important;
162
+ }
163
+ }
164
+ }
165
+
166
+ &.ax-look-start-line {
167
+ ax-tab-item {
168
+ @apply ax-border-s-2 ax-border-solid ax-border-light-300 dark:ax-border-light-200/10;
169
+
170
+ &.ax-state-active {
171
+ @apply ax-border-primary-500 ax-text-primary-500;
172
+
173
+ &:hover {
174
+ @apply ax-border-primary-500;
175
+ }
176
+ }
177
+
178
+ &:hover {
179
+ @apply ax-border-primary-500 ax-text-primary-500;
180
+ }
181
+ }
182
+ }
183
+
184
+ &.ax-look-end-line {
185
+ ax-tab-item {
186
+ @apply ax-border-e-2 ax-border-solid ax-border-light-300 dark:ax-border-light-200/10;
187
+
188
+ &.ax-state-active {
189
+ @apply ax-border-primary-500 ax-text-primary-500;
190
+
191
+ &:hover {
192
+ @apply ax-border-primary-500;
193
+ }
194
+ }
195
+
196
+ &:hover {
197
+ @apply ax-border-primary-500 ax-text-primary-500;
198
+ }
199
+ }
200
+ }
201
+
202
+ &.ax-look-pills {
203
+ ax-tab-item {
204
+ @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200 ax-mb-1;
205
+ &:last-child {
206
+ @apply ax-mb-0;
207
+ }
208
+ &:hover {
209
+ @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-100;
210
+ }
211
+
212
+ &.ax-state-active {
213
+ @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-50;
214
+ }
215
+ }
216
+ }
217
+
218
+ &.ax-look-pills-color {
219
+ ax-tab-item {
220
+ @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200 ax-mb-1;
221
+ &:last-child {
222
+ @apply ax-mb-0;
223
+ }
224
+ &:hover {
225
+ @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-light-100;
226
+ }
227
+
228
+ &.ax-state-active {
229
+ @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-light-50;
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
235
+ }
@@ -8,7 +8,7 @@
8
8
 
9
9
  &:not(.ax-look-custom) {
10
10
  ax-tab-item {
11
- @apply ax-text-center ax-px-5 ax-cursor-pointer ax-whitespace-nowrap ax-flex ax-items-center ax-justify-center ax-relative ax-text-sm ax-font-medium;
11
+ @apply ax-text-center ax-px-5 ax-cursor-pointer ax-whitespace-nowrap ax-flex ax-items-center ax-justify-center ax-relative ax-text-sm ax-font-medium ax-select-none;
12
12
  min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
13
13
  line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
14
14
 
@@ -65,7 +65,7 @@
65
65
  &:hover,
66
66
  &.ax-state-active {
67
67
  &:not(.ax-state-disabled) {
68
- border-bottom-color: rgb(var(--ax-color-primary)) !important;
68
+ border-bottom-color: rgb(var(--ax-color-primary-500)) !important;
69
69
  }
70
70
  }
71
71
  }
@@ -158,7 +158,7 @@
158
158
  }
159
159
  &:hover,
160
160
  &.ax-state-active {
161
- border-inline-start-color: rgb(var(--ax-color-primary)) !important;
161
+ border-inline-start-color: rgb(var(--ax-color-primary-500)) !important;
162
162
  }
163
163
  }
164
164
  }
@@ -226,7 +226,7 @@
226
226
  }
227
227
 
228
228
  &.ax-state-active {
229
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-light-50;
229
+ @apply ax-bg-primary-200 ax-text-primary-900 dark:ax-text-light-50;
230
230
  }
231
231
  }
232
232
  }
@@ -10,7 +10,8 @@
10
10
  textarea {
11
11
  min-height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
12
12
  height: fit-content;
13
- @apply ax-w-full ax-text-sm ax-p-1.5;
13
+ line-height:1.7;
14
+ @apply ax-w-full ax-text-sm ax-p-2.5;
14
15
  @include control-states("editor");
15
16
 
16
17
  &:focus {
@@ -19,19 +20,13 @@
19
20
  }
20
21
  > .ax-prefix,
21
22
  > .ax-suffix {
22
- @apply ax-mb-2 ax-p-1.5 ax-absolute;
23
+ @apply ax-mb-2 ax-p-1.5;
23
24
  @include control-states("editor");
24
25
  .ax-button {
25
26
  @apply ax-text-sm;
26
27
  --ax-base-size: 5px;
27
28
  }
28
29
  }
29
- > .ax-prefix {
30
- @apply ax-top-0 ax-end-0;
31
- }
32
- > .ax-suffix {
33
- @apply ax-bottom-0 ax-end-0;
34
- }
35
30
 
36
31
  &.ax-state-disabled {
37
32
  @include control-states("editor-disabled");
@@ -1,16 +1,18 @@
1
1
  @layer components {
2
2
  ax-uploader {
3
- @apply ax-relative ax-w-full ax-rounded-default ax-border-2 ax-border-dashed ax-border-light-200 ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-text-light-400 ax-transition-all ax-bg-center ax-bg-cover;
4
- &:hover,
5
- &.ax-state-hover {
6
- @apply ax-border-primary-500 ax-text-primary-500;
7
- }
8
- &::before {
9
- content: "";
10
- @apply ax-pb-[100%];
11
- }
12
- .upload-icon {
13
- @apply ax-text-5xl;
3
+ &.ax-look-default {
4
+ @apply ax-relative ax-w-full ax-rounded-default ax-border-2 ax-border-dashed ax-border-light-200 dark:ax-border-white/30 ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-text-light-400 ax-transition-all ax-bg-center ax-bg-cover;
5
+ &:hover,
6
+ &.ax-state-hover {
7
+ @apply ax-border-primary-500 ax-text-primary-500;
8
+ }
9
+ &::before {
10
+ content: "";
11
+ @apply ax-pb-[100%];
12
+ }
13
+ .upload-icon {
14
+ @apply ax-text-5xl;
15
+ }
14
16
  }
15
17
  }
16
18
  }
@@ -1,7 +1,7 @@
1
- Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
2
-
3
- To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
4
-
5
- You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
6
-
7
- You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
1
+ Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
2
+
3
+ To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
4
+
5
+ You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
6
+
7
+ You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
@@ -1,152 +1,152 @@
1
- body {
2
- padding: 0;
3
- margin: 0;
4
- font-family: sans-serif;
5
- font-size: 1em;
6
- line-height: 1.5;
7
- color: #555;
8
- background: #fff;
9
- }
10
- h1 {
11
- font-size: 1.5em;
12
- font-weight: normal;
13
- }
14
- small {
15
- font-size: .66666667em;
16
- }
17
- a {
18
- color: #e74c3c;
19
- text-decoration: none;
20
- }
21
- a:hover, a:focus {
22
- box-shadow: 0 1px #e74c3c;
23
- }
24
- .bshadow0, input {
25
- box-shadow: inset 0 -2px #e7e7e7;
26
- }
27
- input:hover {
28
- box-shadow: inset 0 -2px #ccc;
29
- }
30
- input, fieldset {
31
- font-family: sans-serif;
32
- font-size: 1em;
33
- margin: 0;
34
- padding: 0;
35
- border: 0;
36
- }
37
- input {
38
- color: inherit;
39
- line-height: 1.5;
40
- height: 1.5em;
41
- padding: .25em 0;
42
- }
43
- input:focus {
44
- outline: none;
45
- box-shadow: inset 0 -2px #449fdb;
46
- }
47
- .glyph {
48
- font-size: 16px;
49
- width: 15em;
50
- padding-bottom: 1em;
51
- margin-right: 4em;
52
- margin-bottom: 1em;
53
- float: left;
54
- overflow: hidden;
55
- }
56
- .liga {
57
- width: 80%;
58
- width: calc(100% - 2.5em);
59
- }
60
- .talign-right {
61
- text-align: right;
62
- }
63
- .talign-center {
64
- text-align: center;
65
- }
66
- .bgc1 {
67
- background: #f1f1f1;
68
- }
69
- .fgc1 {
70
- color: #999;
71
- }
72
- .fgc0 {
73
- color: #000;
74
- }
75
- p {
76
- margin-top: 1em;
77
- margin-bottom: 1em;
78
- }
79
- .mvm {
80
- margin-top: .75em;
81
- margin-bottom: .75em;
82
- }
83
- .mtn {
84
- margin-top: 0;
85
- }
86
- .mtl, .mal {
87
- margin-top: 1.5em;
88
- }
89
- .mbl, .mal {
90
- margin-bottom: 1.5em;
91
- }
92
- .mal, .mhl {
93
- margin-left: 1.5em;
94
- margin-right: 1.5em;
95
- }
96
- .mhmm {
97
- margin-left: 1em;
98
- margin-right: 1em;
99
- }
100
- .mls {
101
- margin-left: .25em;
102
- }
103
- .ptl {
104
- padding-top: 1.5em;
105
- }
106
- .pbs, .pvs {
107
- padding-bottom: .25em;
108
- }
109
- .pvs, .pts {
110
- padding-top: .25em;
111
- }
112
- .unit {
113
- float: left;
114
- }
115
- .unitRight {
116
- float: right;
117
- }
118
- .size1of2 {
119
- width: 50%;
120
- }
121
- .size1of1 {
122
- width: 100%;
123
- }
124
- .clearfix:before, .clearfix:after {
125
- content: " ";
126
- display: table;
127
- }
128
- .clearfix:after {
129
- clear: both;
130
- }
131
- .hidden-true {
132
- display: none;
133
- }
134
- .textbox0 {
135
- width: 3em;
136
- background: #f1f1f1;
137
- padding: .25em .5em;
138
- line-height: 1.5;
139
- height: 1.5em;
140
- }
141
- #testDrive {
142
- display: block;
143
- padding-top: 24px;
144
- line-height: 1.5;
145
- }
146
- .fs0 {
147
- font-size: 16px;
148
- }
149
- .fs1 {
150
- font-size: 32px;
151
- }
152
-
1
+ body {
2
+ padding: 0;
3
+ margin: 0;
4
+ font-family: sans-serif;
5
+ font-size: 1em;
6
+ line-height: 1.5;
7
+ color: #555;
8
+ background: #fff;
9
+ }
10
+ h1 {
11
+ font-size: 1.5em;
12
+ font-weight: normal;
13
+ }
14
+ small {
15
+ font-size: .66666667em;
16
+ }
17
+ a {
18
+ color: #e74c3c;
19
+ text-decoration: none;
20
+ }
21
+ a:hover, a:focus {
22
+ box-shadow: 0 1px #e74c3c;
23
+ }
24
+ .bshadow0, input {
25
+ box-shadow: inset 0 -2px #e7e7e7;
26
+ }
27
+ input:hover {
28
+ box-shadow: inset 0 -2px #ccc;
29
+ }
30
+ input, fieldset {
31
+ font-family: sans-serif;
32
+ font-size: 1em;
33
+ margin: 0;
34
+ padding: 0;
35
+ border: 0;
36
+ }
37
+ input {
38
+ color: inherit;
39
+ line-height: 1.5;
40
+ height: 1.5em;
41
+ padding: .25em 0;
42
+ }
43
+ input:focus {
44
+ outline: none;
45
+ box-shadow: inset 0 -2px #449fdb;
46
+ }
47
+ .glyph {
48
+ font-size: 16px;
49
+ width: 15em;
50
+ padding-bottom: 1em;
51
+ margin-right: 4em;
52
+ margin-bottom: 1em;
53
+ float: left;
54
+ overflow: hidden;
55
+ }
56
+ .liga {
57
+ width: 80%;
58
+ width: calc(100% - 2.5em);
59
+ }
60
+ .talign-right {
61
+ text-align: right;
62
+ }
63
+ .talign-center {
64
+ text-align: center;
65
+ }
66
+ .bgc1 {
67
+ background: #f1f1f1;
68
+ }
69
+ .fgc1 {
70
+ color: #999;
71
+ }
72
+ .fgc0 {
73
+ color: #000;
74
+ }
75
+ p {
76
+ margin-top: 1em;
77
+ margin-bottom: 1em;
78
+ }
79
+ .mvm {
80
+ margin-top: .75em;
81
+ margin-bottom: .75em;
82
+ }
83
+ .mtn {
84
+ margin-top: 0;
85
+ }
86
+ .mtl, .mal {
87
+ margin-top: 1.5em;
88
+ }
89
+ .mbl, .mal {
90
+ margin-bottom: 1.5em;
91
+ }
92
+ .mal, .mhl {
93
+ margin-left: 1.5em;
94
+ margin-right: 1.5em;
95
+ }
96
+ .mhmm {
97
+ margin-left: 1em;
98
+ margin-right: 1em;
99
+ }
100
+ .mls {
101
+ margin-left: .25em;
102
+ }
103
+ .ptl {
104
+ padding-top: 1.5em;
105
+ }
106
+ .pbs, .pvs {
107
+ padding-bottom: .25em;
108
+ }
109
+ .pvs, .pts {
110
+ padding-top: .25em;
111
+ }
112
+ .unit {
113
+ float: left;
114
+ }
115
+ .unitRight {
116
+ float: right;
117
+ }
118
+ .size1of2 {
119
+ width: 50%;
120
+ }
121
+ .size1of1 {
122
+ width: 100%;
123
+ }
124
+ .clearfix:before, .clearfix:after {
125
+ content: " ";
126
+ display: table;
127
+ }
128
+ .clearfix:after {
129
+ clear: both;
130
+ }
131
+ .hidden-true {
132
+ display: none;
133
+ }
134
+ .textbox0 {
135
+ width: 3em;
136
+ background: #f1f1f1;
137
+ padding: .25em .5em;
138
+ line-height: 1.5;
139
+ height: 1.5em;
140
+ }
141
+ #testDrive {
142
+ display: block;
143
+ padding-top: 24px;
144
+ line-height: 1.5;
145
+ }
146
+ .fs0 {
147
+ font-size: 16px;
148
+ }
149
+ .fs1 {
150
+ font-size: 32px;
151
+ }
152
+