From 1cd9d8a4749372547e6588be08b4a13a7ce2a74f Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Wed, 2 Sep 2015 19:35:35 +0200 Subject: [PATCH] Adwaita: fix documents and the like rubberband. --- gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 63f9226e55..45ce720221 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2165,6 +2165,7 @@ GtkSwitch { background-color: darken($bg_color,7%); &:hover { -gtk-image-effect: highlight; } &:backdrop { background-color: darken($bg_color,7%); } + &.rubberband { @extend .rubberband; } } //selection-mode diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 026be9d788..18ad2ae710 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -73,7 +73,7 @@ .view:selected, GtkCalendar:selected { border-radius: 3px; } -.rubberband, GtkTreeView.view.rubberband { +.rubberband, GtkTreeView.view.rubberband, .content-view.rubberband { border: 1px solid #184472; background-color: rgba(24, 68, 114, 0.2); } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index be82280d36..2dd9544c78 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -73,7 +73,7 @@ .view:selected, GtkCalendar:selected { border-radius: 3px; } -.rubberband, GtkTreeView.view.rubberband { +.rubberband, GtkTreeView.view.rubberband, .content-view.rubberband { border: 1px solid #2a76c6; background-color: rgba(42, 118, 198, 0.2); }