|
|
79c34a |
From 707ca4122da0a638f3df3b92178acc04eea264ec Mon Sep 17 00:00:00 2001
|
|
|
79c34a |
From: rpm-build <rpm-build>
|
|
|
79c34a |
Date: Tue, 4 Sep 2018 15:33:26 -0400
|
|
|
79c34a |
Subject: [PATCH] common: get rid of weird drop shadow nex to app menu
|
|
|
79c34a |
|
|
|
79c34a |
Resolves: #1620241
|
|
|
79c34a |
|
|
|
79c34a |
---
|
|
|
79c34a |
data/gnome-shell-sass/_common.scss | 10 ----------
|
|
|
79c34a |
1 file changed, 10 deletions(-)
|
|
|
79c34a |
|
|
|
79c34a |
diff --git a/data/gnome-shell-sass/_common.scss b/data/gnome-shell-sass/_common.scss
|
|
|
79c34a |
index 2f5c887..9883c78 100644
|
|
|
79c34a |
--- a/data/gnome-shell-sass/_common.scss
|
|
|
79c34a |
+++ b/data/gnome-shell-sass/_common.scss
|
|
|
79c34a |
@@ -742,140 +742,130 @@ StScrollBar {
|
|
|
79c34a |
|
|
|
79c34a |
#panelLeft, #panelCenter { // spacing between activities<>app menu and such
|
|
|
79c34a |
spacing: 4px;
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.panel-corner {
|
|
|
79c34a |
-panel-corner-radius: $panel-corner-radius;
|
|
|
79c34a |
-panel-corner-background-color: rgba(0, 0, 0, 0.35);
|
|
|
79c34a |
-panel-corner-border-width: 2px;
|
|
|
79c34a |
-panel-corner-border-color: transparent;
|
|
|
79c34a |
|
|
|
79c34a |
&:active, &:overview, &:focus {
|
|
|
79c34a |
-panel-corner-border-color: lighten($selected_bg_color,5%);
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
&.lock-screen, &.login-screen, &.unlock-screen {
|
|
|
79c34a |
-panel-corner-radius: 0;
|
|
|
79c34a |
-panel-corner-background-color: transparent;
|
|
|
79c34a |
-panel-corner-border-color: transparent;
|
|
|
79c34a |
}
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.panel-button {
|
|
|
79c34a |
-natural-hpadding: 12px;
|
|
|
79c34a |
-minimum-hpadding: 6px;
|
|
|
79c34a |
font-weight: bold;
|
|
|
79c34a |
color: #eee;
|
|
|
79c34a |
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
|
|
|
79c34a |
transition-duration: 100ms;
|
|
|
79c34a |
|
|
|
79c34a |
- .app-menu-icon {
|
|
|
79c34a |
- -st-icon-style: symbolic;
|
|
|
79c34a |
- margin-left: 4px;
|
|
|
79c34a |
- margin-right: 4px;
|
|
|
79c34a |
- //dimensions of the icon are hardcoded
|
|
|
79c34a |
- }
|
|
|
79c34a |
-
|
|
|
79c34a |
.panel-logo-icon {
|
|
|
79c34a |
padding-right: .4em;
|
|
|
79c34a |
icon-size: 1em;
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.system-status-icon,
|
|
|
79c34a |
- .app-menu-icon > StIcon,
|
|
|
79c34a |
.popup-menu-arrow {
|
|
|
79c34a |
icon-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
&:hover {
|
|
|
79c34a |
color: lighten($fg_color, 10%);
|
|
|
79c34a |
text-shadow: 0px 1px 6px rgba(0, 0, 0, 1);
|
|
|
79c34a |
|
|
|
79c34a |
.system-status-icon,
|
|
|
79c34a |
- .app-menu-icon > StIcon,
|
|
|
79c34a |
.popup-menu-arrow {
|
|
|
79c34a |
icon-shadow: 0px 1px 6px rgba(0, 0, 0, 1);
|
|
|
79c34a |
}
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
&:active, &:overview, &:focus, &:checked {
|
|
|
79c34a |
// Trick due to St limitations. It needs a background to draw
|
|
|
79c34a |
// a box-shadow
|
|
|
79c34a |
background-color: rgba(0, 0, 0, 0.01);
|
|
|
79c34a |
box-shadow: inset 0 -2px 0px lighten($selected_bg_color,5%);
|
|
|
79c34a |
color: lighten($fg_color,10%);
|
|
|
79c34a |
|
|
|
79c34a |
& > .system-status-icon { icon-shadow: black 0 2px 2px; }
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.system-status-icon { icon-size: 1.09em; padding: 0 5px; }
|
|
|
79c34a |
.unlock-screen &,
|
|
|
79c34a |
.login-screen &,
|
|
|
79c34a |
.lock-screen & {
|
|
|
79c34a |
color: lighten($fg_color, 10%);
|
|
|
79c34a |
&:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
|
|
|
79c34a |
}
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.panel-status-indicators-box,
|
|
|
79c34a |
.panel-status-menu-box {
|
|
|
79c34a |
spacing: 2px;
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
// spacing between power icon and (optional) percentage label
|
|
|
79c34a |
.power-status.panel-status-indicators-box {
|
|
|
79c34a |
spacing: 0;
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.screencast-indicator { color: $warning_color; }
|
|
|
79c34a |
|
|
|
79c34a |
&.solid {
|
|
|
79c34a |
background-color: black;
|
|
|
79c34a |
/* transition from transparent to solid */
|
|
|
79c34a |
transition-duration: 300ms;
|
|
|
79c34a |
|
|
|
79c34a |
.panel-corner {
|
|
|
79c34a |
-panel-corner-background-color: black;
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.panel-button {
|
|
|
79c34a |
color: #ccc;
|
|
|
79c34a |
text-shadow: none;
|
|
|
79c34a |
|
|
|
79c34a |
&:hover, &:active, &:overview, &:focus, &:checked {
|
|
|
79c34a |
color: lighten($fg_color, 10%);
|
|
|
79c34a |
}
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.system-status-icon,
|
|
|
79c34a |
- .app-menu-icon > StIcon,
|
|
|
79c34a |
.popup-menu-arrow {
|
|
|
79c34a |
icon-shadow: none;
|
|
|
79c34a |
}
|
|
|
79c34a |
}
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
// calendar popover
|
|
|
79c34a |
#calendarArea {
|
|
|
79c34a |
padding: 0.75em 1.0em;
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.calendar {
|
|
|
79c34a |
margin-bottom: 1em;
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.calendar,
|
|
|
79c34a |
.datemenu-today-button,
|
|
|
79c34a |
.datemenu-displays-box,
|
|
|
79c34a |
.message-list-sections {
|
|
|
79c34a |
margin: 0 1.5em;
|
|
|
79c34a |
}
|
|
|
79c34a |
|
|
|
79c34a |
.datemenu-calendar-column { spacing: 0.5em; }
|
|
|
79c34a |
.datemenu-displays-section { padding-bottom: 3em; }
|
|
|
79c34a |
.datemenu-displays-box { spacing: 1em; }
|
|
|
79c34a |
|
|
|
79c34a |
.datemenu-calendar-column {
|
|
|
79c34a |
border: 0 solid lighten($bg_color,5%);
|
|
|
79c34a |
&:ltr { border-left-width: 1px; }
|
|
|
79c34a |
&:rtl { border-right-width: 1px; }
|
|
|
79c34a |
--
|
|
|
79c34a |
2.17.1
|
|
|
79c34a |
|