generated from ztimson/template
Opt out of fix syntax
This commit is contained in:
parent
344585e6dc
commit
c046b16b69
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ztimson/css-utils",
|
"name": "@ztimson/css-utils",
|
||||||
"version": "1.0.6",
|
"version": "1.1.0",
|
||||||
"description": "CSS Utility Classes",
|
"description": "CSS Utility Classes",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -47,7 +47,7 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
|
|||||||
|
|
||||||
// Optional opinionated styling to clean up CSS defaults
|
// Optional opinionated styling to clean up CSS defaults
|
||||||
|
|
||||||
.fix-anchor, .fix {
|
.fix-anchor, .fix:not(.no-anchor-fix) {
|
||||||
a, a:not([href]) {
|
a, a:not([href]) {
|
||||||
color: var(--theme-primary);
|
color: var(--theme-primary);
|
||||||
&:not(:hover) { text-decoration: none; }
|
&:not(:hover) { text-decoration: none; }
|
||||||
@ -55,13 +55,13 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fix-button, .fix {
|
.fix-button, .fix:not(.no-button-fix) {
|
||||||
button:not(:disabled) {
|
button:not(:disabled) {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fix-dom, .fix {
|
.fix-dom, .fix:not(.no-dom-fix) {
|
||||||
&, html, body {
|
&, html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -72,22 +72,16 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100);
|
|||||||
background-color: var(--theme-backdrop);
|
background-color: var(--theme-backdrop);
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
|
||||||
border-bottom: 1px solid black;
|
|
||||||
width: 100%;
|
|
||||||
opacity: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
* { box-sizing: border-box; }
|
* { box-sizing: border-box; }
|
||||||
}
|
}
|
||||||
|
|
||||||
.fix-focus, .fix {
|
.fix-focus, .fix:not(.no-focus-fix) {
|
||||||
* {
|
* {
|
||||||
outline: inherit;
|
outline: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fix-font, .fix {
|
.fix-font, .fix:not(.no-font-fix) {
|
||||||
color: var(--theme-text);
|
color: var(--theme-text);
|
||||||
font-family: var(--theme-font), sans-serif;
|
font-family: var(--theme-font), sans-serif;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user