0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 06:02:46 +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

@@ -6,50 +6,44 @@
break-inside : avoid; break-inside : avoid;
label { label {
width: 100%;
display : inline-block; display : inline-block;
text-align: right; width : 100%;
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 {
line-height : 1.2em;
break-inside : avoid; break-inside : avoid;
columns : 2; columns : 2;
line-height: 1.2em; h2 { column-span : all; }
h2 { h3 { margin-top : 0px; }
column-span: all; 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;
}
} }
} }
@@ -57,19 +51,13 @@
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;
h2 { break-inside : avoid;
margin-top: 0px; h2 { 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 {