0a3ac591e6
* Use button gradient only on hover * Apply hover effect to main window buttons * Apply arbitrary change to force recreation of colors.py * Undo arbitrary change to fix props not being created * Remember that the comments are used for regex matching * Yet another try * Revert "Yet another try" This reverts commit eaef4805c1618cf93ac2f93bc14ada900dc6d155. * Update _root-vars.scss
39 lines
637 B
SCSS
39 lines
637 B
SCSS
@use "vars";
|
|
@use "button-mixins" as button;
|
|
@use "elevation" as *;
|
|
|
|
:root {
|
|
--focus-color: #{vars.palette-of(shadow-focus)};
|
|
|
|
.isMac {
|
|
--focus-color: rgba(0 103 244 / 0.247);
|
|
}
|
|
}
|
|
|
|
.isWin {
|
|
button {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.isMac {
|
|
button {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
button {
|
|
outline: none !important;
|
|
@include button.base;
|
|
border-radius: var(--border-radius-large);
|
|
padding: 8px 10px;
|
|
font-weight: 500;
|
|
margin: 0 4px;
|
|
|
|
@include elevation(1, $opacity-boost: -0.08);
|
|
&:hover {
|
|
@include elevation(2);
|
|
transition: box-shadow 0.2s linear;
|
|
}
|
|
}
|