@acorex/styles 7.5.0 → 7.5.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.
- package/package.json +1 -1
- package/src/base/_normalize.scss +19 -5
- 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 +9 -3
- package/src/shared/_editor-container.scss +15 -14
- package/src/shared/_general-button.scss +27 -8
- package/src/shared/_list.scss +4 -4
- package/src/shared/_skeleton.scss +7 -2
- package/src/shared/_table.scss +3 -3
- package/src/shared/_utils.scss +26 -20
- package/src/shared/index.scss +12 -13
- package/src/themes/default.scss +14 -22
- package/src/variables/_colors.scss +1 -1
- package/tailwind-base.js +15 -15
- package/src/shared/_icon-control.scss +0 -0
package/package.json
CHANGED
package/src/base/_normalize.scss
CHANGED
@@ -43,8 +43,21 @@ html {
|
|
43
43
|
-o-tab-size: 4;
|
44
44
|
tab-size: 4;
|
45
45
|
/* 3 */
|
46
|
-
font-family:
|
47
|
-
sans-serif,
|
46
|
+
font-family:
|
47
|
+
ui-sans-serif,
|
48
|
+
system-ui,
|
49
|
+
-apple-system,
|
50
|
+
BlinkMacSystemFont,
|
51
|
+
'Segoe UI',
|
52
|
+
Roboto,
|
53
|
+
'Helvetica Neue',
|
54
|
+
Arial,
|
55
|
+
'Noto Sans',
|
56
|
+
sans-serif,
|
57
|
+
'Apple Color Emoji',
|
58
|
+
'Segoe UI Emoji',
|
59
|
+
'Segoe UI Symbol',
|
60
|
+
'Noto Color Emoji';
|
48
61
|
/* 4 */
|
49
62
|
font-feature-settings: normal;
|
50
63
|
/* 5 */
|
@@ -127,7 +140,8 @@ code,
|
|
127
140
|
kbd,
|
128
141
|
samp,
|
129
142
|
pre {
|
130
|
-
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
143
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
144
|
+
monospace;
|
131
145
|
/* 1 */
|
132
146
|
font-size: 1em;
|
133
147
|
/* 2 */
|
@@ -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
|
+
})();
|