Skip to content

Commit

Permalink
Fix label styles for xfdesktop 4.19 (#338)
Browse files Browse the repository at this point in the history
* Fix label styles for xfdesktop 4.19

* Fix selected+backdrop style
  • Loading branch information
andreldm authored Oct 18, 2024
1 parent ffa9846 commit 7e4507d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
17 changes: 12 additions & 5 deletions dark/gtk-3.0/_xfce.scss
Original file line number Diff line number Diff line change
Expand Up @@ -164,18 +164,25 @@ XfdesktopIconView.view {
color: $panel_fg_color;
border-radius: 3px;
&:active {
background: rgba(darken($selected_bg_color, 15%), 0.5);
text-shadow: 0 1px 1px black;
}
&:active {
background: rgba(darken($selected_bg_color, 15%), 0.5);
background-color: rgba(darken($selected_bg_color, 15%), 0.5);
color: $selected_bg_color;
text-shadow: 0 1px 1px black;
}
.label {
text-shadow: 1px 1px 2px black;
outline-style: none;
&:active {
color: $selected_fg_color;
}
&:backdrop {
color: $selected_fg_color;
background-color: transparent;
}
&:selected {
background-color: lighten($selected_bg_color, 20%);
}
&:selected:backdrop {
background-color: rgba($selected_bg_color, 0.5);
}
}
.rubberband {
Expand Down
13 changes: 12 additions & 1 deletion light/gtk-3.0/_xfce.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,26 @@ XfdesktopIconView.view {
color: $panel_fg_color;
border-radius: 3px;
&:active {
background: rgba(darken($selected_bg_color, 15%), 0.5);
background: rgba(darken($selected_bg_color, 20%), 0.5);
color: $selected_bg_color;
text-shadow: 0 1px 1px black;
}
.label {
text-shadow: 1px 1px 2px black;
outline-style: none;
&:active {
color: $selected_fg_color;
}
&:backdrop {
color: $selected_fg_color;
background-color: transparent;
}
&:selected {
background-color: darken($selected_bg_color, 20%);
}
&:selected:backdrop {
background-color: rgba($selected_bg_color, 0.5);
}
}
.rubberband {
@extend rubberband;
Expand Down

0 comments on commit 7e4507d

Please sign in to comment.