From 7823d5a445c128d141aeb6055287059e16038d97 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 28 Dec 2015 20:24:17 +0100 Subject: some refactoring --- common/gtk-3.0/3.14/sass/_applications.scss | 104 ++++++++++++---------------- 1 file changed, 45 insertions(+), 59 deletions(-) (limited to 'common/gtk-3.0/3.14/sass') diff --git a/common/gtk-3.0/3.14/sass/_applications.scss b/common/gtk-3.0/3.14/sass/_applications.scss index 57eaec8..585f1be 100644 --- a/common/gtk-3.0/3.14/sass/_applications.scss +++ b/common/gtk-3.0/3.14/sass/_applications.scss @@ -543,23 +543,17 @@ BirdieWidgetsTweetList * { // // Marlin / Pantheon Files // -MarlinViewWindow GtkIconView.view:selected, -MarlinViewWindow GtkIconView.view:selected:focus, -MarlinViewWindow GtkIconView.view:selected:hover, -MarlinViewWindow GtkIconView.view:selected:focus:hover { - background-color: transparent; -} - -MarlinViewWindow FMListView, -MarlinViewWindow FMColumnView { - outline-color: transparent; -} +MarlinViewWindow { -MarlinViewWindow *:selected, -MarlinViewWindow *:selected:focus { - color: $selected_fg_color; - background-color: $selected_bg_color; - outline-color: transparent; + *:selected, *:selected:focus { + color: $selected_fg_color; + background-color: $selected_bg_color; + outline-color: transparent; + } + GtkIconView.view:selected { + &, &:focus, &:hover, &:focus:hover { background-color: transparent; } + } + FMListView, FMColumnView { outline-color: transparent; } } .marlin-pathbar.pathbar { @@ -602,37 +596,33 @@ MarlinViewWindow *:selected:focus { font-weight: bold; text-shadow: 0 1px 2px transparentize(black, 0.4); icon-shadow: 0 1px 2px transparentize(black, 0.4); -} - -.panel-shadow { - background-image: none; - background-color: transparent; -} - -.panel .menu { - box-shadow: none; -} - -.panel .menu .menuitem { - font-weight: normal; - text-shadow: none; - icon-shadow: none; -} - -.panel .menubar > .menuitem { padding: 3px 6px; } -.panel .menubar > .menuitem:hover { background-color: transparent; } + &-shadow { + background-image: none; + background-color: transparent; + } + .menu { + box-shadow: none; -.panel .window-frame.menu.csd, -.panel .window-frame.popup.csd { - box-shadow: none; -} + .menuitem { + font-weight: normal; + text-shadow: none; + icon-shadow: none; + } -.panel .menu .window-frame.menu.csd, -.panel .menu .window-frame.popup.csd { - box-shadow: 0 0 0 1px transparentize(black, 0.8), - 0 10px 20px transparentize(black, 0.81), - 0 6px 6px transparentize(black, 0.77); + .window-frame.menu.csd, + .window-frame.popup.csd { + box-shadow: 0 0 0 1px transparentize(black, 0.8), + 0 10px 20px transparentize(black, 0.81), + 0 6px 6px transparentize(black, 0.77); + } + } + .menubar > .menuitem { + padding: 3px 6px; + &:hover { background-color: transparent; } + } + .window-frame.menu.csd, + .window-frame.popup.csd { box-shadow: none; } } .composited-indicator { @@ -640,28 +630,24 @@ MarlinViewWindow *:selected:focus { color: white; text-shadow: 0 1px 2px transparentize(black, 0.4); icon-shadow: 0 1px 2px transparentize(black, 0.4); -} -.composited-indicator > GtkWidget > GtkWidget:first-child { - padding: 0 2px; + > GtkWidget > GtkWidget:first-child { padding: 0 2px; } + + .menuitem:active, .menuitem:prelight { + border-style: none; + background-image: none; + box-shadow: none; + } + > .popup > .menu { + padding-top: 8px; + padding-bottom: 8px; + } } .panel-app-button > GtkWidget > GtkWidget:first-child { padding: 0 2px 0 4px; } -.composited-indicator.menuitem:active, -.composited-indicator.menuitem:prelight { - border-style: none; - background-image: none; - box-shadow: none; -} - -.composited-indicator > .popup > .menu { - padding-top: 8px; - padding-bottom: 8px; -} - .panel .menu .spinner, .menu .spinner { opacity: 1 } // Fixes sound indicator buttons -- cgit v1.2.3