mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
more contrast on buttons and scrollbars
This commit is contained in:
parent
dd9812c7ed
commit
3c48cbff6f
3 changed files with 18 additions and 9 deletions
|
@ -144,7 +144,12 @@ QScrollBar::sub-line {
|
|||
border: none;
|
||||
background: none;
|
||||
}
|
||||
""" % (self.str_color("window-bg"), colors.get("fusion-button-hover-bg"))
|
||||
|
||||
QTabWidget { background-color: %s; }
|
||||
""" % (self.str_color("window-bg"),
|
||||
colors.get("fusion-button-hover-bg"),
|
||||
self.str_color("window-bg")
|
||||
)
|
||||
|
||||
# allow addons to modify the styling
|
||||
buf = gui_hooks.style_did_init(buf)
|
||||
|
@ -174,7 +179,8 @@ QScrollBar::sub-line {
|
|||
window_bg = self.qcolor("window-bg")
|
||||
palette.setColor(QPalette.Window, window_bg)
|
||||
palette.setColor(QPalette.AlternateBase, window_bg)
|
||||
palette.setColor(QPalette.Button, window_bg)
|
||||
|
||||
palette.setColor(QPalette.Button, QColor(colors.get("fusion-button-base-bg")))
|
||||
|
||||
frame_bg = self.qcolor("frame-bg")
|
||||
palette.setColor(QPalette.Base, frame_bg)
|
||||
|
|
|
@ -35,8 +35,10 @@
|
|||
box-shadow: 0 0 3px vars.$fusion-button-outline;
|
||||
border: 1px solid vars.$fusion-button-border;
|
||||
|
||||
border-radius: 3px;
|
||||
padding: 5px;
|
||||
border-radius: 2px;
|
||||
padding: 10px;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
|
|
|
@ -41,8 +41,9 @@ $night-suspended-bg: #aaaa33;
|
|||
$night-marked-bg: #77c;
|
||||
|
||||
/* night-mode-specific colours */
|
||||
$fusion-button-gradient-start: #363636;
|
||||
$fusion-button-gradient-end: #404040;
|
||||
$fusion-button-outline: #000;
|
||||
$fusion-button-hover-bg: #454545;
|
||||
$fusion-button-border: #444;
|
||||
$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;
|
Loading…
Reference in a new issue