2021-09-30 11:18:10 +02:00
|
|
|
@use "fusion-vars";
|
2021-04-13 16:01:41 +02:00
|
|
|
|
|
|
|
.isWin {
|
|
|
|
button {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.isMac {
|
|
|
|
button {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.isLin {
|
|
|
|
button {
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
-webkit-appearance: none;
|
2021-08-31 23:10:16 +02:00
|
|
|
border-radius: 5px;
|
2021-04-13 16:01:41 +02:00
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightMode {
|
|
|
|
button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
color: var(--text-fg);
|
|
|
|
|
|
|
|
/* match the fusion button gradient */
|
|
|
|
background: linear-gradient(
|
|
|
|
0deg,
|
2021-06-30 19:55:56 +02:00
|
|
|
fusion-vars.$button-gradient-start 0%,
|
|
|
|
fusion-vars.$button-gradient-end 100%
|
2021-04-13 16:01:41 +02:00
|
|
|
);
|
2021-06-30 19:55:56 +02:00
|
|
|
box-shadow: 0 0 3px fusion-vars.$button-outline;
|
|
|
|
border: 1px solid fusion-vars.$button-border;
|
2021-04-13 16:01:41 +02:00
|
|
|
|
2021-08-31 23:10:16 +02:00
|
|
|
border-radius: 5px;
|
2021-10-31 00:29:22 +02:00
|
|
|
padding: 3px 10px 3px;
|
2021-04-13 16:01:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
button:hover {
|
2021-06-30 19:55:56 +02:00
|
|
|
background: fusion-vars.$button-hover-bg;
|
2021-04-13 16:01:41 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* imitate standard macOS dark mode buttons */
|
|
|
|
.isMac.nightMode.macos-dark-mode button:not(.linkb) {
|
|
|
|
background: #656565;
|
|
|
|
box-shadow: 0 1px 2px #222222;
|
|
|
|
border-top-color: #848484;
|
2021-10-31 00:29:22 +02:00
|
|
|
border-width: 0.5px 0 0;
|
|
|
|
padding: 2px 15px;
|
2021-04-13 16:01:41 +02:00
|
|
|
color: #e5e5e5;
|
|
|
|
}
|