[gnome-shell/wip/sassWithSomeFixes: 59/62] theme: Use box shadow for active panel menu border
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sassWithSomeFixes: 59/62] theme: Use box shadow for active panel menu border
- Date: Mon, 10 Nov 2014 16:13:13 +0000 (UTC)
commit da60fc4757066a10b92978fc08f25ff6efc93183
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Mon Nov 10 15:10:40 2014 +0100
theme: Use box shadow for active panel menu border
data/theme/_common.scss | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index dbe90cf..9dcaea2 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -242,8 +242,7 @@ StScrollBar {
&.unlock-screen,
&.login-screen,
&.lock-screen {
- background-color: transparent;
-
+ background-color: transparent;
}
#panelLeft, #panelCenter { // spacing between activities<>app menu and such
@@ -269,7 +268,7 @@ StScrollBar {
font-weight: bold;
color: #ccc;
transition-duration: 100ms;
- padding: 2px;
+
#appMenuIcon {
app-icon-bottom-clip: 1px;
@@ -287,9 +286,10 @@ StScrollBar {
}
&:active, &:overview, &:focus, &:checked {
- border-color: lighten($selected_bg_color,5%);
- border-bottom-width: 2px;
- padding: 2px 2px 0 2px;
+ // Trick due to St limitations. It needs a background to draw
+ // a box-shadow
+ background-color: rgba(0, 0, 0, 0.01);
+ box-shadow: inset 0 -2px 0px lighten($selected_bg_color,5%);
color: lighten($fg_color,10%);
text-shadow: black 0px 2px 2px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]