Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
Gtk-3.2x&4.0: [Vala-panel] Add a workaround for 1:1.1 aspect-ratio in…
Browse files Browse the repository at this point in the history
… IconTaskListApplet

They still keeps outdated icon-tasklist codes stolen from Budgie,
so we have to carry on that workaround for vala-panel.
  • Loading branch information
tista500 committed Aug 25, 2018
1 parent 5a8dbf4 commit d3ee213
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gtk/sass/3.20/_3rd-party.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4107,7 +4107,7 @@ button.flat.-panel-icon-button {

> image {
background-image: image($selected_bg_color);
background-size: 6px 2px;
background-size: (6px / 1.1) 2px; // 1:1.1 aspect deformation exists
background-position: bottom center;
}

Expand Down
4 changes: 2 additions & 2 deletions gtk/sass/3.22/_3rd-party.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4053,7 +4053,7 @@ button.flat.-panel-icon-button {

> image {
background-image: image($selected_bg_color);
background-size: 6px 2px;
background-size: (6px / 1.1) 2px; // 1:1.1 aspect deformation exists
background-position: bottom center;
}

Expand All @@ -4065,7 +4065,7 @@ button.flat.-panel-icon-button {

box.vertical & {
> image {
background-size: 2px 6px;
background-size: 2px (6px / 1.1);
background-position: left center;
}

Expand Down
4 changes: 2 additions & 2 deletions gtk/sass/3.24/_3rd-party.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4022,7 +4022,7 @@ button.flat.-panel-icon-button {

> image {
background-image: image($selected_bg_color);
background-size: 6px 2px;
background-size: (6px / 1.1) 2px; // 1:1.1 aspect deformation exists
background-position: bottom center;
}

Expand All @@ -4034,7 +4034,7 @@ button.flat.-panel-icon-button {

box.vertical & {
> image {
background-size: 2px 6px;
background-size: 2px (6px / 1.1);
background-position: left center;
}

Expand Down
4 changes: 2 additions & 2 deletions gtk/sass/4.0/_3rd-party.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3996,7 +3996,7 @@ button.flat.-panel-icon-button {

> image {
background-image: image($selected_bg_color);
background-size: 6px 2px;
background-size: (6px / 1.1) 2px; // 1:1.1 aspect deformation exists
background-position: bottom center;
}

Expand All @@ -4008,7 +4008,7 @@ button.flat.-panel-icon-button {

box.vertical & {
> image {
background-size: 2px 6px;
background-size: 2px (6px / 1.1);
background-position: left center;
}

Expand Down

0 comments on commit d3ee213

Please sign in to comment.