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:
@@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user