From 5c1681a6e750c9cabea7b993414b37ca07767d2e Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 14 Sep 2015 17:05:57 +0200 Subject: file chooser: make rows with popovers visible --- common/gtk-3.0/3.18/gtk-contained-dark.css | 17 +++++++++++------ common/gtk-3.0/3.18/gtk-contained-darker.css | 17 +++++++++++------ common/gtk-3.0/3.18/gtk-contained-solid-dark.css | 17 +++++++++++------ common/gtk-3.0/3.18/gtk-contained-solid-darker.css | 17 +++++++++++------ common/gtk-3.0/3.18/gtk-contained-solid.css | 17 +++++++++++------ common/gtk-3.0/3.18/gtk-contained.css | 17 +++++++++++------ common/gtk-3.0/3.18/sass/_common.scss | 3 +++ 7 files changed, 69 insertions(+), 36 deletions(-) (limited to 'common') diff --git a/common/gtk-3.0/3.18/gtk-contained-dark.css b/common/gtk-3.0/3.18/gtk-contained-dark.css index 434f4aa..7b8826d 100644 --- a/common/gtk-3.0/3.18/gtk-contained-dark.css +++ b/common/gtk-3.0/3.18/gtk-contained-dark.css @@ -2141,7 +2141,7 @@ GtkScrolledWindow GtkViewport.frame { .grid-child { padding: 2px; } -.list-row.activatable:hover { +.list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(255, 255, 255, 0.03); } .list-row.activatable:active { @@ -2150,7 +2150,7 @@ GtkScrolledWindow GtkViewport.frame { .list-row.activatable:selected:active { color: #ffffff; } -.list-row.activatable:selected:hover { +.list-row.activatable:selected:hover, GtkPlacesSidebar.sidebar .has-open-popup:selected { background-color: #4a85cb; } .list-row.activatable:selected:insensitive { @@ -2322,7 +2322,7 @@ GtkPlacesSidebar.sidebar .list-row.activatable { color: rgba(211, 218, 227, 0.8); border-width: 1px 0; border-style: solid; } - GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkPlacesSidebar.sidebar .list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { border-color: rgba(255, 255, 255, 0.05); } .sidebar-button.button { @@ -2631,8 +2631,10 @@ GtkVolumeButton.button { GtkEntry.gb-command-bar-entry.entry.flat:selected:focus, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, -NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover { +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active, +NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active { background-image: none; background-color: #5294E2; color: #ffffff; @@ -3727,12 +3729,15 @@ NautilusWindow GtkPlacesSidebar.sidebar { NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable .sidebar-icon { color: rgba(186, 195, 207, 0.6); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:hover, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(186, 195, 207, 0.15); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon { color: inherit; } GtkFileChooserDialog GtkPlacesSidebar.sidebar .separator, GtkFileChooserDialog GtkPlacesSidebar.sidebar .view.separator, diff --git a/common/gtk-3.0/3.18/gtk-contained-darker.css b/common/gtk-3.0/3.18/gtk-contained-darker.css index f09e6f1..9f0c0bb 100644 --- a/common/gtk-3.0/3.18/gtk-contained-darker.css +++ b/common/gtk-3.0/3.18/gtk-contained-darker.css @@ -2144,7 +2144,7 @@ GtkScrolledWindow GtkViewport.frame { .grid-child { padding: 2px; } -.list-row.activatable:hover { +.list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(0, 0, 0, 0.05); } .list-row.activatable:active { @@ -2153,7 +2153,7 @@ GtkScrolledWindow GtkViewport.frame { .list-row.activatable:selected:active { color: #ffffff; } -.list-row.activatable:selected:hover { +.list-row.activatable:selected:hover, GtkPlacesSidebar.sidebar .has-open-popup:selected { background-color: #4a85cb; } .list-row.activatable:selected:insensitive { @@ -2325,7 +2325,7 @@ GtkPlacesSidebar.sidebar .list-row.activatable { color: rgba(92, 97, 108, 0.8); border-width: 1px 0; border-style: solid; } - GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkPlacesSidebar.sidebar .list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { border-color: rgba(0, 0, 0, 0.05); } .sidebar-button.button { @@ -2634,8 +2634,10 @@ GtkVolumeButton.button { GtkEntry.gb-command-bar-entry.entry.flat:selected:focus, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, -NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover { +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active, +NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active { background-image: none; background-color: #5294E2; color: #ffffff; @@ -3720,12 +3722,15 @@ NautilusWindow GtkPlacesSidebar.sidebar { NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable .sidebar-icon { color: rgba(186, 195, 207, 0.6); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:hover, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(186, 195, 207, 0.15); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon { color: inherit; } GtkFileChooserDialog GtkPlacesSidebar.sidebar .separator, GtkFileChooserDialog GtkPlacesSidebar.sidebar .view.separator, diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css index 8166d16..87d24cf 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css @@ -2141,7 +2141,7 @@ GtkScrolledWindow GtkViewport.frame { .grid-child { padding: 2px; } -.list-row.activatable:hover { +.list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(255, 255, 255, 0.03); } .list-row.activatable:active { @@ -2150,7 +2150,7 @@ GtkScrolledWindow GtkViewport.frame { .list-row.activatable:selected:active { color: #ffffff; } -.list-row.activatable:selected:hover { +.list-row.activatable:selected:hover, GtkPlacesSidebar.sidebar .has-open-popup:selected { background-color: #4a85cb; } .list-row.activatable:selected:insensitive { @@ -2322,7 +2322,7 @@ GtkPlacesSidebar.sidebar .list-row.activatable { color: rgba(211, 218, 227, 0.8); border-width: 1px 0; border-style: solid; } - GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkPlacesSidebar.sidebar .list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { border-color: rgba(255, 255, 255, 0.05); } .sidebar-button.button { @@ -2631,8 +2631,10 @@ GtkVolumeButton.button { GtkEntry.gb-command-bar-entry.entry.flat:selected:focus, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, -NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover { +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active, +NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active { background-image: none; background-color: #5294E2; color: #ffffff; @@ -3727,12 +3729,15 @@ NautilusWindow GtkPlacesSidebar.sidebar { NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable .sidebar-icon { color: rgba(186, 195, 207, 0.6); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:hover, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(186, 195, 207, 0.15); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon { color: inherit; } GtkFileChooserDialog GtkPlacesSidebar.sidebar .separator, GtkFileChooserDialog GtkPlacesSidebar.sidebar .view.separator, diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-darker.css b/common/gtk-3.0/3.18/gtk-contained-solid-darker.css index fe0f76d..7fac055 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid-darker.css @@ -2144,7 +2144,7 @@ GtkScrolledWindow GtkViewport.frame { .grid-child { padding: 2px; } -.list-row.activatable:hover { +.list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(0, 0, 0, 0.05); } .list-row.activatable:active { @@ -2153,7 +2153,7 @@ GtkScrolledWindow GtkViewport.frame { .list-row.activatable:selected:active { color: #ffffff; } -.list-row.activatable:selected:hover { +.list-row.activatable:selected:hover, GtkPlacesSidebar.sidebar .has-open-popup:selected { background-color: #4a85cb; } .list-row.activatable:selected:insensitive { @@ -2325,7 +2325,7 @@ GtkPlacesSidebar.sidebar .list-row.activatable { color: rgba(92, 97, 108, 0.8); border-width: 1px 0; border-style: solid; } - GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkPlacesSidebar.sidebar .list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { border-color: rgba(0, 0, 0, 0.05); } .sidebar-button.button { @@ -2634,8 +2634,10 @@ GtkVolumeButton.button { GtkEntry.gb-command-bar-entry.entry.flat:selected:focus, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, -NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover { +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active, +NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active { background-image: none; background-color: #5294E2; color: #ffffff; @@ -3720,12 +3722,15 @@ NautilusWindow GtkPlacesSidebar.sidebar { NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable .sidebar-icon { color: rgba(186, 195, 207, 0.6); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:hover, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(186, 195, 207, 0.15); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon { color: inherit; } GtkFileChooserDialog GtkPlacesSidebar.sidebar .separator, GtkFileChooserDialog GtkPlacesSidebar.sidebar .view.separator, diff --git a/common/gtk-3.0/3.18/gtk-contained-solid.css b/common/gtk-3.0/3.18/gtk-contained-solid.css index 05db064..236c87c 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid.css @@ -2148,7 +2148,7 @@ GtkScrolledWindow GtkViewport.frame { .grid-child { padding: 2px; } -.list-row.activatable:hover { +.list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(0, 0, 0, 0.05); } .list-row.activatable:active { @@ -2157,7 +2157,7 @@ GtkScrolledWindow GtkViewport.frame { .list-row.activatable:selected:active { color: #ffffff; } -.list-row.activatable:selected:hover { +.list-row.activatable:selected:hover, GtkPlacesSidebar.sidebar .has-open-popup:selected { background-color: #4a85cb; } .list-row.activatable:selected:insensitive { @@ -2329,7 +2329,7 @@ GtkPlacesSidebar.sidebar .list-row.activatable { color: rgba(92, 97, 108, 0.8); border-width: 1px 0; border-style: solid; } - GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkPlacesSidebar.sidebar .list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { border-color: rgba(0, 0, 0, 0.05); } .sidebar-button.button { @@ -2638,8 +2638,10 @@ GtkVolumeButton.button { GtkEntry.gb-command-bar-entry.entry.flat:selected:focus, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, -NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover { +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active, +NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active { background-image: none; background-color: #5294E2; color: #ffffff; @@ -3724,12 +3726,15 @@ NautilusWindow GtkPlacesSidebar.sidebar { NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable .sidebar-icon { color: rgba(186, 195, 207, 0.6); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:hover, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(186, 195, 207, 0.15); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon { color: inherit; } GtkFileChooserDialog GtkPlacesSidebar.sidebar .separator, GtkFileChooserDialog GtkPlacesSidebar.sidebar .view.separator, diff --git a/common/gtk-3.0/3.18/gtk-contained.css b/common/gtk-3.0/3.18/gtk-contained.css index 76f262f..213b1f6 100644 --- a/common/gtk-3.0/3.18/gtk-contained.css +++ b/common/gtk-3.0/3.18/gtk-contained.css @@ -2148,7 +2148,7 @@ GtkScrolledWindow GtkViewport.frame { .grid-child { padding: 2px; } -.list-row.activatable:hover { +.list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(0, 0, 0, 0.05); } .list-row.activatable:active { @@ -2157,7 +2157,7 @@ GtkScrolledWindow GtkViewport.frame { .list-row.activatable:selected:active { color: #ffffff; } -.list-row.activatable:selected:hover { +.list-row.activatable:selected:hover, GtkPlacesSidebar.sidebar .has-open-popup:selected { background-color: #4a85cb; } .list-row.activatable:selected:insensitive { @@ -2329,7 +2329,7 @@ GtkPlacesSidebar.sidebar .list-row.activatable { color: rgba(92, 97, 108, 0.8); border-width: 1px 0; border-style: solid; } - GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkPlacesSidebar.sidebar .list-row.activatable:hover, GtkPlacesSidebar.sidebar .has-open-popup { border-color: rgba(0, 0, 0, 0.05); } .sidebar-button.button { @@ -2638,8 +2638,10 @@ GtkVolumeButton.button { GtkEntry.gb-command-bar-entry.entry.flat:selected:focus, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, -NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover { +GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active, +NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active { background-image: none; background-color: #5294E2; color: #ffffff; @@ -3724,12 +3726,15 @@ NautilusWindow GtkPlacesSidebar.sidebar { NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable .sidebar-icon { color: rgba(186, 195, 207, 0.6); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:hover, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:hover, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup { background-color: rgba(186, 195, 207, 0.15); } GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, GtkFileChooserDialog GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, - NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon { + GtkFileChooserDialog GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon, + NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:selected:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:selected .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .list-row.activatable:active:hover .sidebar-icon, NautilusWindow GtkPlacesSidebar.sidebar .has-open-popup:active .sidebar-icon { color: inherit; } GtkFileChooserDialog GtkPlacesSidebar.sidebar .separator, GtkFileChooserDialog GtkPlacesSidebar.sidebar .view.separator, diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index c24eee0..06a7c08 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -2603,6 +2603,9 @@ GtkPlacesSidebar.sidebar { &:not(:hover):not(:active) > GtkImage { opacity: 0.5 }; } + // this is for indicating which sidebar row generated a popover + // see https://bugzilla.gnome.org/show_bug.cgi?id=754411 + .has-open-popup { @extend .list-row.activatable:hover; } } .sidebar-item { -- cgit v1.2.3