0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 14:52:38 +00:00

Manual tidying of .less files

This commit is contained in:
Trevor Buckner
2024-08-24 23:53:07 -04:00
parent 7a5b0b32c4
commit 5069eadd0a
2 changed files with 1 additions and 13 deletions

View File

@@ -4,10 +4,8 @@
padding-top : 30px; padding-top : 30px;
overflow-y : scroll; overflow-y : scroll;
will-change : transform; will-change : transform;
:where(.pages) { :where(.pages) {
margin : 30px 0px; margin : 30px 0px;
& > :where(.page) { & > :where(.page) {
width : 215.9mm; width : 215.9mm;
height : 279.4mm; height : 279.4mm;
@@ -17,20 +15,16 @@
box-shadow : 1px 4px 14px #000000; box-shadow : 1px 4px 14px #000000;
} }
} }
&::-webkit-scrollbar { &::-webkit-scrollbar {
width : 20px; width : 20px;
&:horizontal { &:horizontal {
width : auto; width : auto;
height : 20px; height : 20px;
} }
&-thumb { &-thumb {
background : linear-gradient(90deg, #D3C1AF 15px, #00000000 15px); background : linear-gradient(90deg, #D3C1AF 15px, #00000000 15px);
&:horizontal { background : linear-gradient(0deg, #D3C1AF 15px, #00000000 15px); } &:horizontal { background : linear-gradient(0deg, #D3C1AF 15px, #00000000 15px); }
} }
&-corner { visibility : hidden; } &-corner { visibility : hidden; }
} }
} }

View File

@@ -38,7 +38,7 @@
border : 1px solid gray; border : 1px solid gray;
&:focus { outline : 1px solid #D3D3D3; } &:focus { outline : 1px solid #D3D3D3; }
// `.range-input` if generic to all range inputs, or `#zoom-input` if only for zoom slider // `.range-input` if generic to all range inputs, or `#zoom-slider` if only for zoom slider
&.range-input { &.range-input {
padding : 2px 0; padding : 2px 0;
color : #D3D3D3; color : #D3D3D3;
@@ -73,12 +73,9 @@
width : 4ch; width : 4ch;
margin-right : 1ch; margin-right : 1ch;
text-align : center; text-align : center;
} }
} }
button { button {
box-sizing : content-box; box-sizing : content-box;
display : flex; display : flex;
@@ -91,11 +88,8 @@
font-weight : unset; font-weight : unset;
color : inherit; color : inherit;
background-color : unset; background-color : unset;
&:hover { background-color : #444444; } &:hover { background-color : #444444; }
&:focus { outline : 1px solid #D3D3D3; } &:focus { outline : 1px solid #D3D3D3; }
&:disabled { &:disabled {
color : #777777; color : #777777;
background-color : unset !important; background-color : unset !important;