From 2894347fa0c04035a54d8117ce97e5b1ad504c5f Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Tue, 17 May 2016 14:27:45 -0400 Subject: GTK 3.21 BlackMATE: fix font,deprecation errors --- .../BlackMATE/gtk-3.0/gnome-applications.css | 2 +- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 32 ++++++++++++++++------ .../BlackMATE/gtk-3.0/mate-applications.css | 4 +-- .../BlackMATE/gtk-3.0/other-applications.css | 2 +- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/desktop-themes/BlackMATE/gtk-3.0/gnome-applications.css b/desktop-themes/BlackMATE/gtk-3.0/gnome-applications.css index 052a5227..836b32b5 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gnome-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gnome-applications.css @@ -285,7 +285,7 @@ NautilusWindow .scrollbar.button.vertical:disabled { NautilusWindow GtkStatusbar, NautilusWindow .floating-bar{ - font: italic; + font-style: italic; } NautilusWindow .floating-bar.right, diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 88d3fb6e..341870f3 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -2931,7 +2931,8 @@ dialog.background.solid-csd > headerbar.titlebar { .titlebar .title, headerbar .title { - font: Bold 12; + font-weight: bold; + font-size: 12pt; background: none; color: #D9D9D9; } @@ -3146,7 +3147,7 @@ switch, switch:backdrop { font-weight: bold; font-size: smaller; - font: bold condensed; + font-stretch: condensed; color: @internal_element_color; border-radius: 3px; border-width: 1px; @@ -3538,8 +3539,11 @@ calendar.header .app-notification button.titlebutton, .app-notification.frame button { color: @theme_fg_color; border-color: rgba(75, 89, 112, 0.7); - background-image: linear-gradient(to bottom, - rgba(101, 101, 104, 0.7)); + /*FIXME: This is deprecated + background-image: linear-gradient(to bottom, + rgba(101, 101, 104, 0.7)); */ + + background-color: rgba(101, 101, 104, 0.7); /*works for now*/ background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; @@ -3571,8 +3575,10 @@ calendar.header .app-notification.frame .titlebutton button { .app-notification.frame button:hover { color: white; border-color: rgba(0, 0, 0, 0.7); + /*FIXME-this is deprecated background-image: linear-gradient(to bottom, - rgba(47, 47, 48, 0.7)); + rgba(47, 47, 48, 0.7));*/ + background-color: rgba(47, 47, 48, 0.7); /*Use this for now */ background-clip: padding-box; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); text-shadow: none; @@ -3588,8 +3594,11 @@ calendar.header .app-notification.frame .titlebutton button { .app-notification.frame button:backdrop:checked { color: white; border-color: rgba(0, 0, 0, 0.7); + + /*FIXME-this is deprecated background-image: linear-gradient(to bottom, - rgba(65, 106, 175, 0.7)); + rgba(65, 106, 175, 0.7));*/ + background-color: rgba(65, 106, 175, 0.7); /*use this for now*/ background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -3604,8 +3613,12 @@ calendar.header .app-notification.frame .titlebutton button { .app-notification.frame button:backdrop:disabled { color: #878989; border-color: rgba(0, 0, 0, 0.7); + + /*FIXME-this is deprecated background-image: linear-gradient(to bottom, - rgba(52, 57, 57, 0.5)); + rgba(52, 57, 57, 0.5));*/ + + background-color: rgba(52, 57, 57, 0.5); /*use this for now*/ background-clip: padding-box; box-shadow: none; text-shadow: none; @@ -3618,8 +3631,11 @@ calendar.header .app-notification.frame .titlebutton button { .app-notification.frame button:backdrop { color: #eeeeec; border-color: rgba(0, 0, 0, 0.7); + /*FIXME-this is deprecated background-image: linear-gradient(to bottom, - rgba(47, 51, 54, 0.7)); + rgba(47, 51, 54, 0.7));*/ + + background-color: rgba(47, 51, 54, 0.7); /*use this for now*/ background-clip: padding-box; box-shadow: none; text-shadow: none; diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css index 02df4f1f..90173258 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css @@ -97,7 +97,7 @@ .caja-navigation-window statusbar>frame>box>label, .caja-navigation-window .floating-bar{ - font: italic; + font-style: italic; } .caja-navigation-window .floating-bar.right, @@ -559,7 +559,7 @@ dictionary */ #clock-applet-button, .mate-panel-menu-bar.menubar, MatePanelApplet > GtkMenuBar.menubar { - font: normal; + font-weight: normal; } /*WnckPager is unnamed in GTK inspector so try this*/ PanelApplet.wnck-applet .wnck-pager { diff --git a/desktop-themes/BlackMATE/gtk-3.0/other-applications.css b/desktop-themes/BlackMATE/gtk-3.0/other-applications.css index f471779b..6a288458 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/other-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/other-applications.css @@ -129,7 +129,7 @@ .nemo-window GtkStatusbar, .nemo-window .floating-bar { - font: italic; + font-style: italic; } .nemo-window .floating-bar.right, -- cgit v1.2.1