58a5c8
From 524bc0710f6dbbbb6b8135253f03ce5e0059da02 Mon Sep 17 00:00:00 2001
58a5c8
From: rpm-build <rpm-build>
58a5c8
Date: Tue, 4 Sep 2018 09:58:57 -0400
58a5c8
Subject: [PATCH] data: drop app icon styling
58a5c8
58a5c8
classic session doesn't show an app icon in the app menu, so
58a5c8
putting a drop shadow around where it would be creates screen
58a5c8
artifacts.
58a5c8
58a5c8
This commit drops the styling of the app icon that doesn't exist.
58a5c8
---
58a5c8
 data/gnome-shell-sass/_common.scss | 10 ----------
58a5c8
 1 file changed, 10 deletions(-)
58a5c8
58a5c8
diff --git a/data/gnome-shell-sass/_common.scss b/data/gnome-shell-sass/_common.scss
58a5c8
index 1ceadf4..3cce6c1 100644
58a5c8
--- a/data/gnome-shell-sass/_common.scss
58a5c8
+++ b/data/gnome-shell-sass/_common.scss
58a5c8
@@ -742,140 +742,130 @@ StScrollBar {
58a5c8
 
58a5c8
   #panelLeft, #panelCenter { // spacing between activities<>app menu and such
58a5c8
     spacing: 4px;
58a5c8
   }
58a5c8
 
58a5c8
   .panel-corner {
58a5c8
     -panel-corner-radius: $panel-corner-radius;
58a5c8
     -panel-corner-background-color: rgba(0, 0, 0, 0.35);
58a5c8
     -panel-corner-border-width: 2px;
58a5c8
     -panel-corner-border-color: transparent;
58a5c8
 
58a5c8
     &:active, &:overview, &:focus {
58a5c8
       -panel-corner-border-color: lighten($selected_bg_color,5%);
58a5c8
     }
58a5c8
 
58a5c8
     &.lock-screen, &.login-screen, &.unlock-screen {
58a5c8
       -panel-corner-radius: 0;
58a5c8
       -panel-corner-background-color: transparent;
58a5c8
       -panel-corner-border-color: transparent;
58a5c8
     }
58a5c8
   }
58a5c8
 
58a5c8
   .panel-button {
58a5c8
     -natural-hpadding: 12px;
58a5c8
     -minimum-hpadding: 6px;
58a5c8
     font-weight: bold;
58a5c8
     color: #eee;
58a5c8
     text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
58a5c8
     transition-duration: 100ms;
58a5c8
 
58a5c8
-    .app-menu-icon {
58a5c8
-      -st-icon-style: symbolic;
58a5c8
-      margin-left: 4px;
58a5c8
-      margin-right: 4px;
58a5c8
-      //dimensions of the icon are hardcoded
58a5c8
-    }
58a5c8
-
58a5c8
     .panel-logo-icon {
58a5c8
       padding-right: .4em;
58a5c8
       icon-size: 1em;
58a5c8
     }
58a5c8
 
58a5c8
     .system-status-icon,
58a5c8
-    .app-menu-icon > StIcon,
58a5c8
     .popup-menu-arrow {
58a5c8
       icon-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
58a5c8
     }
58a5c8
 
58a5c8
     &:hover {
58a5c8
       color: lighten($fg_color, 10%);
58a5c8
       text-shadow: 0px 1px 6px rgba(0, 0, 0, 1);
58a5c8
 
58a5c8
       .system-status-icon,
58a5c8
-      .app-menu-icon > StIcon,
58a5c8
       .popup-menu-arrow {
58a5c8
         icon-shadow: 0px 1px 6px rgba(0, 0, 0, 1);
58a5c8
       }
58a5c8
     }
58a5c8
 
58a5c8
     &:active, &:overview, &:focus, &:checked {
58a5c8
       // Trick due to St limitations. It needs a background to draw
58a5c8
       // a box-shadow
58a5c8
       background-color: rgba(0, 0, 0, 0.01);
58a5c8
       box-shadow: inset 0 -2px 0px lighten($selected_bg_color,5%);
58a5c8
       color: lighten($fg_color,10%);
58a5c8
 
58a5c8
       & > .system-status-icon { icon-shadow: black 0 2px 2px; }
58a5c8
     }
58a5c8
 
58a5c8
     .system-status-icon { icon-size: 1.09em; padding: 0 5px; }
58a5c8
     .unlock-screen &,
58a5c8
     .login-screen &,
58a5c8
     .lock-screen & {
58a5c8
       color: lighten($fg_color, 10%);
58a5c8
       &:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
58a5c8
     }
58a5c8
   }
58a5c8
 
58a5c8
   .panel-status-indicators-box,
58a5c8
   .panel-status-menu-box {
58a5c8
     spacing: 2px;
58a5c8
   }
58a5c8
 
58a5c8
   // spacing between power icon and (optional) percentage label
58a5c8
   .power-status.panel-status-indicators-box {
58a5c8
     spacing: 0;
58a5c8
   }
58a5c8
 
58a5c8
   .screencast-indicator { color: $warning_color; }
58a5c8
 
58a5c8
   &.solid {
58a5c8
     background-color: black;
58a5c8
     /* transition from transparent to solid */
58a5c8
     transition-duration: 300ms;
58a5c8
 
58a5c8
     .panel-corner {
58a5c8
       -panel-corner-background-color: black;
58a5c8
     }
58a5c8
 
58a5c8
     .panel-button {
58a5c8
       color: #ccc;
58a5c8
       text-shadow: none;
58a5c8
 
58a5c8
       &:hover, &:active, &:overview, &:focus, &:checked {
58a5c8
         color: lighten($fg_color, 10%);
58a5c8
       }
58a5c8
     }
58a5c8
 
58a5c8
     .system-status-icon,
58a5c8
-    .app-menu-icon > StIcon,
58a5c8
     .popup-menu-arrow {
58a5c8
       icon-shadow: none;
58a5c8
     }
58a5c8
   }
58a5c8
 }
58a5c8
 
58a5c8
   // calendar popover
58a5c8
   #calendarArea {
58a5c8
     padding: 0.75em 1.0em;
58a5c8
   }
58a5c8
 
58a5c8
   .calendar {
58a5c8
     margin-bottom: 1em;
58a5c8
   }
58a5c8
 
58a5c8
     .calendar,
58a5c8
     .datemenu-today-button,
58a5c8
     .datemenu-displays-box,
58a5c8
     .message-list-sections {
58a5c8
       margin: 0 1.5em;
58a5c8
     }
58a5c8
 
58a5c8
     .datemenu-calendar-column { spacing: 0.5em; }
58a5c8
     .datemenu-displays-section { padding-bottom: 3em; }
58a5c8
     .datemenu-displays-box { spacing: 1em; }
58a5c8
 
58a5c8
     .datemenu-calendar-column {
58a5c8
       border: 0 solid lighten($bg_color,5%);
58a5c8
       &:ltr { border-left-width: 1px; }
58a5c8
       &:rtl { border-right-width: 1px; }
58a5c8
-- 
58a5c8
2.17.1
58a5c8