Skip to content

Commit 266acb1

Browse files
committed
Minor tweaks
1 parent 4524efc commit 266acb1

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

src/sass/_drawing.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@use 'functions' as *;
55
@use 'colors' as *;
66

7-
$focus_border_color: gtkalpha($accent_bg_color, 0.5);
7+
$focus_border_color: gtkalpha($accent_color, 0.5);
88

99
@function _widget_edge($c:$borders_edge) {
1010
@if $c == none { @return none; }

src/sass/_libhandy.scss

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,10 @@ list.content {
330330
background-color: gtkmix(currentColor, $card_bg_color, 4%);
331331
}
332332
}
333+
334+
+ .inline-toolbar {
335+
border-color: transparent;
336+
}
333337
}
334338

335339
// List button
@@ -372,11 +376,12 @@ headerbar viewswitcher button {
372376
&.radio:checked:hover:not(:backdrop) {
373377
background: image($headerbar_bg_color);
374378
}
375-
&, &:hover:not(:backdrop), &:checked, &:active, &:checked:hover {
379+
&, &:hover:not(:backdrop), &:checked, &:active, &:checked:hover, &:active:hover {
376380
background: image($headerbar_bg_color);
377381
transition: none;
378382
}
379383

384+
// The actual button
380385
> stack > box {
381386
transition: $button_transition;
382387
border-radius: $button_radius;
@@ -461,8 +466,12 @@ viewswitcher {
461466
border-right-color: $border_color;
462467
}
463468

464-
&:hover:backdrop {
465-
background: image($headerbar_backdrop_color); // workaround
469+
// workarounds
470+
&:hover:backdrop, &:active:backdrop, &:active:hover:backdrop {
471+
background: image($headerbar_backdrop_color);
472+
}
473+
&:active, &:active:hover {
474+
background: image($headerbar_bg_color);
466475
}
467476
}
468477

0 commit comments

Comments
 (0)