3 Commits
1.1.2 ... 1.1.5

Author SHA1 Message Date
049d3f8a49 fixed scss warning
All checks were successful
Publish Library / Build NPM Project (push) Successful in 1m6s
Publish Library / Tag Version (push) Successful in 15s
Publish Library / Publish CDN & Docs (push) Successful in 49s
2024-12-12 23:33:54 -05:00
ed8fb032e5 Underline anchors on focus
All checks were successful
Publish Library / Build NPM Project (push) Successful in 17s
Publish Library / Tag Version (push) Successful in 9s
Publish Library / Publish CDN & Docs (push) Successful in 28s
2024-12-06 19:16:09 -05:00
150bfd7278 Remove highlight with fix-focus
All checks were successful
Publish Library / Build NPM Project (push) Successful in 18s
Publish Library / Tag Version (push) Successful in 8s
Publish Library / Publish CDN & Docs (push) Successful in 29s
2024-12-06 18:56:34 -05:00
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@ztimson/css-utils", "name": "@ztimson/css-utils",
"version": "1.1.2", "version": "1.1.5",
"description": "CSS Utility Classes", "description": "CSS Utility Classes",
"readme": "README.md", "readme": "README.md",
"scripts": { "scripts": {

View File

@ -49,10 +49,10 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
.fix-anchor, .fix:not(.no-anchor-fix) { .fix-anchor, .fix:not(.no-anchor-fix) {
a, a:not([href]) { a, a:not([href]) {
color: var(--theme-primary);
&:not(:hover) { text-decoration: none; }
&:hover { text-decoration: underline; }
cursor: pointer; cursor: pointer;
color: var(--theme-primary);
&:not(:hover):not(:focus) { text-decoration: none; }
&:hover, &:focus { text-decoration: underline; }
} }
} }
@ -79,6 +79,7 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
.fix-focus, .fix:not(.no-focus-fix) { .fix-focus, .fix:not(.no-focus-fix) {
* { * {
outline: inherit; outline: inherit;
-webkit-tap-highlight-color: transparent;
} }
} }