[ticket/17291] Utilize font classes from the Icon function

PHPBB3-17291

Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
Matt Friedman 2024-03-04 09:01:01 -08:00
parent 6c5518157d
commit 511d96a522
No known key found for this signature in database

View file

@ -3007,12 +3007,6 @@ fieldset.permissions .permissions-switch {
padding-right: 0.3em; padding-right: 0.3em;
} }
/* this class loads Free and Brand icons, for use when .fas and .fab are needed at same time */
.icon {
font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
font-style: normal;
}
.send-stats-data-row { .send-stats-data-row {
background: #f9f9f9; background: #f9f9f9;
border: #dedede 1px solid; border: #dedede 1px solid;
@ -3106,6 +3100,28 @@ fieldset.permissions .permissions-switch {
overflow-x: scroll; overflow-x: scroll;
} }
.o-icon {
vertical-align: middle !important;
}
.o-icon-font {
font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
font-style: normal;
font-variant: normal;
-webkit-font-smoothing: antialiased;
vertical-align: baseline;
display: inline-block;
/* stylelint-disable order/properties-order */
-moz-osx-font-smoothing: grayscale;
/* stylelint-enable order/properties-order */
text-rendering: auto; /* optimizelegibility throws things off #1094 */
}
.o-icon + span,
span + .o-icon {
padding-left: 4px;
}
.acp-icon { .acp-icon {
font-size: 1.5em; font-size: 1.5em;
} }