Skip to content

Commit

Permalink
BUGFix: gtk4&4 - dialog message titlebar bottom border radius
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Apr 13, 2022
1 parent d986da9 commit 1f3624f
Show file tree
Hide file tree
Showing 7 changed files with 3,875 additions and 3,107 deletions.
1,802 changes: 1,015 additions & 787 deletions gtk-3.0/gtk-dark.css

Large diffs are not rendered by default.

1,802 changes: 1,015 additions & 787 deletions gtk-3.0/gtk.css

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion gtk-3.0/widgets/_dialogs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ messagedialog, dialog { /* Message Dialog styling */
border-bottom-right-radius: 10px; //5px;
}

.titlebar {
min-height: 20px;
background-image: none;
background-color: transparentize(if($variant=='light', $headerbar_color, $bg_color), 0.05);
border-style: none;
border-top-left-radius: 10px; //4px;
border-top-right-radius: 10px; //4px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}

.dialog-action-area button {
padding: 10px 14px; // labels are not vertically centered on message dialog, this is a workaround
border-radius: 0;
Expand Down Expand Up @@ -106,4 +117,4 @@ dialog {
}
}
}
}
}
2 changes: 1 addition & 1 deletion gtk-3.0/widgets/_statusbar.scss
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ statusbar,
-GtkWidget-window-dragging: true;
padding: 0px;
box-shadow: inset 0 -1px transparentize(black, 0.9);
}
}
1,675 changes: 910 additions & 765 deletions gtk-4.0/gtk-dark.css

Large diffs are not rendered by default.

1,675 changes: 910 additions & 765 deletions gtk-4.0/gtk.css

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion gtk-4.0/widgets/_dialogs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ messagedialog, dialog { /* Message Dialog styling */
border-bottom-right-radius: 10px; //5px;
}

.titlebar {
min-height: 20px;
background-image: none;
background-color: transparentize(if($variant=='light', $headerbar_color, $bg_color), 0.05);
border-style: none;
border-top-left-radius: 10px; //4px;
border-top-right-radius: 10px; //4px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}

.dialog-action-area button {
padding: 10px 14px; // labels are not vertically centered on message dialog, this is a workaround
border-radius: 0;
Expand Down Expand Up @@ -106,4 +117,4 @@ dialog {
}
}
}
}
}

0 comments on commit 1f3624f

Please sign in to comment.