diff --git a/common-assets/activities-active.svg b/common-assets/activities-active.svg new file mode 100644 index 0000000..1a4ad09 --- /dev/null +++ b/common-assets/activities-active.svg @@ -0,0 +1,178 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/common-assets/activities.svg b/common-assets/activities.svg new file mode 100644 index 0000000..b4a4b0d --- /dev/null +++ b/common-assets/activities.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gnome-shell-sass/widgets/_panel.scss b/gnome-shell-sass/widgets/_panel.scss index 68502c3..4f319c1 100644 --- a/gnome-shell-sass/widgets/_panel.scss +++ b/gnome-shell-sass/widgets/_panel.scss @@ -141,6 +141,31 @@ $panel_transition_duration: 250ms; // same as the overview transition duration &#panelActivities { -natural-hpadding: $base_padding * 3; + + .panel-button { + > * { + background-image: url("common-assets/activities.svg"); + background-size: contain; + width: 24px; + height: 24px; + background-color: transparent !important; + background-gradient-direction: none !important; + border: 0 solid transparent !important; + text-shadow: 0 0 transparent !important; + transition-duration: 0ms !important; + box-shadow: none !important; + color: transparent; + } + + &:active, &:overview, &:focus, &:checked { + background-color: transparent; + box-shadow: none; + border-bottom-width: 1px; + border-color: transparent; + + > * { background-image: url("common-assets/activities-active.svg"); } + } + } } }