From 40804af2316c137331a2b0137b0bc650d42aabdf Mon Sep 17 00:00:00 2001 From: lassekongo83 Date: Tue, 30 Jun 2020 14:21:54 +0200 Subject: [PATCH] Fix floating-bar and more --- gtk/src/Plano/gtk-3.0/_custom.scss | 66 ++++++++++++++++++++++++ gtk/src/Plano/gtk-3.0/gtk-alt-header.css | 22 ++++++++ gtk/src/Plano/gtk-3.0/gtk-dark.css | 22 ++++++++ gtk/src/Plano/gtk-3.0/gtk.css | 22 ++++++++ 4 files changed, 132 insertions(+) diff --git a/gtk/src/Plano/gtk-3.0/_custom.scss b/gtk/src/Plano/gtk-3.0/_custom.scss index f8cc94d..e4b93db 100644 --- a/gtk/src/Plano/gtk-3.0/_custom.scss +++ b/gtk/src/Plano/gtk-3.0/_custom.scss @@ -783,6 +783,72 @@ XfdesktopIconView.view { } } +// Floating status bar +.floating-bar { + padding: 1px; + background-color: $base_color; + border-width: 1px; + border-style: solid solid none; + border-color: $borders_color; + border-radius: $button_radius $button_radius 0 0; + + &.bottom.left { // axes left border and border radius + border-left-style: none; + border-top-left-radius: 0; + } + + &.bottom.right { // axes right border and border radius + border-right-style: none; + border-top-right-radius: 0; + } + + &:backdrop { + background-color: $backdrop_base_color; + border-color: $backdrop_borders_color; + } +} + +.floating-bar button { + padding: 0px; +} + +// view +.search-information { + background-color: $selected_bg_color; + color: $selected_fg_color; + padding: 2px; +} + +// Hide superfluous treeview drop target indication +.nautilus-list-view .view.dnd { + border-style: none; +} + +// Icon view +flowboxchild:selected { + background-color:transparent; +} + +.icon-background { + background-color: black; + border-color: $selected_bg_color; + border-style: solid; + border-width: 0px; +} + +flowboxchild > .icon-item-background { + padding: 4px; +} + +flowboxchild:selected > .icon-item-background { + padding: 4px; + background-color: $selected_bg_color; + border-color: $selected_bg_color; + border-style: solid; + border-width: 0px; + border-radius: $button_radius; +} + // Thunar .thunar { .standard-view { border-width: 0; } diff --git a/gtk/src/Plano/gtk-3.0/gtk-alt-header.css b/gtk/src/Plano/gtk-3.0/gtk-alt-header.css index 2f10f19..0219fff 100644 --- a/gtk/src/Plano/gtk-3.0/gtk-alt-header.css +++ b/gtk/src/Plano/gtk-3.0/gtk-alt-header.css @@ -2198,6 +2198,28 @@ XfdesktopIconView.view .rubberband { border-radius: 0; } .disk-space-display.free.border { color: shade(#eeeeec, 0.7); } +.floating-bar { padding: 1px; background-color: #ffffff; border-width: 1px; border-style: solid solid none; border-color: #c3c6c9; border-radius: 0 0 0 0; } + +.floating-bar.bottom.left { border-left-style: none; border-top-left-radius: 0; } + +.floating-bar.bottom.right { border-right-style: none; border-top-right-radius: 0; } + +.floating-bar:backdrop { background-color: #fcfcfc; border-color: #cbcdd0; } + +.floating-bar button { padding: 0px; } + +.search-information { background-color: #4a90d9; color: #ffffff; padding: 2px; } + +.nautilus-list-view .view.dnd, .nautilus-list-view iconview.dnd { border-style: none; } + +flowboxchild:selected { background-color: transparent; } + +.icon-background { background-color: black; border-color: #4a90d9; border-style: solid; border-width: 0px; } + +flowboxchild > .icon-item-background { padding: 4px; } + +flowboxchild:selected > .icon-item-background { padding: 4px; background-color: #4a90d9; border-color: #4a90d9; border-style: solid; border-width: 0px; border-radius: 0; } + .thunar .standard-view { border-width: 0; } .thunar .sidebar .view, .thunar .sidebar iconview { background-color: #f5f6f6; } diff --git a/gtk/src/Plano/gtk-3.0/gtk-dark.css b/gtk/src/Plano/gtk-3.0/gtk-dark.css index a3ea8e3..b2b4f59 100644 --- a/gtk/src/Plano/gtk-3.0/gtk-dark.css +++ b/gtk/src/Plano/gtk-3.0/gtk-dark.css @@ -2066,6 +2066,28 @@ XfdesktopIconView.view .rubberband { border-radius: 0; } .disk-space-display.free.border { color: shade(#eeeeec, 0.7); } +.floating-bar { padding: 1px; background-color: #232729; border-width: 1px; border-style: solid solid none; border-color: #2a2e30; border-radius: 0 0 0 0; } + +.floating-bar.bottom.left { border-left-style: none; border-top-left-radius: 0; } + +.floating-bar.bottom.right { border-right-style: none; border-top-right-radius: 0; } + +.floating-bar:backdrop { background-color: #252a2c; border-color: #2b3132; } + +.floating-bar button { padding: 0px; } + +.search-information { background-color: #4a90d9; color: #ffffff; padding: 2px; } + +.nautilus-list-view .view.dnd, .nautilus-list-view iconview.dnd { border-style: none; } + +flowboxchild:selected { background-color: transparent; } + +.icon-background { background-color: black; border-color: #4a90d9; border-style: solid; border-width: 0px; } + +flowboxchild > .icon-item-background { padding: 4px; } + +flowboxchild:selected > .icon-item-background { padding: 4px; background-color: #4a90d9; border-color: #4a90d9; border-style: solid; border-width: 0px; border-radius: 0; } + .thunar .standard-view { border-width: 0; } .thunar .sidebar .view, .thunar .sidebar iconview { background-color: #2b3032; } diff --git a/gtk/src/Plano/gtk-3.0/gtk.css b/gtk/src/Plano/gtk-3.0/gtk.css index cf24316..44c199e 100644 --- a/gtk/src/Plano/gtk-3.0/gtk.css +++ b/gtk/src/Plano/gtk-3.0/gtk.css @@ -2012,6 +2012,28 @@ XfdesktopIconView.view .rubberband { border-radius: 0; } .disk-space-display.free.border { color: shade(#eeeeec, 0.7); } +.floating-bar { padding: 1px; background-color: #ffffff; border-width: 1px; border-style: solid solid none; border-color: #c3c6c9; border-radius: 0 0 0 0; } + +.floating-bar.bottom.left { border-left-style: none; border-top-left-radius: 0; } + +.floating-bar.bottom.right { border-right-style: none; border-top-right-radius: 0; } + +.floating-bar:backdrop { background-color: #fcfcfc; border-color: #cbcdd0; } + +.floating-bar button { padding: 0px; } + +.search-information { background-color: #4a90d9; color: #ffffff; padding: 2px; } + +.nautilus-list-view .view.dnd, .nautilus-list-view iconview.dnd { border-style: none; } + +flowboxchild:selected { background-color: transparent; } + +.icon-background { background-color: black; border-color: #4a90d9; border-style: solid; border-width: 0px; } + +flowboxchild > .icon-item-background { padding: 4px; } + +flowboxchild:selected > .icon-item-background { padding: 4px; background-color: #4a90d9; border-color: #4a90d9; border-style: solid; border-width: 0px; border-radius: 0; } + .thunar .standard-view { border-width: 0; } .thunar .sidebar .view, .thunar .sidebar iconview { background-color: #f5f6f6; }