checkboxy looking checkbox elements, fix settings dialog in mobile view
All checks were successful
/ build (push) Successful in 4m25s
All checks were successful
/ build (push) Successful in 4m25s
This commit is contained in:
parent
9b38e4bf15
commit
4c6a484acf
4 changed files with 32 additions and 18 deletions
|
|
@ -594,10 +594,12 @@ radio-button-group {
|
||||||
gap: .4rem;
|
gap: .4rem;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
border: .13rem solid var(--border);
|
|
||||||
border-radius: .4rem;
|
border-radius: .4rem;
|
||||||
padding: .2rem;
|
border: .13rem solid var(--border);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding: .2rem;
|
||||||
|
width: fit-content;
|
||||||
|
word-break: break-word;
|
||||||
|
|
||||||
&:has(input:checked) {
|
&:has(input:checked) {
|
||||||
border-color: var(--accent);
|
border-color: var(--accent);
|
||||||
|
|
@ -628,22 +630,29 @@ checkbox-button-group {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-right: .3rem;
|
margin-right: .3rem;
|
||||||
padding: .2rem;
|
padding: .2rem;
|
||||||
width: max-content;
|
width: fit-content;
|
||||||
|
word-break: break-word;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
background: var(--border);
|
||||||
|
border-radius: 10rem;
|
||||||
|
content: '';
|
||||||
|
display: inline-flex;
|
||||||
|
height: 1rem;
|
||||||
|
margin-bottom: -.1rem;
|
||||||
|
margin-left: .2rem;
|
||||||
|
margin-right: .3rem;
|
||||||
|
position: relative;
|
||||||
|
transition: .2s;
|
||||||
|
width: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
&:has(input:checked) {
|
&:has(input:checked) {
|
||||||
border-color: var(--accent);
|
border-color: var(--accent);
|
||||||
background-color: color-mix(in srgb, var(--accent) 30%, var(--background));
|
background-color: color-mix(in srgb, var(--accent) 30%, var(--background));
|
||||||
|
|
||||||
&::after {
|
&::before {
|
||||||
background: var(--green);
|
background: var(--accent);
|
||||||
border-radius: 10rem;
|
|
||||||
content: '';
|
|
||||||
display: inline-flex;
|
|
||||||
height: 1.5rem;
|
|
||||||
margin-left: -.2rem;
|
|
||||||
margin-top: -.9rem;
|
|
||||||
position: absolute;
|
|
||||||
width: 1.5rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,15 +18,14 @@ settings-area {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: linear-gradient(#00000000, #121418);
|
background: #00000050;
|
||||||
display: flex;
|
display: flex;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 3rem;
|
z-index: 90;
|
||||||
z-index: 999;
|
|
||||||
|
|
||||||
settings-model {
|
settings-model {
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
|
|
@ -61,7 +60,8 @@ settings-area {
|
||||||
|
|
||||||
@media screen and (max-width: 28.8rem) {
|
@media screen and (max-width: 28.8rem) {
|
||||||
settings-model {
|
settings-model {
|
||||||
margin-top: 5rem;
|
margin-top: 10rem;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -51,11 +51,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
window-controls {
|
window-controls {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
margin: auto 0 auto auto;
|
margin: auto 0 auto auto;
|
||||||
|
align-items: center;
|
||||||
|
gap: .4rem;
|
||||||
|
|
||||||
icon-tabler[minimize], icon-tabler[maximize] {
|
icon-tabler[minimize], icon-tabler[maximize] {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
margin-right: -.2rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1591,6 +1591,7 @@
|
||||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
|
||||||
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
|
|
@ -1612,6 +1613,7 @@
|
||||||
"resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.16.6.tgz",
|
"resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.16.6.tgz",
|
||||||
"integrity": "sha512-JcEmHlyLK/o0uGAlj65vgg+7LIms0xKXe60lcDOTU7oVX/3LuEuLwrQpW3VJ7de5TaFKiW4kWkaIpJL42FEgxQ==",
|
"integrity": "sha512-JcEmHlyLK/o0uGAlj65vgg+7LIms0xKXe60lcDOTU7oVX/3LuEuLwrQpW3VJ7de5TaFKiW4kWkaIpJL42FEgxQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"posthtml-parser": "^0.11.0",
|
"posthtml-parser": "^0.11.0",
|
||||||
"posthtml-render": "^3.0.0"
|
"posthtml-render": "^3.0.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue