e109c62aa9
* Use cursor: pointer on QCheckBoxes too and exclude disabled widgets * Left-align all QCheckBoxes to make hover-area and clickable area the same Altough the clickable area has always been restricted to the label, the widget itself stretched all the way. This became a problem with the new cursor-pointer for checkboxes. * Remove Switch duplicate from deck-options * Add cursor: pointer to Switch and RevertButton * Add cursor: pointer to bottom toolbar buttons * Add cursor: pointer to gears * Add cursor: pointer to radio and checkbox inputs of graphs page * Improve button appearance in stats screen * Add cursor: pointer to QTabBar and QToolButton * Add cursor: pointer to non-editable QComboBox * Center settings-will-take-effect-after notice in preferences screen * Use public without_qt5_compat_wrapper() function * Run prettier
51 lines
888 B
SCSS
51 lines
888 B
SCSS
@use "vars";
|
|
|
|
: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 {
|
|
-webkit-appearance: none;
|
|
color: vars.color(fg);
|
|
cursor: pointer;
|
|
|
|
background: linear-gradient(
|
|
180deg,
|
|
vars.color(button-gradient-start) 0%,
|
|
vars.color(button-gradient-end) 100%
|
|
);
|
|
border: 1px solid vars.color(button-border);
|
|
|
|
border-radius: vars.prop(border-radius);
|
|
padding: 3px 10px 3px;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 1px var(--focus-color);
|
|
}
|
|
}
|
|
|
|
button:hover {
|
|
background: linear-gradient(
|
|
180deg,
|
|
vars.color(button-hover-gradient-start) 0%,
|
|
vars.color(button-hover-gradient-end) 100%
|
|
);
|
|
}
|