@oksigenia/access-panel 0.7.2 → 0.7.3
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/web-component.js +4 -3
- package/dist/web-component.js.map +1 -1
- package/package.json +1 -1
package/dist/web-component.js
CHANGED
|
@@ -1079,6 +1079,7 @@ var PANEL_CSS = `
|
|
|
1079
1079
|
.oks-access-reset { padding: 14px; font-size: 14px; }
|
|
1080
1080
|
}
|
|
1081
1081
|
`;
|
|
1082
|
+
var NOT_ICON_FONT = ':not(.fa, [class*="fa-"], .icon, [class^="icon-"], [class*=" icon-"], .dashicons, [class*="dashicons-"], .material-icons, [class^="material-symbols"], .glyphicon, [class^="bi-"], [class*=" bi-"])';
|
|
1082
1083
|
var EFFECT_CSS = `
|
|
1083
1084
|
html.oks-colorblind-1 { filter: url('#oks-filter-protanopia'); }
|
|
1084
1085
|
html.oks-colorblind-2 { filter: url('#oks-filter-deuteranopia'); }
|
|
@@ -1106,7 +1107,7 @@ body.oks-lh-3 * { line-height: 2.2 !important; }
|
|
|
1106
1107
|
|
|
1107
1108
|
body.oks-a11y-font { font-family: Arial, sans-serif !important; }
|
|
1108
1109
|
|
|
1109
|
-
body.oks-dyslexia
|
|
1110
|
+
body.oks-dyslexia *${NOT_ICON_FONT} {
|
|
1110
1111
|
font-family: 'Comic Sans MS', 'Verdana', sans-serif !important;
|
|
1111
1112
|
letter-spacing: 0.05em !important;
|
|
1112
1113
|
word-spacing: 0.1em !important;
|
|
@@ -1253,9 +1254,9 @@ ${s}.oks-lh-1 * { line-height: 1.6 !important; }
|
|
|
1253
1254
|
${s}.oks-lh-2 * { line-height: 1.9 !important; }
|
|
1254
1255
|
${s}.oks-lh-3 * { line-height: 2.2 !important; }
|
|
1255
1256
|
|
|
1256
|
-
${s}.oks-a11y-font, ${s}.oks-a11y-font
|
|
1257
|
+
${s}.oks-a11y-font, ${s}.oks-a11y-font *${NOT_ICON_FONT} { font-family: Arial, sans-serif !important; }
|
|
1257
1258
|
|
|
1258
|
-
${s}.oks-dyslexia
|
|
1259
|
+
${s}.oks-dyslexia *${NOT_ICON_FONT} {
|
|
1259
1260
|
font-family: 'Comic Sans MS', 'Verdana', sans-serif !important;
|
|
1260
1261
|
letter-spacing: 0.05em !important;
|
|
1261
1262
|
word-spacing: 0.1em !important;
|