0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Reduce duplicate CSS

Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
G.Ambatte
2022-09-03 09:58:17 +12:00
committed by GitHub
parent 66626b3427
commit 3f1bc02885

View File

@@ -79,22 +79,21 @@
&.active {
color: #58180D;
}
&.active::before {
content: '\f107';
&.inactive {
color: #707070;
}
&.active::before, &.inactive::before {
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 0.6cm;
padding-right: 0.5em;
padding-right: 0.5em;
}
&.inactive {
color: #707070;
&.active::before {
content: '\f107';
}
&.inactive::before {
content: '\f105';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 0.6cm;
padding-right: 0.5em;
}
}
}