fix buttons on dark theme

pull/5604/head
Matthew Hodgson 2017-11-15 01:56:32 +00:00
parent bd89fe59c0
commit 142a9d7549
1 changed files with 19 additions and 0 deletions

View File

@ -142,6 +142,25 @@ $lightbox-border-color: #ffffff;
// unused? // unused?
$progressbar-color: #000; $progressbar-color: #000;
// XXX: copypasted from _base in order to pick up the right FG color...
@define-mixin mx_DialogButton {
/* align images in buttons (eg spinners) */
vertical-align: middle;
border: 0px;
border-radius: 36px;
font-family: $font-family;
font-size: 14px;
color: $accent-fg-color;
background-color: $accent-color;
width: auto;
padding: 7px;
padding-left: 1.5em;
padding-right: 1.5em;
cursor: pointer;
display: inline-block;
outline: none;
}
// Nasty hacks to apply a filter to arbitrary monochrome artwork to make it // Nasty hacks to apply a filter to arbitrary monochrome artwork to make it
// better match the theme. Typically applied to dark grey 'off' buttons or // better match the theme. Typically applied to dark grey 'off' buttons or
// light grey 'on' buttons. // light grey 'on' buttons.