mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 10:22:23 +01:00
f8d655fe37
The theme's original approach to its non-latin font fallbacks required `!important`, which overrode fonts that shouldn't have been changed, like the icon fonts used for editor buttons. Props kjellr, mako09, allancole. Fixes #45731. Built from https://develop.svn.wordpress.org/trunk@44650 git-svn-id: http://core.svn.wordpress.org/trunk@44481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
38 lines
772 B
SCSS
38 lines
772 B
SCSS
.button,
|
|
button,
|
|
input[type="button"],
|
|
input[type="reset"],
|
|
input[type="submit"] {
|
|
|
|
@include button-transition;
|
|
background: $color__background-button;
|
|
border: none;
|
|
border-radius: 5px;
|
|
box-sizing: border-box;
|
|
color: $color__background-body;
|
|
@include font-family( $font__heading );
|
|
font-size: $font__size-sm;
|
|
font-weight: 700;
|
|
line-height: $font__line-height-heading;
|
|
outline: none;
|
|
padding: ( $size__spacing-unit * .76 ) $size__spacing-unit;
|
|
text-decoration: none;
|
|
vertical-align: bottom;
|
|
|
|
&:hover {
|
|
background: $color__background-button-hover;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:visited {
|
|
color: $color__background-body;
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:focus {
|
|
background: $color__background-button-hover;
|
|
outline: thin dotted;
|
|
outline-offset: -4px;
|
|
}
|
|
}
|