@acorex/styles 5.4.0 → 5.7.0
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/base/index.scss +0 -1
- package/src/components/_alert.scss +34 -28
- package/src/components/_button.scss +510 -394
- package/src/components/_calendar.scss +36 -18
- package/src/components/_collapse.scss +5 -4
- package/src/components/_color-palette.scss +90 -9
- package/src/components/_color-picker.scss +15 -5
- package/src/components/_data-table.scss +41 -0
- package/src/components/_datapager.scss +35 -26
- package/src/components/_decoration.scss +16 -11
- package/src/components/_dialog.scss +2 -2
- package/src/components/_drawer.scss +13 -5
- package/src/components/_dropdown.scss +10 -2
- package/src/components/_editor-container.scss +10 -5
- package/src/components/_fieldset.scss +1 -1
- package/src/components/_list.scss +4 -0
- package/src/components/_popup.scss +9 -1
- package/src/components/_range-slider.scss +59 -2
- package/src/components/_table.scss +40 -7
- package/src/components/_tabs.scss +12 -8
- package/src/components/index.scss +2 -1
- package/src/icons/demo-files/demo.css +152 -152
- package/src/icons/demo-files/demo.js +30 -30
- package/src/icons/demo.html +57 -1
- package/src/icons/fonts/acorex-icon.eot +0 -0
- package/src/icons/fonts/acorex-icon.svg +4 -0
- 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 +17 -5
- package/src/icons/style.scss +25 -5
- package/src/icons/variables.scss +4 -0
- package/src/utility/_mixins.scss +32 -25
- package/src/utility/index.scss +7 -0
- package/src/variables/_colors.scss +15 -14
@@ -1,7 +1,8 @@
|
|
1
1
|
@layer components {
|
2
|
-
|
2
|
+
ax-range-slider {
|
3
3
|
@apply ax-w-full;
|
4
|
-
|
4
|
+
--ax-current-value:0%;
|
5
|
+
input {
|
5
6
|
@apply ax-appearance-none ax-w-full ax-h-2 ax-bg-light-100 ax-rounded-full ax-outline-none ax-transition-all dark:ax-bg-light-600;
|
6
7
|
&::-webkit-slider-thumb {
|
7
8
|
@apply ax-appearance-none ax-w-5 ax-h-5 ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 ax-rounded-full ax-cursor-pointer dark:ax-bg-light-500;
|
@@ -11,5 +12,61 @@
|
|
11
12
|
}
|
12
13
|
|
13
14
|
}
|
15
|
+
|
16
|
+
&.ax-primary-default
|
17
|
+
{
|
18
|
+
input {
|
19
|
+
background: linear-gradient(to right, rgb(var(--ax-color-primary-500)) 0%, rgb(var(--ax-color-primary-500)) var(--ax-current-value),rgb(var(--ax-color-light-100)) var(--ax-current-value), rgb(var(--ax-color-light-100)) 100%);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
&.ax-secondary-default
|
24
|
+
{
|
25
|
+
input {
|
26
|
+
background: linear-gradient(to right, rgb(var(--ax-color-secondary-500)) 0%, rgb(var(--ax-color-secondary-500)) var(--ax-current-value),rgb(var(--ax-color-light-100)) var(--ax-current-value), rgb(var(--ax-color-light-100)) 100%);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
&.ax-danger-default
|
31
|
+
{
|
32
|
+
input {
|
33
|
+
background: linear-gradient(to right, rgb(var(--ax-color-danger-500)) 0%, rgb(var(--ax-color-danger-500)) var(--ax-current-value),rgb(var(--ax-color-light-100)) var(--ax-current-value), rgb(var(--ax-color-light-100)) 100%);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
&.ax-success-default
|
38
|
+
{
|
39
|
+
input {
|
40
|
+
background: linear-gradient(to right, rgb(var(--ax-color-success-500)) 0%, rgb(var(--ax-color-success-500)) var(--ax-current-value),rgb(var(--ax-color-light-100)) var(--ax-current-value), rgb(var(--ax-color-light-100)) 100%);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
&.ax-warning-default
|
45
|
+
{
|
46
|
+
input {
|
47
|
+
background: linear-gradient(to right, rgb(var(--ax-color-warning-500)) 0%, rgb(var(--ax-color-warning-500)) var(--ax-current-value),rgb(var(--ax-color-light-100)) var(--ax-current-value), rgb(var(--ax-color-light-100)) 100%);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
&.ax-info-default
|
52
|
+
{
|
53
|
+
input {
|
54
|
+
background: linear-gradient(to right, rgb(var(--ax-color-info-500)) 0%, rgb(var(--ax-color-info-500)) var(--ax-current-value),rgb(var(--ax-color-light-100)) var(--ax-current-value), rgb(var(--ax-color-light-100)) 100%);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
&.ax-light-default
|
59
|
+
{
|
60
|
+
input {
|
61
|
+
background: linear-gradient(to right, rgb(var(--ax-color-light-500)) 0%, rgb(var(--ax-color-light-500)) var(--ax-current-value),rgb(var(--ax-color-light-100)) var(--ax-current-value), rgb(var(--ax-color-light-100)) 100%);
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&.ax-dark-default
|
66
|
+
{
|
67
|
+
input {
|
68
|
+
background: linear-gradient(to right, rgb(var(--ax-color-dark-500)) 0%, rgb(var(--ax-color-dark-500)) var(--ax-current-value),rgb(var(--ax-color-light-100)) var(--ax-current-value), rgb(var(--ax-color-light-100)) 100%);
|
69
|
+
}
|
70
|
+
}
|
14
71
|
}
|
15
72
|
}
|
@@ -1,26 +1,59 @@
|
|
1
1
|
@layer components {
|
2
2
|
.ax-table {
|
3
|
-
@apply
|
3
|
+
@apply ax-w-full ax-rounded-md ax-border-collapse ax-border ax-border-light-200 dark:ax-border-white/[0.06] ;
|
4
4
|
td {
|
5
|
-
@apply ax-border-b ax-border-light-200 dark:ax-border-
|
5
|
+
@apply ax-border-b ax-border-light-200 dark:ax-border-white/[0.06] ax-px-6 ax-py-4 ax-text-sm;
|
6
6
|
}
|
7
7
|
thead {
|
8
|
+
@apply ax-bg-light-100 dark:ax-bg-light-700 ax-shadow-sm ax-border-b ax-border-light-200 dark:ax-border-white/[0.06];
|
8
9
|
th {
|
9
10
|
@apply ax-text-sm ax-font-bold ax-text-start ax-py-4 ax-px-6;
|
10
11
|
}
|
11
|
-
|
12
|
-
@apply ax-border-b ax-border-light-200 dark:ax-border-dark-400;
|
13
|
-
}
|
12
|
+
|
14
13
|
}
|
15
14
|
&.ax-table-alternate {
|
16
15
|
tbody {
|
17
16
|
tr {
|
18
|
-
&:nth-child(
|
17
|
+
&:nth-child(even) {
|
19
18
|
@apply ax-bg-light-100 dark:ax-bg-dark-400/20;
|
20
19
|
}
|
21
20
|
}
|
22
21
|
}
|
23
22
|
}
|
23
|
+
&.ax-table-bordered {
|
24
|
+
thead {
|
25
|
+
th {
|
26
|
+
@apply ax-border-t-0 #{!important};
|
27
|
+
}
|
28
|
+
}
|
29
|
+
tbody {
|
30
|
+
|
31
|
+
tr {
|
32
|
+
&:last-child {
|
33
|
+
td {
|
34
|
+
@apply ax-border-b-0;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
td {
|
38
|
+
&:last-child {
|
39
|
+
@apply ax-border-b-0;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
td,
|
46
|
+
th {
|
47
|
+
@apply ax-border ax-border-light-200 dark:ax-border-white/[0.06];
|
48
|
+
&:first-child {
|
49
|
+
@apply ax-border-s-0;
|
50
|
+
}
|
51
|
+
&:last-child {
|
52
|
+
@apply ax-border-e-0;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
}
|
24
57
|
@media screen and (max-width: 601px) {
|
25
58
|
&.ax-table-responsive {
|
26
59
|
@apply ax-break-words ax-block ax-border-0;
|
@@ -36,7 +69,7 @@
|
|
36
69
|
}
|
37
70
|
}
|
38
71
|
tr {
|
39
|
-
@apply ax-border ax-border-light-200 dark:ax-border-
|
72
|
+
@apply ax-border ax-border-light-200 dark:ax-border-white/[0.06];
|
40
73
|
}
|
41
74
|
tr,
|
42
75
|
tbody {
|
@@ -11,9 +11,9 @@
|
|
11
11
|
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
|
12
12
|
|
13
13
|
&.ax-state-disabled {
|
14
|
-
background-color: rgb(var(--ax-color-disabled)) !important;
|
15
|
-
color: rgb(var(--ax-color-disabled-fore)) !important;
|
16
|
-
cursor
|
14
|
+
// background-color: rgb(var(--ax-color-disabled)) !important;
|
15
|
+
// color: rgb(var(--ax-color-disabled-fore)) !important;
|
16
|
+
@apply ax-opacity-50 ax-cursor-not-allowed #{!important}
|
17
17
|
}
|
18
18
|
|
19
19
|
&.ax-state-active {
|
@@ -49,22 +49,26 @@
|
|
49
49
|
@include control-states("editor");
|
50
50
|
|
51
51
|
ax-tab-item {
|
52
|
-
@apply ax-bg-white ax-border-
|
52
|
+
@apply ax-bg-white ax-border-e ax-border-b-2 ax-border-solid ax-border-light-300 dark:ax-text-light-200;
|
53
53
|
@include control-states("editor");
|
54
54
|
|
55
55
|
border-bottom-color: transparent !important;
|
56
56
|
|
57
57
|
&:first-child {
|
58
|
-
@apply ax-rounded-
|
58
|
+
@apply ax-rounded-s;
|
59
59
|
}
|
60
60
|
|
61
61
|
&:last-child {
|
62
|
-
@apply ax-rounded-
|
62
|
+
@apply ax-rounded-e ax-border-e-0;
|
63
63
|
}
|
64
64
|
|
65
65
|
&:hover,
|
66
|
-
&.ax-state-active
|
67
|
-
|
66
|
+
&.ax-state-active,
|
67
|
+
{
|
68
|
+
&:not(.ax-state-disabled){
|
69
|
+
border-bottom-color: rgb(var(--ax-color-primary)) !important;
|
70
|
+
|
71
|
+
}
|
68
72
|
}
|
69
73
|
}
|
70
74
|
}
|
@@ -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
|
+
}());
|
package/src/icons/demo.html
CHANGED
@@ -9,10 +9,66 @@
|
|
9
9
|
<link rel="stylesheet" href="style.css"></head>
|
10
10
|
<body>
|
11
11
|
<div class="bgc1 clearfix">
|
12
|
-
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> acorex-icon <small class="fgc1">(Glyphs:
|
12
|
+
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> acorex-icon <small class="fgc1">(Glyphs: 37)</small></h1>
|
13
13
|
</div>
|
14
14
|
<div class="clearfix mhl ptl">
|
15
15
|
<h1 class="mvm mtn fgc1">Grid Size: 16</h1>
|
16
|
+
<div class="glyph fs1">
|
17
|
+
<div class="clearfix bshadow0 pbs">
|
18
|
+
<span class="ax-ic-empty-box"></span>
|
19
|
+
<span class="mls"> ax-ic-empty-box</span>
|
20
|
+
</div>
|
21
|
+
<fieldset class="fs0 size1of1 clearfix hidden-false">
|
22
|
+
<input type="text" readonly value="e924" class="unit size1of2" />
|
23
|
+
<input type="text" maxlength="1" readonly value="" class="unitRight size1of2 talign-right" />
|
24
|
+
</fieldset>
|
25
|
+
<div class="fs0 bshadow0 clearfix hidden-true">
|
26
|
+
<span class="unit pvs fgc1">liga: </span>
|
27
|
+
<input type="text" readonly value="" class="liga unitRight" />
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div class="glyph fs1">
|
31
|
+
<div class="clearfix bshadow0 pbs">
|
32
|
+
<span class="ax-ic-colorize"></span>
|
33
|
+
<span class="mls"> ax-ic-colorize</span>
|
34
|
+
</div>
|
35
|
+
<fieldset class="fs0 size1of1 clearfix hidden-false">
|
36
|
+
<input type="text" readonly value="e921" class="unit size1of2" />
|
37
|
+
<input type="text" maxlength="1" readonly value="" class="unitRight size1of2 talign-right" />
|
38
|
+
</fieldset>
|
39
|
+
<div class="fs0 bshadow0 clearfix hidden-true">
|
40
|
+
<span class="unit pvs fgc1">liga: </span>
|
41
|
+
<input type="text" readonly value="" class="liga unitRight" />
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
<div class="glyph fs1">
|
45
|
+
<div class="clearfix bshadow0 pbs">
|
46
|
+
<span class="ax-ic-pase"></span>
|
47
|
+
<span class="mls"> ax-ic-pase</span>
|
48
|
+
</div>
|
49
|
+
<fieldset class="fs0 size1of1 clearfix hidden-false">
|
50
|
+
<input type="text" readonly value="e922" class="unit size1of2" />
|
51
|
+
<input type="text" maxlength="1" readonly value="" class="unitRight size1of2 talign-right" />
|
52
|
+
</fieldset>
|
53
|
+
<div class="fs0 bshadow0 clearfix hidden-true">
|
54
|
+
<span class="unit pvs fgc1">liga: </span>
|
55
|
+
<input type="text" readonly value="" class="liga unitRight" />
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
<div class="glyph fs1">
|
59
|
+
<div class="clearfix bshadow0 pbs">
|
60
|
+
<span class="ax-ic-copy"></span>
|
61
|
+
<span class="mls"> ax-ic-copy</span>
|
62
|
+
</div>
|
63
|
+
<fieldset class="fs0 size1of1 clearfix hidden-false">
|
64
|
+
<input type="text" readonly value="e923" class="unit size1of2" />
|
65
|
+
<input type="text" maxlength="1" readonly value="" class="unitRight size1of2 talign-right" />
|
66
|
+
</fieldset>
|
67
|
+
<div class="fs0 bshadow0 clearfix hidden-true">
|
68
|
+
<span class="unit pvs fgc1">liga: </span>
|
69
|
+
<input type="text" readonly value="" class="liga unitRight" />
|
70
|
+
</div>
|
71
|
+
</div>
|
16
72
|
<div class="glyph fs1">
|
17
73
|
<div class="clearfix bshadow0 pbs">
|
18
74
|
<span class="ax-ic-star-filled"></span>
|
Binary file
|
@@ -40,4 +40,8 @@
|
|
40
40
|
<glyph unicode="" glyph-name="star-filled" d="M512 223.147l263.68-159.147-69.973 299.947 232.96 201.813-306.773 26.027-119.893 282.88-119.893-282.88-306.773-26.027 232.96-201.813-69.973-299.947 263.68 159.147z" />
|
41
41
|
<glyph unicode="" glyph-name="star-half-filled" d="M512 580.693l40.107-132.693h120.32l-96.853-69.12 39.68-128.427-103.253 78.507-103.253-78.507 39.68 128.427-96.853 69.12h120.32l40.107 132.693zM512 874.667l-103.253-341.333h-323.413l263.253-188.16-99.84-323.84 263.253 200.107 263.68-200.107-100.267 323.84 263.253 188.16h-323.413l-103.253 341.333z" />
|
42
42
|
<glyph unicode="" glyph-name="star-outline" d="M938.667 565.76l-306.773 26.453-119.893 282.453-119.893-282.88-306.773-26.027 232.96-201.813-69.973-299.947 263.68 159.147 263.68-159.147-69.547 299.947 232.533 201.813zM512 302.933l-160.427-96.853 42.667 182.613-141.653 122.88 186.88 16.213 72.533 171.947 72.96-172.373 186.88-16.213-141.653-122.88 42.667-182.613-160.853 97.28z" />
|
43
|
+
<glyph unicode="" glyph-name="colorize" d="M128 64v179.2l402.133 402.133-76.8 76.8 43.733 43.733 98.133-98.133 151.467 151.467q11.733 11.733 25.067 11.733t25.067-11.733l86.4-86.4q11.733-11.733 11.733-25.067t-11.733-25.067l-151.467-151.467 98.133-98.133-43.733-43.733-76.8 76.8-402.133-402.133zM192 128h92.8l378.667 378.667-92.8 92.8-378.667-378.667zM685.867 576l132.267 132.267-45.867 45.867-132.267-132.267zM685.867 576v0z" />
|
44
|
+
<glyph unicode="" glyph-name="pase" d="M512 768q18.133 0 30.4 12.267t12.267 30.4-12.267 30.4-30.4 12.267-30.4-12.267-12.267-30.4 12.267-30.4 30.4-12.267zM192 64q-27.733 0-45.867 18.133t-18.133 45.867v640q0 27.733 18.133 45.867t45.867 18.133h215.467q7.467 37.333 36.8 61.333t67.733 24 67.733-24 36.8-61.333h215.467q27.733 0 45.867-18.133t18.133-45.867v-640q0-27.733-18.133-45.867t-45.867-18.133zM192 128h640q0 0 0 0t0 0v640q0 0 0 0t0 0h-64v-96h-512v96h-64q0 0 0 0t0 0v-640q0 0 0 0t0 0z" />
|
45
|
+
<glyph unicode="" glyph-name="copy" d="M320 150.4q-25.6 0-44.8 19.2t-19.2 44.8v597.333q0 25.6 19.2 44.8t44.8 19.2h469.333q25.6 0 44.8-19.2t19.2-44.8v-597.333q0-25.6-19.2-44.8t-44.8-19.2zM320 214.4h469.333q0 0 0 0t0 0v597.333q0 0 0 0t0 0h-469.333q0 0 0 0t0 0v-597.333q0 0 0 0t0 0zM192 22.4q-25.6 0-44.8 19.2t-19.2 44.8v643.2h64v-643.2q0 0 0 0t0 0h505.6v-64zM320 811.733q0 0 0 0t0 0v-597.333q0 0 0 0t0 0 0 0 0 0v597.333q0 0 0 0t0 0z" />
|
46
|
+
<glyph unicode="" glyph-name="empty-box" d="M1014.681 608.85c-0.047 0.062-0.073 0.129-0.126 0.193l-111.222 138.473c-1.25 1.554-2.662 2.892-4.164 4.089-4.787 5.678-11.868 9.364-19.873 9.364h-734.589c-8.012 0-15.080-3.681-19.869-9.364-1.503-1.197-2.917-2.522-4.178-4.089l-111.209-138.473c-0.051-0.064-0.075-0.131-0.126-0.193-5.656-4.789-9.324-11.848-9.324-19.834v-427.898c0-14.406 11.68-26.088 26.086-26.088h971.831c14.406 0 26.086 11.682 26.086 26.088v427.898c0.002 7.985-3.668 15.044-9.322 19.834zM905.387 661.655l37.395-46.553h-37.395v46.553zM853.213 708.795v-93.691h-195.332c-5.572 0-10.982-1.784-15.467-5.082l-130.399-95.963-130.426 95.976c-4.484 3.285-9.898 5.069-15.465 5.069h-195.334v93.691h682.424zM118.622 615.102h-37.395l37.395 46.553v-46.553zM971.835 187.205h-919.664v375.726h305.395l138.985-102.277c9.198-6.751 21.731-6.764 30.926 0.011l138.956 102.268h305.401v-375.729z" />
|
43
47
|
</font></defs></svg>
|
Binary file
|
Binary file
|