Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceliuice committed Apr 21, 2023
1 parent fed4c22 commit 34bbf40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions src/sass/gtk/_common-3.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ actionbar {

headerbar {
min-height: $headerbar_size;
padding: 0 8px;
padding: 0 $container_padding;
color: $header_fg;
background-color: $header_bg;
border-bottom: 1px solid $header_border;
Expand Down Expand Up @@ -1787,6 +1787,7 @@ headerbar {

.csd &.default-decoration,
.csd &.default-decoration:backdrop {
padding: 0 $container_padding;
border-bottom: 1px solid $header_border;
}

Expand Down Expand Up @@ -3656,7 +3657,7 @@ messagedialog { // Message Dialog styling
border: none;

&:not(:last-child) {
margin-right: $container_padding / 2;
margin-right: $container_padding;
}

&:not(.suggested-action):not(.destructive-action) {
Expand Down
11 changes: 6 additions & 5 deletions src/sass/gtk/_common-4.0.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1979,7 +1979,7 @@ headerbar {
}

> windowhandle > box {
padding: 0 8px;
padding: 0 $container_padding;

&,
> box.start,
Expand Down Expand Up @@ -2164,9 +2164,13 @@ headerbar {

&.default-decoration {
min-height: $medium_size;
padding: 0 $container_padding * 2;
padding: 0;
background-color: $header_bg;

> windowhandle > box {
padding: 0 $container_padding / 2;
}

.tiled &,
.maximized &,
.fullscreen & { box-shadow: none; }
Expand Down Expand Up @@ -4889,9 +4893,6 @@ window {
background-color: $header_bg;
box-shadow: none;
}

// server-side decorations as used by mutter
&.ssd { box-shadow: 0 0 0 1px $wm_shadow; } //just doing borders, wm draws actual shadows
}

//
Expand Down

0 comments on commit 34bbf40

Please sign in to comment.