mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17291] Utilize font classes from the Icon function
PHPBB3-17291 Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
parent
6c5518157d
commit
511d96a522
1 changed files with 22 additions and 6 deletions
|
@ -3007,12 +3007,6 @@ fieldset.permissions .permissions-switch {
|
|||
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 {
|
||||
background: #f9f9f9;
|
||||
border: #dedede 1px solid;
|
||||
|
@ -3106,6 +3100,28 @@ fieldset.permissions .permissions-switch {
|
|||
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 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue