From 78c13218f1322ee8a8a0c10d169662eb4dbd2b42 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 16 Jul 2015 22:04:26 +0200 Subject: fix filechooser for non-csd winows --- common/gtk-3.0/3.14/_transparent_widgets.scss | 2 +- common/gtk-3.0/3.14/gtk-contained-dark.css | 15 ++++++++++++++- common/gtk-3.0/3.14/gtk-contained-darker.css | 15 ++++++++++++++- common/gtk-3.0/3.14/gtk-contained-solid-dark.css | 15 ++++++++++++++- common/gtk-3.0/3.14/gtk-contained-solid-darker.css | 15 ++++++++++++++- common/gtk-3.0/3.14/gtk-contained-solid.css | 15 ++++++++++++++- common/gtk-3.0/3.14/gtk-contained.css | 15 ++++++++++++++- common/gtk-3.0/3.16/_transparent_widgets.scss | 2 +- common/gtk-3.0/3.16/gtk-contained-dark.css | 2 +- common/gtk-3.0/3.16/gtk-contained-darker.css | 2 +- common/gtk-3.0/3.16/gtk-contained-solid-dark.css | 2 +- common/gtk-3.0/3.16/gtk-contained-solid-darker.css | 2 +- common/gtk-3.0/3.16/gtk-contained-solid.css | 2 +- common/gtk-3.0/3.16/gtk-contained.css | 2 +- 14 files changed, 92 insertions(+), 14 deletions(-) diff --git a/common/gtk-3.0/3.14/_transparent_widgets.scss b/common/gtk-3.0/3.14/_transparent_widgets.scss index 13f303d..16bf819 100644 --- a/common/gtk-3.0/3.14/_transparent_widgets.scss +++ b/common/gtk-3.0/3.14/_transparent_widgets.scss @@ -85,7 +85,7 @@ MarlinViewWindow { GtkFileChooserDialog { - &.background.csd { background-color: $dark_sidebar_bg } + &.background.csd, .background { background-color: $dark_sidebar_bg } .sidebar { background-color: transparent } // Yeah, this is ugly, but prevents a transparent background in the image preview box diff --git a/common/gtk-3.0/3.14/gtk-contained-dark.css b/common/gtk-3.0/3.14/gtk-contained-dark.css index be4942c..8e50123 100644 --- a/common/gtk-3.0/3.14/gtk-contained-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-dark.css @@ -238,6 +238,19 @@ GtkFlowBox .grid-child { box-shadow: 0 -1px 0 0 #5294E2; } .linked.vertical > .entry:last-child:insensitive { border-bottom-color: rgba(0, 0, 0, 0.14); } + .osd .entry { + color: #A8ADB5; + border-color: rgba(168, 173, 181, 0.3); + background-color: transparent; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:focus { + color: #5294E2; + border-color: #5294E2; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:insensitive { + color: #5c6069; + border-color: rgba(168, 173, 181, 0.2); + background-image: linear-gradient(to bottom, rgba(53, 57, 65, 0.95)); } /*********** * Buttons * @@ -3598,7 +3611,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: rgba(46, 49, 56, 0.95); } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: rgba(69, 74, 84, 0.95); } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.14/gtk-contained-darker.css b/common/gtk-3.0/3.14/gtk-contained-darker.css index cb834ad..2c64d5b 100644 --- a/common/gtk-3.0/3.14/gtk-contained-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-darker.css @@ -238,6 +238,19 @@ GtkFlowBox .grid-child { box-shadow: 0 -1px 0 0 #5294E2; } .linked.vertical > .entry:last-child:insensitive { border-bottom-color: rgba(0, 0, 0, 0.14); } + .osd .entry { + color: #A8ADB5; + border-color: rgba(168, 173, 181, 0.3); + background-color: transparent; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:focus { + color: #5294E2; + border-color: #5294E2; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:insensitive { + color: #5c6069; + border-color: rgba(168, 173, 181, 0.2); + background-image: linear-gradient(to bottom, rgba(53, 57, 65, 0.95)); } /*********** * Buttons * @@ -3590,7 +3603,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: rgba(60, 64, 73, 0.95); } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: rgba(60, 64, 73, 0.95); } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css index 4ebbdc1..e6d5c87 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css @@ -238,6 +238,19 @@ GtkFlowBox .grid-child { box-shadow: 0 -1px 0 0 #5294E2; } .linked.vertical > .entry:last-child:insensitive { border-bottom-color: rgba(0, 0, 0, 0.14); } + .osd .entry { + color: #A8ADB5; + border-color: rgba(168, 173, 181, 0.3); + background-color: transparent; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:focus { + color: #5294E2; + border-color: #5294E2; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:insensitive { + color: #5c6069; + border-color: rgba(168, 173, 181, 0.2); + background-image: linear-gradient(to bottom, rgba(53, 57, 65, 0.95)); } /*********** * Buttons * @@ -3598,7 +3611,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: #2e3138; } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: #454a54; } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-darker.css b/common/gtk-3.0/3.14/gtk-contained-solid-darker.css index c5a8b42..7314c0d 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-darker.css @@ -238,6 +238,19 @@ GtkFlowBox .grid-child { box-shadow: 0 -1px 0 0 #5294E2; } .linked.vertical > .entry:last-child:insensitive { border-bottom-color: rgba(0, 0, 0, 0.14); } + .osd .entry { + color: #A8ADB5; + border-color: rgba(168, 173, 181, 0.3); + background-color: transparent; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:focus { + color: #5294E2; + border-color: #5294E2; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:insensitive { + color: #5c6069; + border-color: rgba(168, 173, 181, 0.2); + background-image: linear-gradient(to bottom, rgba(53, 57, 65, 0.95)); } /*********** * Buttons * @@ -3590,7 +3603,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: #3c4049; } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: #3c4049; } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.14/gtk-contained-solid.css b/common/gtk-3.0/3.14/gtk-contained-solid.css index 25b5acb..746dca6 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid.css @@ -238,6 +238,19 @@ GtkFlowBox .grid-child { box-shadow: 0 -1px 0 0 #5294E2; } .linked.vertical > .entry:last-child:insensitive { border-bottom-color: rgba(0, 0, 0, 0.14); } + .osd .entry { + color: #A8ADB5; + border-color: rgba(168, 173, 181, 0.3); + background-color: transparent; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:focus { + color: #5294E2; + border-color: #5294E2; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:insensitive { + color: #5c6069; + border-color: rgba(168, 173, 181, 0.2); + background-image: linear-gradient(to bottom, rgba(53, 57, 65, 0.95)); } /*********** * Buttons * @@ -3589,7 +3602,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: #3c4049; } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: #3c4049; } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.14/gtk-contained.css b/common/gtk-3.0/3.14/gtk-contained.css index 2c3248d..786052f 100644 --- a/common/gtk-3.0/3.14/gtk-contained.css +++ b/common/gtk-3.0/3.14/gtk-contained.css @@ -238,6 +238,19 @@ GtkFlowBox .grid-child { box-shadow: 0 -1px 0 0 #5294E2; } .linked.vertical > .entry:last-child:insensitive { border-bottom-color: rgba(0, 0, 0, 0.14); } + .osd .entry { + color: #A8ADB5; + border-color: rgba(168, 173, 181, 0.3); + background-color: transparent; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:focus { + color: #5294E2; + border-color: #5294E2; + background-image: linear-gradient(to bottom, rgba(48, 52, 59, 0.95)); } + .osd .entry:insensitive { + color: #5c6069; + border-color: rgba(168, 173, 181, 0.2); + background-image: linear-gradient(to bottom, rgba(53, 57, 65, 0.95)); } /*********** * Buttons * @@ -3589,7 +3602,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: rgba(60, 64, 73, 0.95); } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: rgba(60, 64, 73, 0.95); } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.16/_transparent_widgets.scss b/common/gtk-3.0/3.16/_transparent_widgets.scss index 552a9d3..67f5b6c 100644 --- a/common/gtk-3.0/3.16/_transparent_widgets.scss +++ b/common/gtk-3.0/3.16/_transparent_widgets.scss @@ -84,7 +84,7 @@ MarlinViewWindow { GtkFileChooserDialog { - &.background.csd { background-color: $dark_sidebar_bg } + &.background.csd, .background { background-color: $dark_sidebar_bg } .sidebar { background-color: transparent } // Yeah, this is ugly, but prevents a transparent background in the image preview box diff --git a/common/gtk-3.0/3.16/gtk-contained-dark.css b/common/gtk-3.0/3.16/gtk-contained-dark.css index bd06f16..6183d10 100644 --- a/common/gtk-3.0/3.16/gtk-contained-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-dark.css @@ -3483,7 +3483,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: rgba(46, 49, 56, 0.95); } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: rgba(69, 74, 84, 0.95); } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.16/gtk-contained-darker.css b/common/gtk-3.0/3.16/gtk-contained-darker.css index 534dc78..bf9b4a8 100644 --- a/common/gtk-3.0/3.16/gtk-contained-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-darker.css @@ -3475,7 +3475,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: rgba(60, 64, 73, 0.95); } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: rgba(60, 64, 73, 0.95); } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css index 283b58b..d00e280 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css @@ -3483,7 +3483,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: #2e3138; } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: #454a54; } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css index c1da40a..43b8663 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css @@ -3475,7 +3475,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: #3c4049; } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: #3c4049; } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.16/gtk-contained-solid.css b/common/gtk-3.0/3.16/gtk-contained-solid.css index 0b23b98..a70d412 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid.css @@ -3474,7 +3474,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: #3c4049; } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: #3c4049; } GtkFileChooserDialog .sidebar { background-color: transparent; } diff --git a/common/gtk-3.0/3.16/gtk-contained.css b/common/gtk-3.0/3.16/gtk-contained.css index 3bc67fd..53a693d 100644 --- a/common/gtk-3.0/3.16/gtk-contained.css +++ b/common/gtk-3.0/3.16/gtk-contained.css @@ -3474,7 +3474,7 @@ NemoWindow .pane-separator, MarlinViewWindow .pane-separator { background-color: rgba(60, 64, 73, 0.95); } -GtkFileChooserDialog.background.csd { +GtkFileChooserDialog.background.csd, GtkFileChooserDialog .background { background-color: rgba(60, 64, 73, 0.95); } GtkFileChooserDialog .sidebar { background-color: transparent; } -- cgit v1.2.3