summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-22 08:46:16 +0100
committerraveit65 <[email protected]>2017-03-22 09:29:52 +0100
commit39e254ab3abac772ca8a74f506c1aaf44e9fa261 (patch)
treecdca00f858612fd1660f450bceddabae55f2c2df /desktop-themes
parenta094e6b1d811c6acaa9095c1dfcef99ecc11d4a0 (diff)
downloadmate-themes-39e254ab3abac772ca8a74f506c1aaf44e9fa261.tar.bz2
mate-themes-39e254ab3abac772ca8a74f506c1aaf44e9fa261.tar.xz
Gtk+-3.22 Submarine themes: re-work borders for frames
fix for firefox lcation entry
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css60
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css15
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css57
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css15
4 files changed, 60 insertions, 87 deletions
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
index 5fa0ff04..908fce23 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
@@ -37,8 +37,8 @@ window {
}
.background {
- color: @theme_fg_color;
- background-color: @theme_bg_color;
+ color: @theme_fg_color;
+ background-color: @theme_bg_color;
}
.background:backdrop {
@@ -244,10 +244,6 @@ statusbar {
font-size: smaller;
}
-statusbar frame {
- border-style: none;
-}
-
.dnd {
border-width: 1px;
border-style: solid;
@@ -897,26 +893,20 @@ scale.vertical.color.marks-after.fine-tune slider {
* Frames *
**********/
-frame {
- padding: 2px;
+.frame,
+frame > border { /* firefox location entry */
+ padding: 0px;
border-width: 1px;
border-radius: 4px;
border-style: solid;
- border-color: shade (@theme_bg_color, 0.85);
- border-top-color: shade(@notebook_border, 1.25);
- border-left-color: shade(@notebook_border, 1.25);
- border-right-color: shade(@notebook_border, 1.25);
- border-bottom-color: shade(@notebook_border, 1.25);
+ border-color: shade (@theme_bg_color, 0.85);
color: mix(@theme_selected_bg_color, @theme_fg_color, 0.70);
}
-/* only render frames in a GtkScrolledWindow */
-scrolledwindow.frame {
- border-width: 1px;
- border-radius: 0;
- border-style: solid;
- border-color: shade (@theme_bg_color, 0.85);
- padding: 0px;
+.frame.flat,
+frame > border.flat,
+overlay > frame > border {
+ border-style: none;
}
/***********
@@ -3464,11 +3454,6 @@ notebook.frame {
border-radius: 4px 4px 0px 0px;
}
-notebook.frame frame {
- border-style: none;
- border-width: 0px;
-}
-
/* pavu-control */
window.background > box.vertical > notebook:not(.frame),
window.background.csd > box.vertical > notebook:not(.frame),
@@ -4925,20 +4910,9 @@ messagedialog {
padding: 0;
}
-/* ie. mate-keyboard-properties option window or pluma preferences */
-dialog notebook.frame box.vertical > box.vertical > scrolledwindow.frame,
-dialog notebook.frame box.vertical > box.vertical > box.horizontal box.vertical > scrolledwindow.frame {
- border-color: @notebook_border;
- border-style: solid;
- border-width: 1px;
- border-radius: 2px;
-}
-
/* ie. caja properties-window notes tab */
-dialog notebook.frame scrolledwindow.frame {
+dialog notebook.frame > stack > scrolledwindow.frame {
border-style: none;
- border-width: 0px;
- border-radius: 0px;
}
/* credits in GtkAbout windows */
@@ -6630,10 +6604,16 @@ undershoot.right {
* GtkStack *
************/
-stack .horizontal .vertical frame {
+stack > .horizontal > .vertical > frame > border {
background-color: shade (@theme_bg_color, 1.1);
- border-width: 1px;
- border-color: @notebook_border;
+ border-radius: 4px;
+}
+
+stacksidebar.sidebar,
+stacksidebar.sidebar > scrolledwindow,
+stacksidebar.sidebar > scrolledwindow > viewport.frame,
+stacksidebar.sidebar > scrolledwindow > viewport.frame list {
+ border-radius: 4px 0px 0px 4px;
}
stacksidebar.sidebar list row.activatable:hover {
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 ad8c6d17..dabe97d1 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css
@@ -243,6 +243,10 @@ paned.horizontal > box.vertical.caja-side-pane > notebook scrolledwindow.frame {
/* eventbars, ie. search results */
.caja-notebook box.vertical frame {
background-color: shade (@theme_bg_color, 1.02);
+}
+
+/* needed as this is used for firefox locationbar */
+.caja-notebook box.vertical > frame > border {
border-style: none;
border-radius: 0px;
}
@@ -252,7 +256,7 @@ paned.horizontal > box.vertical.caja-side-pane > notebook scrolledwindow.frame {
border-color: @notebook_border;
border-width: 1px;
border-style: solid;
- border-radius: 4px;
+ border-radius: 4px 4px 0px 0px;
}
.caja-notebook #caja-extra-view-widget button.flat {
@@ -692,17 +696,20 @@ na-tray-applet > widget > box {
.mate-panel-applet-slider frame {
background-color: rgba(0,0,0,0.5);
- border-image: none;
- border-style: none;
- border-radius:4px;
padding: 1px;
margin: 0px;
+ border-radius:4px;
box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3),
inset 1px 0px shade (@theme_selected_bg_color, 1.3),
inset -1px 0px shade (@theme_selected_bg_color, 1.3),
inset 0px -1px shade (@theme_selected_bg_color, 1.3);
}
+.mate-panel-applet-slider frame border {
+ border-image: none;
+ border-style: none;
+}
+
.mate-panel-applet-slider frame frame {
background-color:transparent;
box-shadow: none;
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
index ae9cc18b..02bfe898 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
@@ -48,7 +48,6 @@ window {
*:active {
/* background-color: alpha(shade(@theme_selected_bg_color, 1.90), 0.015);*/
-
}
*:hover:active:disabled {
@@ -246,10 +245,6 @@ statusbar {
font-size: smaller;
}
-statusbar frame {
- border-style: none;
-}
-
.dnd {
border-width: 1px;
border-style: solid;
@@ -901,26 +896,20 @@ scale.vertical.color.marks-after.fine-tune slider {
* Frames *
**********/
-frame {
- padding: 2px;
+.frame,
+frame > border { /* firefox location entry */
+ padding: 0px;
border-width: 1px;
border-radius: 4px;
border-style: solid;
- border-color: shade (@theme_bg_color, 0.85);
- border-top-color: shade(@notebook_border, 1.25);
- border-left-color: shade(@notebook_border, 1.25);
- border-right-color: shade(@notebook_border, 1.25);
- border-bottom-color: shade(@notebook_border, 1.25);
+ border-color: shade (@theme_bg_color, 0.85);
color: mix(@theme_selected_bg_color, @theme_fg_color, 0.70);
}
-/* only render frames in a GtkScrolledWindow */
-scrolledwindow.frame {
- border-width: 1px;
- border-radius: 0;
- border-style: solid;
- border-color: shade (@theme_bg_color, 0.85);
- padding: 0px;
+.frame.flat,
+frame > border.flat,
+overlay > frame > border {
+ border-style: none;
}
/***********
@@ -3464,11 +3453,6 @@ notebook.frame {
border-radius: 4px 4px 0px 0px;
}
-notebook.frame frame {
- border-style: none;
- border-width: 0px;
-}
-
/* pavu-control */
window.background > box.vertical > notebook:not(.frame),
window.background.csd > box.vertical > notebook:not(.frame),
@@ -4925,20 +4909,9 @@ messagedialog {
padding: 0;
}
-/* ie. mate-keyboard-properties option window or pluma preferences */
-dialog notebook.frame box.vertical > box.vertical > scrolledwindow.frame,
-dialog notebook.frame box.vertical > box.vertical > box.horizontal box.vertical > scrolledwindow.frame {
- border-color: @notebook_border;
- border-style: solid;
- border-width: 1px;
- border-radius: 2px;
-}
-
/* ie. caja properties-window notes tab */
-dialog notebook.frame scrolledwindow.frame {
+dialog notebook.frame > stack > scrolledwindow.frame {
border-style: none;
- border-width: 0px;
- border-radius: 0px;
}
/* credits in GtkAbout windows */
@@ -6624,10 +6597,16 @@ undershoot.right {
* GtkStack *
************/
-stack .horizontal .vertical frame {
+stack > .horizontal > .vertical > frame > border {
background-color: shade (@theme_bg_color, 1.1);
- border-width: 1px;
- border-color: @notebook_border;
+ border-radius: 4px;
+}
+
+stacksidebar.sidebar,
+stacksidebar.sidebar > scrolledwindow,
+stacksidebar.sidebar > scrolledwindow > viewport.frame,
+stacksidebar.sidebar > scrolledwindow > viewport.frame list {
+ border-radius: 4px 0px 0px 4px;
}
stacksidebar.sidebar list row.activatable:hover {
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 975fe944..100615f1 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css
@@ -255,6 +255,10 @@ paned.horizontal > box.vertical.caja-side-pane > notebook scrolledwindow.frame {
/* eventbars, ie. search results */
.caja-notebook box.vertical frame {
background-color: shade (@theme_bg_color, 1.02);
+}
+
+/* needed as this is used for firefox locationbar */
+.caja-notebook box.vertical > frame > border {
border-style: none;
border-radius: 0px;
}
@@ -264,7 +268,7 @@ paned.horizontal > box.vertical.caja-side-pane > notebook scrolledwindow.frame {
border-color: @notebook_border;
border-width: 1px;
border-style: solid;
- border-radius: 4px;
+ border-radius: 4px 4px 0px 0px;
}
.caja-notebook #caja-extra-view-widget button.flat {
@@ -704,17 +708,20 @@ na-tray-applet > widget > box {
.mate-panel-applet-slider frame {
background-color: rgba(0,0,0,0.5);
- border-image: none;
- border-style: none;
- border-radius:4px;
padding: 1px;
margin: 0px;
+ border-radius:4px;
box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05),
inset 1px 0px shade(@selected_bg_color, 0.97),
inset -1px 0px shade(@selected_bg_color, 0.93),
inset 0px -1px shade(@selected_bg_color, 0.93);
}
+.mate-panel-applet-slider frame border {
+ border-image: none;
+ border-style: none;
+}
+
.mate-panel-applet-slider frame frame {
background-color:transparent;
box-shadow: none;