From a7a4ecc147052745953682722508e1e490152db4 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 9 May 2016 19:09:17 +0200 Subject: GTK+-3.20 Menta themes: style meld --- desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 33 ++++++- .../Menta/gtk-3.0/other-applications.css | 101 +++++++++++++++++++++ 2 files changed, 132 insertions(+), 2 deletions(-) (limited to 'desktop-themes/Menta') diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index 179e5160..c68999ce 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -1944,7 +1944,10 @@ notebook header.top { inset 0px -1px 0 0 alpha(@borders, 0.4); } -printdialog notebook header.top { +printdialog notebook header.top, +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top, +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top, +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top { border-radius: 0px; } @@ -2032,8 +2035,11 @@ paned.horizontal notebook header.top tab { } /* tabs ie. preferences windows */ -printdialog notebook > header.top tab, /* horizontal tabs */ +dialog.background.csd > box.vertical.dialog-vbox > notebook > header.top tab, /* meld preferences */ +dialog.background.ssd > box.vertical.dialog-vbox > notebook > header.top tab, +dialog.background.solid-csd > box.vertical.dialog-vbox > notebook > header.top tab, +printdialog notebook > header.top tab, notebook.frame header.top tab, notebook.frame header.bottom tab { padding: 6px 21px 4px; @@ -3253,6 +3259,22 @@ dialog scrolledwindow viewport .vertical expander .vertical { border-width: 1px; } +/* ie. meld */ +dialog.background.csd notebook toolbar.horizontal, +dialog.background.ssd notebook toolbar.horizontal, +dialog.background.solid-csd notebook toolbar.horizontal { + border-style: solid; + border-color: @borders; + border-width: 0px 1px 1px 1px; + border-radius: 0px; +} + +dialog.background.csd notebook scrolledwindow.frame treeview.view header button, +dialog.background.ssd notebook scrolledwindow.frame treeview.view header button, +dialog.background.solid-csd notebook scrolledwindow.frame treeview.view header button { + margin-top: -2px; +} + /* middle buttons */ .dialog-action-area.linked button, .dialog-action-area.linked button:hover:active, @@ -5113,6 +5135,13 @@ headerbar, border-width: 0px; } +/* ie. meld */ +dialog.background.csd > headerbar.titlebar, +dialog.background.ssd > headerbar.titlebar, +dialog.background.solid-csd > headerbar.titlebar { + padding: 4px 6px 5px 6px; +} + .tiled .titlebar { border-radius: 0; } diff --git a/desktop-themes/Menta/gtk-3.0/other-applications.css b/desktop-themes/Menta/gtk-3.0/other-applications.css index b09aca3d..b97558c7 100644 --- a/desktop-themes/Menta/gtk-3.0/other-applications.css +++ b/desktop-themes/Menta/gtk-3.0/other-applications.css @@ -310,3 +310,104 @@ OsScrollbar:disabled { border-top-width: 0; } +/* meld */ + +#meldapp > box.vertical > notebook.frame { + border-width: 0px; + background-color: shade (@theme_bg_color, 1.00); +} + +#meldapp > box.vertical > notebook.frame > header.top { + border-radius: 0px; +} + +#meldapp > box.vertical > notebook.frame > header.top tab { + padding: 2px 4px; +} + +#meldapp > box.vertical > notebook.frame > header.top tab:checked, +#meldapp > box.vertical > notebook.frame > header.top tab:checked:hover { + background-image: linear-gradient(to bottom, + shade(@theme_bg_color, 1.18), + shade(@theme_bg_color, 1.00)); +} + +/* FIXME, does not work */ +#meldapp box.vertical notebook.frame box.vertical grid.horizontal toolbar.horizontal.meld-notebook-toolbar { + border-width: 0px; + border-style: none; + border-color: rgba(0,0,0,0); + background-color: shade (@theme_bg_color, 1.00); +} + +.meld-notebook-toolbar > toolbutton > button.flat { + background-image: linear-gradient(to bottom, + @button_gradient_color_a, + @button_gradient_color_b); + background-color: transparent; + border-image: url("borders/button.png") 3 4 4 4 / 3px 4px 4px 4px stretch; + border-radius: 4px; + border-width: 2px; + border-style: solid; + border-color: transparent; +} + +.meld-notebook-toolbar > toolbutton > button.flat:hover { + background-color: transparent; + background-image: linear-gradient(to bottom, + @button_hover_gradient_color_a, + @button_hover_gradient_color_b); + border-radius: 4px; + border-width: 2px; + border-style: solid; + border-color: transparent; +} + +.meld-notebook-toolbar > toolbutton > button.flat:disabled { + background-image: none; + background-color: @insensitive_bg_color; + border-image: url("borders/button-ins.png") 3 4 5 4 / 3px 4px 5px 4px stretch; + border-radius: 4px; + border-width: 2px; + border-style: solid; + border-color: transparent; +} + +#meldapp > box.vertical > notebook.frame box.vertical > grid.horizontal > box.vertical { + border-width: 0px 1px 1px 1px; + border-style: solid; + border-color: @borders; +} + +/* FIXME, does not work */ +#meldapp > box.vertical > notebook box.vertical > grid.horizontal > link-map { + background-color: shade (@theme_bg_color, 1.05); +} + +#meldapp > box.vertical > notebook.frame box.vertical > grid.horizontal > box.vertical > scrolledwindow { + border-width: 1px 0px 0px 0px; + border-style: solid; + border-color: @borders; +} + +#meldapp > box.vertical > notebook.frame box.vertical > grid.horizontal > box.vertical > scrolledwindow > scrollbar.vertical.left { + border-width: 0px 1px 1px 0px; +} + +#meldapp > box.vertical > notebook.frame box.vertical > grid.horizontal > box.vertical > scrolledwindow > scrollbar.vertical.right { + border-width: 0px 0px 1px 1px; +} + +#meldapp > box.vertical > notebook.frame box.vertical > grid.horizontal > box.vertical > scrolledwindow > scrollbar.horizontal.bottom { + border-width: 1px 0px 0px 0px; +} + +#meldapp > box.vertical > notebook.frame box.vertical > grid.horizontal > box.vertical > scrolledwindow > scrollbar.horizontal.bottom trough { + border-width: 1px 1px 0px 1px; + border-color: shade (@theme_bg_color, 0.94); +} + +#meldapp > box.vertical > notebook.frame box.vertical > grid.horizontal infobar { + -gtk-icon-style: regular; +} + -- cgit v1.2.1