Skip to content

Commit

Permalink
Styles: add Tooltip style (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Mar 22, 2024
1 parent cc80a99 commit ae05901
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Styles/Granite/OverlayBar.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
overlaybar .osd {
padding: rem(6px) rem(12px);
text-shadow: 0 rem(1px) rem(2px) rgba($fg_color, 0.6);

spinner {
text-shadow: 0 rem(1px) rem(2px) rgba(black, 0.6);
-gtk-icon-shadow: 0 rem(1px) rem(2px) rgba(black, 0.6);
-gtk-icon-shadow: 0 rem(1px) rem(2px) rgba($fg_color, 0.6);
}

revealer:dir(ltr) > spinner {
Expand Down
1 change: 1 addition & 0 deletions lib/Styles/Gtk/Index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
@import 'HeaderBar.scss';
@import 'ShortcutsWindow.scss';
@import 'Spinner.scss';
@import 'Tooltip.scss';
@import 'WindowControls.scss';
@import 'Window.scss';
6 changes: 6 additions & 0 deletions lib/Styles/Gtk/Tooltip.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tooltip {
@extend .osd;

margin: rem(3px);
text-shadow: 0 rem(1px) rem(2px) rgba($fg_color, 0.6);
}

0 comments on commit ae05901

Please sign in to comment.