@acorex/styles 6.1.0 → 6.1.2
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/package.json +1 -1
- package/src/components/_alert.scss +245 -643
- package/src/components/_avatar.scss +2 -2
- package/src/components/_button.scss +14 -3
- package/src/components/_calendar.scss +2 -2
- package/src/components/_decoration.scss +18 -17
- package/src/components/_editor-container.scss +1 -1
- package/src/components/_list.scss +1 -1
- package/src/components/_textarea.scss +2 -2
- package/src/icons/Read Me.txt +7 -7
- package/src/icons/demo-files/demo.css +152 -152
- package/src/icons/demo-files/demo.js +30 -30
- package/src/icons/demo.html +738 -626
- package/src/icons/fonts/acorex-icon.eot +0 -0
- package/src/icons/fonts/acorex-icon.svg +59 -51
- package/src/icons/fonts/acorex-icon.ttf +0 -0
- package/src/icons/fonts/acorex-icon.woff +0 -0
- package/src/icons/selection.json +1 -1
- package/src/icons/style.css +177 -153
- package/src/icons/style.scss +280 -240
- package/src/icons/variables.scss +54 -46
- package/src/utility/index.scss +3 -0
- package/src/variables/_colors.scss +12 -12
@@ -58,10 +58,10 @@
|
|
58
58
|
.ax-default {
|
59
59
|
@apply ax-fill-success-500;
|
60
60
|
}
|
61
|
-
|
61
|
+
ax-text {
|
62
62
|
@apply ax-bg-success-100 ax-text-success-500 dark:ax-bg-success-500 dark:ax-text-success-fore;
|
63
63
|
}
|
64
|
-
|
64
|
+
ax-icon {
|
65
65
|
@apply ax-bg-success-500;
|
66
66
|
}
|
67
67
|
}
|
@@ -11,14 +11,15 @@
|
|
11
11
|
@apply ax-outline-none;
|
12
12
|
outline: none;
|
13
13
|
}
|
14
|
-
.ax-button-text{
|
14
|
+
.ax-button-text {
|
15
15
|
@apply ax-px-2;
|
16
16
|
}
|
17
17
|
}
|
18
18
|
&:focus {
|
19
19
|
@apply ax-outline-none;
|
20
20
|
}
|
21
|
-
.ax-prefix
|
21
|
+
.ax-prefix,
|
22
|
+
.ax-suffix {
|
22
23
|
@apply ax-flex ax-flex-row;
|
23
24
|
}
|
24
25
|
|
@@ -29,7 +30,7 @@
|
|
29
30
|
@apply ax-text-xs;
|
30
31
|
}
|
31
32
|
|
32
|
-
&.ax-lg{
|
33
|
+
&.ax-lg {
|
33
34
|
@apply ax-text-base #{!important};
|
34
35
|
}
|
35
36
|
|
@@ -910,4 +911,14 @@
|
|
910
911
|
}
|
911
912
|
}
|
912
913
|
}
|
914
|
+
|
915
|
+
.ax-button-control {
|
916
|
+
@apply ax-text-default-color ax-cursor-pointer ax-text-sm ax-p-2 ax-rounded-default ax-flex ax-items-center ax-justify-center;
|
917
|
+
ax-icon {
|
918
|
+
@apply ax-text-2xl ax-leading-none;
|
919
|
+
}
|
920
|
+
&:hover {
|
921
|
+
@apply ax-bg-light-200 dark:ax-bg-white/[0.12];
|
922
|
+
}
|
923
|
+
}
|
913
924
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
@include screen(mobile) {
|
5
5
|
@apply ax-w-full;
|
6
6
|
}
|
7
|
-
|
7
|
+
|
8
8
|
&.ax-rtl {
|
9
9
|
.ax-calendar-header {
|
10
10
|
.ax-calendar-header-buttons {
|
@@ -175,7 +175,7 @@
|
|
175
175
|
}
|
176
176
|
|
177
177
|
.ax-calendar-footer {
|
178
|
-
@apply ax-flex ax-justify-center ax-p-2 ax-
|
178
|
+
@apply ax-flex ax-justify-center ax-p-2 ax-border-t ax-border-black/[0.12] dark:ax-border-white/[0.12];
|
179
179
|
}
|
180
180
|
}
|
181
181
|
.ax-calendar-picker {
|
@@ -1,37 +1,38 @@
|
|
1
1
|
@layer components {
|
2
|
-
|
3
2
|
.ax-decoration-container,
|
4
3
|
.ax-header,
|
5
|
-
.ax-footer
|
6
|
-
{
|
4
|
+
.ax-footer {
|
7
5
|
@apply ax-flex ax-justify-between ax-items-center ax-gap-2 ax-bg-white;
|
8
6
|
@include control-states("surface");
|
9
|
-
|
10
|
-
|
11
|
-
@apply ax-flex ax-flex-auto ax-flex-row ax-gap-2 ax-items-center
|
7
|
+
& > .ax-prefix,
|
8
|
+
& > .ax-suffix {
|
9
|
+
@apply ax-flex ax-flex-auto ax-flex-row ax-gap-2 ax-items-center;
|
12
10
|
}
|
13
|
-
|
14
|
-
@apply ax-order-first ax-justify-start ax-items-center
|
11
|
+
& > .ax-prefix {
|
12
|
+
@apply ax-order-first ax-justify-start ax-items-center;
|
15
13
|
}
|
16
|
-
|
17
|
-
@apply ax-order-last ax-justify-end ax-items-center
|
14
|
+
& > .ax-suffix {
|
15
|
+
@apply ax-order-last ax-justify-end ax-items-center;
|
18
16
|
}
|
19
|
-
|
20
|
-
}
|
21
|
-
|
22
|
-
.ax-title {
|
23
|
-
@apply ax-font-normal;
|
24
17
|
}
|
25
18
|
|
19
|
+
.ax-title,
|
26
20
|
.ax-icon {
|
27
21
|
@apply ax-font-medium;
|
28
22
|
}
|
29
23
|
|
24
|
+
.ax-title{
|
25
|
+
@apply ax-text-base ax-text-black/[0.87] dark:ax-text-white;
|
26
|
+
}
|
27
|
+
.ax-sub-title {
|
28
|
+
@apply ax-text-sm ax-font-normal ax-text-black/60 dark:ax-text-white;
|
29
|
+
}
|
30
30
|
.ax-close-button {
|
31
|
+
@apply ax-w-6 ax-h-6 ax-grid ax-place-items-center ax-cursor-pointer;
|
31
32
|
.ax-icon {
|
32
|
-
@apply ax-text-
|
33
|
+
@apply ax-text-black/50 dark:ax-text-white ax-text-xl;
|
33
34
|
&:hover {
|
34
|
-
@apply ax-text-
|
35
|
+
@apply ax-text-black/75 dark:ax-text-white;
|
35
36
|
}
|
36
37
|
}
|
37
38
|
}
|
@@ -38,7 +38,7 @@
|
|
38
38
|
}
|
39
39
|
|
40
40
|
.ax-list-item {
|
41
|
-
height: calc(var(--ax-base-size) * var(--ax-base-ratio)
|
41
|
+
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
42
42
|
@apply ax-text-sm ax-flex ax-items-center ax-px-3 ax-text-light-700 dark:ax-text-light-100;
|
43
43
|
|
44
44
|
&:focus,
|
@@ -1,11 +1,11 @@
|
|
1
1
|
@layer components {
|
2
2
|
.ax-textarea {
|
3
3
|
min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
4
|
-
@apply ax-relative ax-flex ax-flex-col ax-rounded ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 ax-overflow-hidden ax-w-full;
|
4
|
+
@apply ax-relative ax-h-auto ax-flex ax-flex-col ax-rounded ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 ax-overflow-hidden ax-w-full;
|
5
5
|
@include control-states("editor");
|
6
6
|
|
7
7
|
&:focus-within {
|
8
|
-
@apply ax-ring-2 ax-ring-primary-500 ax-ring-opacity-100
|
8
|
+
@apply ax-ring-2 ax-ring-primary-500 ax-ring-opacity-100 ;
|
9
9
|
}
|
10
10
|
textarea {
|
11
11
|
min-height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
package/src/icons/Read Me.txt
CHANGED
@@ -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
|
+
|
@@ -1,30 +1,30 @@
|
|
1
|
-
if (!('boxShadow' in document.body.style)) {
|
2
|
-
document.body.setAttribute('class', 'noBoxShadow');
|
3
|
-
}
|
4
|
-
|
5
|
-
document.body.addEventListener("click", function(e) {
|
6
|
-
var target = e.target;
|
7
|
-
if (target.tagName === "INPUT" &&
|
8
|
-
target.getAttribute('class').indexOf('liga') === -1) {
|
9
|
-
target.select();
|
10
|
-
}
|
11
|
-
});
|
12
|
-
|
13
|
-
(function() {
|
14
|
-
var fontSize = document.getElementById('fontSize'),
|
15
|
-
testDrive = document.getElementById('testDrive'),
|
16
|
-
testText = document.getElementById('testText');
|
17
|
-
function updateTest() {
|
18
|
-
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
19
|
-
if (window.icomoonLiga) {
|
20
|
-
window.icomoonLiga(testDrive);
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function updateSize() {
|
24
|
-
testDrive.style.fontSize = fontSize.value + 'px';
|
25
|
-
}
|
26
|
-
fontSize.addEventListener('change', updateSize, false);
|
27
|
-
testText.addEventListener('input', updateTest, false);
|
28
|
-
testText.addEventListener('change', updateTest, false);
|
29
|
-
updateSize();
|
30
|
-
}());
|
1
|
+
if (!('boxShadow' in document.body.style)) {
|
2
|
+
document.body.setAttribute('class', 'noBoxShadow');
|
3
|
+
}
|
4
|
+
|
5
|
+
document.body.addEventListener("click", function(e) {
|
6
|
+
var target = e.target;
|
7
|
+
if (target.tagName === "INPUT" &&
|
8
|
+
target.getAttribute('class').indexOf('liga') === -1) {
|
9
|
+
target.select();
|
10
|
+
}
|
11
|
+
});
|
12
|
+
|
13
|
+
(function() {
|
14
|
+
var fontSize = document.getElementById('fontSize'),
|
15
|
+
testDrive = document.getElementById('testDrive'),
|
16
|
+
testText = document.getElementById('testText');
|
17
|
+
function updateTest() {
|
18
|
+
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
19
|
+
if (window.icomoonLiga) {
|
20
|
+
window.icomoonLiga(testDrive);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function updateSize() {
|
24
|
+
testDrive.style.fontSize = fontSize.value + 'px';
|
25
|
+
}
|
26
|
+
fontSize.addEventListener('change', updateSize, false);
|
27
|
+
testText.addEventListener('input', updateTest, false);
|
28
|
+
testText.addEventListener('change', updateTest, false);
|
29
|
+
updateSize();
|
30
|
+
}());
|