2020-08-27 07:57:24 +02:00
|
|
|
/* night-mode-specific colours */
|
|
|
|
$fusion-button-gradient-start: #555555;
|
|
|
|
$fusion-button-gradient-end: #656565;
|
|
|
|
$fusion-button-outline: #222222;
|
|
|
|
$fusion-button-hover-bg: #656565;
|
|
|
|
$fusion-button-border: #646464;
|
|
|
|
$fusion-button-base-bg: #454545;
|
2020-01-23 06:08:10 +01:00
|
|
|
|
2020-01-26 01:18:24 +01:00
|
|
|
.isWin {
|
|
|
|
button {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.isMac {
|
|
|
|
button {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.isLin {
|
|
|
|
button {
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 5px;
|
2020-08-27 07:57:24 +02:00
|
|
|
border: 1px solid var(--border);
|
2020-01-26 01:18:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-23 06:08:10 +01:00
|
|
|
.nightMode {
|
|
|
|
button {
|
|
|
|
-webkit-appearance: none;
|
2020-08-27 07:57:24 +02:00
|
|
|
color: var(--text-fg);
|
2020-01-23 06:08:10 +01:00
|
|
|
|
|
|
|
/* match the fusion button gradient */
|
|
|
|
background: linear-gradient(0deg,
|
2020-08-27 07:57:24 +02:00
|
|
|
$fusion-button-gradient-start 0%,
|
|
|
|
$fusion-button-gradient-end 100%);
|
|
|
|
box-shadow: 0 0 3px $fusion-button-outline;
|
|
|
|
border: 1px solid $fusion-button-border;
|
2020-01-23 06:08:10 +01:00
|
|
|
|
2020-02-02 03:53:35 +01:00
|
|
|
border-radius: 2px;
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
2020-01-23 06:08:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button:hover {
|
2020-08-27 07:57:24 +02:00
|
|
|
background: $fusion-button-hover-bg;
|
2020-01-23 06:08:10 +01:00
|
|
|
}
|
|
|
|
}
|
2020-01-31 04:14:16 +01:00
|
|
|
|
|
|
|
/* imitate standard macOS dark mode buttons */
|
2020-01-31 04:39:52 +01:00
|
|
|
.isMac.nightMode.macos-dark-mode button:not(.linkb) {
|
2020-01-31 04:14:16 +01:00
|
|
|
background: #656565;
|
|
|
|
box-shadow: 0 1px 2px #222222;
|
|
|
|
border-top-color: #848484;
|
|
|
|
border-top-width: 0.5px;
|
|
|
|
border-bottom: 0;
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
color: #e5e5e5;
|
2021-02-23 15:52:20 +01:00
|
|
|
}
|