@acorex/styles 7.5.0 → 7.8.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/_normalize.scss +34 -20
- package/src/icons/demo-files/demo.js +23 -24
- package/src/icons/selection.json +1103 -1
- package/src/mixins/_appearance.scss +7 -5
- package/src/shared/_drop-down.scss +13 -5
- package/src/shared/_editor-container.scss +28 -24
- package/src/shared/_general-button.scss +27 -8
- package/src/shared/_list.scss +4 -4
- package/src/shared/_table.scss +3 -3
- package/src/shared/_utils.scss +26 -20
- package/src/shared/index.scss +11 -13
- package/src/themes/default.scss +22 -23
- package/src/variables/_colors.scss +1 -1
- package/tailwind-base.js +14 -20
- package/src/shared/_icon-control.scss +0 -0
- package/src/shared/_skeleton.scss +0 -26
package/package.json
CHANGED
package/src/base/_normalize.scss
CHANGED
@@ -33,7 +33,8 @@
|
|
33
33
|
5. Use the user's configured `sans` font-feature-settings by default.
|
34
34
|
*/
|
35
35
|
|
36
|
-
html
|
36
|
+
html,
|
37
|
+
:host {
|
37
38
|
line-height: 1.5;
|
38
39
|
/* 1 */
|
39
40
|
-webkit-text-size-adjust: 100%;
|
@@ -43,8 +44,21 @@ html {
|
|
43
44
|
-o-tab-size: 4;
|
44
45
|
tab-size: 4;
|
45
46
|
/* 3 */
|
46
|
-
font-family:
|
47
|
-
sans-serif,
|
47
|
+
font-family:
|
48
|
+
ui-sans-serif,
|
49
|
+
system-ui,
|
50
|
+
-apple-system,
|
51
|
+
BlinkMacSystemFont,
|
52
|
+
'Segoe UI',
|
53
|
+
Roboto,
|
54
|
+
'Helvetica Neue',
|
55
|
+
Arial,
|
56
|
+
'Noto Sans',
|
57
|
+
sans-serif,
|
58
|
+
'Apple Color Emoji',
|
59
|
+
'Segoe UI Emoji',
|
60
|
+
'Segoe UI Symbol',
|
61
|
+
'Noto Color Emoji';
|
48
62
|
/* 4 */
|
49
63
|
font-feature-settings: normal;
|
50
64
|
/* 5 */
|
@@ -127,7 +141,8 @@ code,
|
|
127
141
|
kbd,
|
128
142
|
samp,
|
129
143
|
pre {
|
130
|
-
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
144
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
145
|
+
monospace;
|
131
146
|
/* 1 */
|
132
147
|
font-size: 1em;
|
133
148
|
/* 2 */
|
@@ -187,20 +202,15 @@ input,
|
|
187
202
|
optgroup,
|
188
203
|
select,
|
189
204
|
textarea {
|
190
|
-
font-family: inherit;
|
191
|
-
/* 1 */
|
192
|
-
font-
|
193
|
-
/* 1 */
|
194
|
-
font-weight: inherit;
|
195
|
-
/* 1 */
|
196
|
-
|
197
|
-
/*
|
198
|
-
|
199
|
-
/* 1 */
|
200
|
-
margin: 0;
|
201
|
-
/* 2 */
|
202
|
-
padding: 0;
|
203
|
-
/* 3 */
|
205
|
+
font-family: inherit; /* 1 */
|
206
|
+
font-feature-settings: inherit; /* 1 */
|
207
|
+
font-variation-settings: inherit; /* 1 */
|
208
|
+
font-size: 100%; /* 1 */
|
209
|
+
font-weight: inherit; /* 1 */
|
210
|
+
line-height: inherit; /* 1 */
|
211
|
+
color: inherit; /* 1 */
|
212
|
+
margin: 0; /* 2 */
|
213
|
+
padding: 0; /* 3 */
|
204
214
|
}
|
205
215
|
|
206
216
|
/*
|
@@ -339,6 +349,10 @@ menu {
|
|
339
349
|
padding: 0;
|
340
350
|
}
|
341
351
|
|
352
|
+
dialog {
|
353
|
+
padding: 0;
|
354
|
+
}
|
355
|
+
|
342
356
|
/*
|
343
357
|
Prevent resizing textareas horizontally by default.
|
344
358
|
*/
|
@@ -356,7 +370,7 @@ input::-moz-placeholder,
|
|
356
370
|
textarea::-moz-placeholder {
|
357
371
|
opacity: 1;
|
358
372
|
/* 1 */
|
359
|
-
color:
|
373
|
+
color: rgba(var(--ax-color-text-default), 0.5);
|
360
374
|
/* 2 */
|
361
375
|
}
|
362
376
|
|
@@ -364,7 +378,7 @@ input::placeholder,
|
|
364
378
|
textarea::placeholder {
|
365
379
|
opacity: 1;
|
366
380
|
/* 1 */
|
367
|
-
color:
|
381
|
+
color: rgba(var(--ax-color-text-default), 0.5);
|
368
382
|
/* 2 */
|
369
383
|
}
|
370
384
|
|
@@ -1,30 +1,29 @@
|
|
1
1
|
if (!('boxShadow' in document.body.style)) {
|
2
|
-
|
2
|
+
document.body.setAttribute('class', 'noBoxShadow');
|
3
3
|
}
|
4
4
|
|
5
|
-
document.body.addEventListener(
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
}
|
5
|
+
document.body.addEventListener('click', function (e) {
|
6
|
+
var target = e.target;
|
7
|
+
if (target.tagName === 'INPUT' && target.getAttribute('class').indexOf('liga') === -1) {
|
8
|
+
target.select();
|
9
|
+
}
|
11
10
|
});
|
12
11
|
|
13
|
-
(function() {
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}
|
22
|
-
}
|
23
|
-
function updateSize() {
|
24
|
-
testDrive.style.fontSize = fontSize.value + 'px';
|
12
|
+
(function () {
|
13
|
+
var fontSize = document.getElementById('fontSize'),
|
14
|
+
testDrive = document.getElementById('testDrive'),
|
15
|
+
testText = document.getElementById('testText');
|
16
|
+
function updateTest() {
|
17
|
+
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
18
|
+
if (window.icomoonLiga) {
|
19
|
+
window.icomoonLiga(testDrive);
|
25
20
|
}
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
21
|
+
}
|
22
|
+
function updateSize() {
|
23
|
+
testDrive.style.fontSize = fontSize.value + 'px';
|
24
|
+
}
|
25
|
+
fontSize.addEventListener('change', updateSize, false);
|
26
|
+
testText.addEventListener('input', updateTest, false);
|
27
|
+
testText.addEventListener('change', updateTest, false);
|
28
|
+
updateSize();
|
29
|
+
})();
|