summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-01 15:00:28 +0200
committerraveit65 <[email protected]>2016-07-01 15:02:11 +0200
commit9b6cd516e0ff7a62eafb6edcf6641df2cb9ddbc2 (patch)
tree90bb91f641017caf7b9ec8cd857a4dca21edfdb3
parent83eceefc680ec1a4a78e16c48542840d9d6e3b82 (diff)
downloadmate-themes-9b6cd516e0ff7a62eafb6edcf6641df2cb9ddbc2.tar.bz2
mate-themes-9b6cd516e0ff7a62eafb6edcf6641df2cb9ddbc2.tar.xz
GTK+-3.20 most themes: fix text selection in atril
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/gtk.css2
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css11
-rw-r--r--desktop-themes/BlueMenta/gtk-3.0/mate-applications.css11
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/gtk.css2
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css11
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css1
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css15
-rw-r--r--desktop-themes/Menta/gtk-3.0/mate-applications.css11
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk.css2
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css11
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk.css2
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css11
12 files changed, 90 insertions, 0 deletions
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css
index 73701f8c..3b1e1142 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css
@@ -91,6 +91,8 @@
@define-color sidebar_selected_bg shade(@theme_selected_bg_color,1.00);
@define-color sidebar_fg_color @theme_text_color;
+@define-color theme_light_unfocused_bg_color @theme_bg_color;
+
@define-color button_base shade(@theme_bg_color, 1.15);
@define-color button_gradient1 shade(@button_base, 0.98);
@define-color button_gradient2 shade(@button_base, 0.95);
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css
index 1c8a1652..fb5267f9 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css
@@ -904,6 +904,17 @@ vte-terminal {
border-style: none;
}
+/* broken text selection */
+.atril-window scrolledwindow.frame > widget:selected {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.atril-window scrolledwindow.frame > widget:active {
+ background-color: shade(@theme_light_unfocused_bg_color, 0.94);
+ color: @theme_fg_color;
+}
+
/* atril and eom */
EggToolbarEditor.vertical scrolledwindow {
border-color: @notebook_border;
diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css
index fbfe8be3..dde31ec8 100644
--- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css
+++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css
@@ -642,6 +642,17 @@ na-tray-applet widget box widget {
padding: 6px;
}
+/* broken text selection */
+.atril-window scrolledwindow.frame > widget:selected {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.atril-window scrolledwindow.frame > widget:active {
+ background-color: shade(@theme_unfocused_bg_color, 0.94);
+ color: @theme_fg_color;
+}
+
/* atril and eom */
EggToolbarEditor.vertical scrolledwindow viewport.frame {
background-color: shade (@theme_base_color, 1.0);
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk.css
index bb807913..f2da3bce 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/gtk.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk.css
@@ -91,6 +91,8 @@
@define-color sidebar_selected_bg shade(@theme_selected_bg_color,1.00);
@define-color sidebar_fg_color @theme_text_color;
+@define-color theme_light_unfocused_bg_color @theme_bg_color;
+
@define-color button_base shade(@theme_bg_color, 1.15);
@define-color button_gradient1 shade(@button_base, 0.98);
@define-color button_gradient2 shade(@button_base, 0.95);
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css
index 91f6e90a..d3021033 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css
@@ -901,6 +901,17 @@ vte-terminal {
border-style: none;
}
+/* broken text selection */
+.atril-window scrolledwindow.frame > widget:selected {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.atril-window scrolledwindow.frame > widget:active {
+ background-color: shade(@theme_light_unfocused_bg_color, 0.94);
+ color: @theme_fg_color;
+}
+
/* atril and eom */
EggToolbarEditor.vertical scrolledwindow {
border-color: @notebook_border;
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
index 91ccb3fd..610922cd 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
@@ -98,6 +98,7 @@
@define-color focus_border shade(@bg_color, 0.7);
@define-color theme_unfocused_base_color shade(@insensitive_bg_color, 1.015);
+@define-color theme_unfocused_bg_color @theme_bg_color;
@define-color app_notification_a white;
@define-color app_notification_b shade(@theme_bg_color, 1.05);
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css
index 69ad2df9..3cf7b1ab 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css
@@ -507,6 +507,21 @@ EggToolbarEditor.vertical scrolledwindow .frame {
border-color: transparent;
}
+/*********
+ * Atril *
+ *********/
+
+/* broken text selection */
+.atril-window scrolledwindow.frame > widget:selected {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.atril-window scrolledwindow.frame > widget:active {
+ background-color: shade(@theme_unfocused_bg_color, 0.94);
+ color: @theme_fg_color;
+}
+
/* Mate Font Viewer */
.font-viewer notebook.frame {
diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css
index b4edeab2..3fe64b7d 100644
--- a/desktop-themes/Menta/gtk-3.0/mate-applications.css
+++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css
@@ -634,6 +634,17 @@ na-tray-applet widget box widget {
padding: 6px;
}
+/* broken text selection */
+.atril-window scrolledwindow.frame > widget:selected {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.atril-window scrolledwindow.frame > widget:active {
+ background-color: shade(@theme_unfocused_bg_color, 0.94);
+ color: @theme_fg_color;
+}
+
/* atril and eom */
EggToolbarEditor.vertical scrolledwindow viewport.frame {
background-color: shade (@theme_base_color, 1.0);
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk.css
index 6fb385ac..c7b8ed35 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk.css
@@ -56,6 +56,8 @@
@define-color internal_element_hover_color @theme_text_color;
@define-color internal_element_insensitive_color @insensitive_fg_color;
+@define-color theme_unfocused_bg_color @theme_bg_color;
+
/* border */
@define-color border_color shade(@core_color_b, 0.67);
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css
index 1f134dd7..0218a890 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css
@@ -386,6 +386,17 @@ EggToolbarEditor.vertical scrolledwindow {
border-style: solid;
}
+/* broken text selection */
+.atril-window scrolledwindow.frame > widget:selected {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.atril-window scrolledwindow.frame > widget:active {
+ background-color: shade(@theme_unfocused_bg_color, 0.94);
+ color: @theme_fg_color;
+}
+
.lock-dialog {
border-radius: 4px;
border-style: solid;
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk.css
index f7b55589..8fc7253c 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk.css
@@ -56,6 +56,8 @@
@define-color internal_element_hover_color @theme_text_color;
@define-color internal_element_insensitive_color @insensitive_fg_color;
+@define-color theme_unfocused_bg_color @theme_bg_color;
+
/* border */
@define-color border_color shade(@core_color_b, 0.67);
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css
index a2df4d03..70a29c64 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css
@@ -385,6 +385,17 @@ EggToolbarEditor.vertical scrolledwindow {
border-style: solid;
}
+/* broken text selection */
+.atril-window scrolledwindow.frame > widget:selected {
+ background-color: @theme_selected_bg_color;
+ color: @theme_selected_fg_color;
+}
+
+.atril-window scrolledwindow.frame > widget:active {
+ background-color: shade(@theme_unfocused_bg_color, 0.94);
+ color: @theme_fg_color;
+}
+
.lock-dialog {
border-radius: 4px;
border-style: solid;