Skip to content

Commit

Permalink
fix(gtk320): add missing borders in dark theme variants
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Dec 25, 2019
1 parent 1e382fb commit f97d555
Show file tree
Hide file tree
Showing 22 changed files with 20 additions and 4 deletions.
Binary file modified screenshots/theme-clearlooks-gtk3-page1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-clearlooks-gtk3-page2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-clearlooks-gtk3-page3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-clearlooks_hidpi-gtk3-page1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-clearlooks_hidpi-gtk3-page2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-clearlooks_hidpi-gtk3-page3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-lavender-gtk3-page1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-lavender-gtk3-page2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-lavender-gtk3-page3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-lavender_hidpi-gtk3-page1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-lavender_hidpi-gtk3-page2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-lavender_hidpi-gtk3-page3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-monovedek_lcars-gtk3-page1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-monovedek_lcars-gtk3-page2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-monovedek_lcars-gtk3-page3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-monovedek_lcars_hidpi-gtk3-page1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-monovedek_lcars_hidpi-gtk3-page2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/theme-monovedek_lcars_hidpi-gtk3-page3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/gtk-3.20/scss/widgets/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,10 @@ $button_sidepadding: $spacing + ($roundness / 14px * if($spacing > 0, $spacing,
&:disabled { color: alpha($bg, .85); }
}

separator {
background-image: image(mix($fg, $bg, .9));
}

}

@include exports("button") {
Expand Down
4 changes: 4 additions & 0 deletions src/gtk-3.20/scss/widgets/_overshoot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@
scrolledwindow {
viewport.frame { // avoid double borders when viewport inside scrolled window
border-style: none;

separator {
background-image: image(mix($text_color, $base_color, .9));
}
}

// This is used by GtkScrolledWindow, when content is touch-dragged past boundaries.
Expand Down
4 changes: 4 additions & 0 deletions src/gtk-3.20/scss/widgets/_toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@
padding: 0 6px;
min-height: 42px;

separator {
background-image: image(mix($titlebar_fg_focused, $titlebar_bg_focused, .9));
}

&:backdrop {
@include linear-gradient($titlebar_bg_unfocused);

Expand Down
12 changes: 8 additions & 4 deletions src/gtk-3.20/scss/widgets/_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
//border-radius: $roundness;
}
}

separator { // vbox and hbox separators
background-image: image(mix($text_color, $base_color, .9));
}
}

.view,
Expand Down Expand Up @@ -52,7 +56,7 @@
@include exports("treeview") {
.rubberband,
rubberband {
border: 1px solid darken($selected_bg_color, .1);
border: 1px solid mix($selected_bg_color, $selected_fg_color, .1);
background-color: transparentize(darken($selected_bg_color, .1), .8);
}

Expand Down Expand Up @@ -105,8 +109,8 @@
-GtkTreeView-tree-line-width: 1;
-GtkTreeView-tree-line-pattern: "";

border-left-color: mix($fg_color, $base_color, .5); // this is actually the tree lines color,
border-top-color: $bg_color; // while this is the grid lines color, better then nothing
border-left-color: mix($fg_color, $base_color, .7); // this is actually the tree lines color,
border-top-color: mix($fg_color, $base_color, .9); // while this is the grid lines color

rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props

Expand Down Expand Up @@ -306,7 +310,7 @@

@include exports("separator") {
separator { // vbox and hbox separators
background: transparentize($black, .9);
background-image: image(mix($fg_color, $bg_color, .9));
min-width: 1px;
min-height: 1px;
}
Expand Down

0 comments on commit f97d555

Please sign in to comment.