From 3a03a36533b0089a0501eaa044f486df9706487f Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Tue, 17 Feb 2015 16:12:39 +0100 Subject: [PATCH] theme: sass code structure --- data/theme/_common.scss | 8 ++++++-- data/theme/gnome-shell-high-contrast.css | 5 +++-- data/theme/gnome-shell.css | 7 +++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/data/theme/_common.scss b/data/theme/_common.scss index 77c6e4395..c5de4e3fb 100644 --- a/data/theme/_common.scss +++ b/data/theme/_common.scss @@ -444,10 +444,14 @@ StScrollBar { &:insensitive { color: transparentize($fg_color,0.5); } } - //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is + //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is + &.panel-menu { + -boxpointer-gap: 4px; + margin-bottom: 1.75em; + } } -.panel-menu { -boxpointer-gap: 4px; margin-bottom: 1.75em; } + .popup-menu-ornament { text-align: right; diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index 5f0a509f8..588f79d6c 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -402,6 +402,9 @@ StScrollBar { color: #fff; } .popup-menu .popup-inactive-menu-item:insensitive { color: rgba(255, 255, 255, 0.5); } + .popup-menu.panel-menu { + -boxpointer-gap: 4px; + margin-bottom: 1.75em; } .popup-menu-ornament { text-align: right; @@ -579,8 +582,6 @@ StScrollBar { #panel .panel-status-button:active, #panel .panel-status-button:overview, #panel .panel-status-button:focus, #panel .panel-status-button:checked { border-color: #256ab1; border-bottom-width: 2px; } - #panel .panel-menu { - -boxpointer-gap: 4px; } #panel .panel-status-indicators-box, #panel .panel-status-menu-box { spacing: 2px; } diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 23d2d9314..f390028e9 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -402,10 +402,9 @@ StScrollBar { color: #eeeeec; } .popup-menu .popup-inactive-menu-item:insensitive { color: rgba(238, 238, 236, 0.5); } - -.panel-menu { - -boxpointer-gap: 4px; - margin-bottom: 1.75em; } + .popup-menu.panel-menu { + -boxpointer-gap: 4px; + margin-bottom: 1.75em; } .popup-menu-ornament { text-align: right;