0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 07:02:39 +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 { &.active {
color: #58180D; color: #58180D;
} }
&.active::before { &.inactive {
content: '\f107'; color: #707070;
}
&.active::before, &.inactive::before {
font-family: 'Font Awesome 5 Free'; font-family: 'Font Awesome 5 Free';
font-weight: 900; font-weight: 900;
font-size: 0.6cm; font-size: 0.6cm;
padding-right: 0.5em; padding-right: 0.5em;
} }
&.inactive { &.active::before {
color: #707070; content: '\f107';
} }
&.inactive::before { &.inactive::before {
content: '\f105'; content: '\f105';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 0.6cm;
padding-right: 0.5em;
} }
} }
} }