0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 06:32:37 +00:00

Stylelint fixes

This commit is contained in:
G.Ambatte
2025-04-07 22:02:08 +12:00
parent 61efc2d152
commit 7a1042fedd
2 changed files with 55 additions and 69 deletions

View File

@@ -1,75 +1,63 @@
.lockTools { .lockTools {
.lockBrew { .lockBrew {
columns: 2; columns : 2;
.lockForm { .lockForm {
break-inside: avoid; break-inside : avoid;
label { label {
width: 100%; display : inline-block;
display: inline-block; width : 100%;
text-align: right; line-height : 1.5em;
line-height: 1.5em; text-align : right;
input { input {
float: right; float : right;
width: 65%; width : 65%;
margin-left: 10px; margin-left : 10px;
} }
} input.checkbox {
} width : 1.5em;
height : 1.5em;
}
}
}
.lockSuggestions { .lockSuggestions {
break-inside: avoid; line-height : 1.2em;
columns: 2; break-inside : avoid;
line-height: 1.2em; columns : 2;
h2 { h2 { column-span : all; }
column-span: all; h3 { margin-top : 0px; }
} b { font-weight : 600; }
h3 {
margin-top: 0px;
}
b {
font-weight: 600;
}
.lockCodes { .lockCodes { break-inside : avoid; }
break-inside: avoid; }
} }
}
}
.lockTable{ .lockTable {
break-inside: avoid; cursor : default;
cursor: default; break-inside : avoid;
.row:hover { .row:hover {
background-color: #ccc; color : #000000;
color: #000; background-color : #CCCCCC;
} }
.icon { .icon {
cursor: pointer; cursor : pointer;
&:hover{ &:hover { text-shadow : 0px 0px 6px black; }
text-shadow: 0px 0px 6px black; }
} }
}
}
th, td { th, td {
padding: 4px 10px; padding : 4px 10px;
text-align: center; text-align : center;
} }
table, td{ table, td { border : 1px solid #333333; }
border: 1px solid #333333;
}
.brewLookup{ .brewLookup {
break-inside: avoid; min-height : 175px;
min-height: 175px; break-inside : avoid;
h2 { h2 { margin-top : 0px; }
margin-top: 0px; }
}
}
button i { button i { padding-left : 5px; }
padding-left: 5px;
}
} }

View File

@@ -11,15 +11,13 @@
&::backdrop { background-color : #000000AA; } &::backdrop { background-color : #000000AA; }
button { button {
padding : 2px 15px;
margin : 10px; margin : 10px;
color : white; color : white;
background-color : #333333; background-color : #333333;
padding : 2px 15px;
&.inactive, &.inactive,
&:hover { &:hover { background-color : #777777; }
background-color : #777777;
}
} }
h1, h3 { h1, h3 {