From c4ff8966380ff97b8812b81d37e713fa52534875 Mon Sep 17 00:00:00 2001 From: aura Date: Thu, 26 Mar 2026 01:50:36 +0100 Subject: fix theme css warnings --- themes/ayaya/gtk-3.0/apps/gnome-applications.css | 22 +++++++------ themes/ayaya/gtk-3.0/apps/granite-widgets.css | 39 +++++++++++------------ themes/ayaya/gtk-3.0/apps/lightdm-gtk-greeter.css | 16 ++++------ themes/ayaya/gtk-3.0/apps/nemo.css | 2 +- themes/ayaya/gtk-3.0/apps/xfce.css | 4 +-- 5 files changed, 40 insertions(+), 43 deletions(-) (limited to 'themes/ayaya/gtk-3.0/apps') diff --git a/themes/ayaya/gtk-3.0/apps/gnome-applications.css b/themes/ayaya/gtk-3.0/apps/gnome-applications.css index 198263e..446a8c2 100644 --- a/themes/ayaya/gtk-3.0/apps/gnome-applications.css +++ b/themes/ayaya/gtk-3.0/apps/gnome-applications.css @@ -29,7 +29,7 @@ PanelMenuBar.menubar.menuitem { -PanelMenuBar-icon-visible: true; border-width: 0; - color: #ff00000; + color: #ff0000; padding-right: 20px; background-image: none; } @@ -60,14 +60,14 @@ PanelApplet .button:active { color: shade(@panel_fg_color, 1.08); } -PanelApplet .button:prelight { +PanelApplet .button:hover { border-color: mix(@panel_bg_color, @panel_fg_color, 0.11); background-color: mix(@panel_bg_color, @panel_fg_color, 0.11); background-image: none; color: shade(@panel_fg_color, 1.08); } -PanelApplet .button:active:prelight { +PanelApplet .button:active:hover { border-color: mix(@panel_bg_color, @panel_fg_color, 0.31); background-color: mix(@panel_bg_color, @panel_fg_color, 0.31); background-image: none; @@ -95,7 +95,7 @@ WnckPager, WnckTasklist { } .nautilus-desktop.nautilus-canvas-item:active, -.nautilus-desktop.nautilus-canvas-item:prelight, +.nautilus-desktop.nautilus-canvas-item:hover, .nautilus-desktop.nautilus-canvas-item:selected { text-shadow: none; } @@ -241,21 +241,21 @@ GeditWindow .pane-separator:hover { background-color: transparent; background-image: none; color: transparent; - icon-shadow: none; + -gtk-icon-shadow: none; } -.gedit-document-panel .prelight-row .button { +.gedit-document-panel .hover-row .button { border-color: alpha(black, 0.1); color: alpha(white, 0.8); } .gedit-document-panel .list-row .button:hover, -.gedit-document-panel .prelight-row .button:hover { +.gedit-document-panel .hover-row .button:hover { border-color: alpha(black, 0.1); color: white; } -.gedit-document-panel .prelight-row .button:active { +.gedit-document-panel .hover-row .button:active { border-color: alpha(black, 0.2); background-color: alpha(black, 0.08); color: white; @@ -387,11 +387,13 @@ EPreviewPane .entry { * gnome-bluetooth * *******************/ GtkEntry.entry.pin-entry { - font: regular 50; + font-size: 50px; + font-weight: normal; padding-left: 25px; padding-right: 25px; } GtkLabel.pin-label { - font: regular 50; + font-size: 50px; + font-weight: normal; } diff --git a/themes/ayaya/gtk-3.0/apps/granite-widgets.css b/themes/ayaya/gtk-3.0/apps/granite-widgets.css index 1ddb61c..0e0f51a 100644 --- a/themes/ayaya/gtk-3.0/apps/granite-widgets.css +++ b/themes/ayaya/gtk-3.0/apps/granite-widgets.css @@ -12,9 +12,6 @@ } .dynamic-notebook .notebook { - -GtkNotebook-tab-overlap: 3px; - -GtkNotebook-initial-gap: 12px; - border-width: 1px 0 0 0; border-color: shade(@theme_bg_color, 0.8); border-radius: 0; @@ -124,7 +121,7 @@ color: shade(@theme_text_color, 0.7); } -.content-view .button:insensitive { +.content-view .button:disabled { background-color: shade(@theme_base_color, 0.9); background-image: none; } @@ -170,21 +167,21 @@ } .source-list.view:selected, -.source-list.view:prelight:selected { +.source-list.view:hover:selected { background-color: @theme_selected_bg_color; background-image: none; color: @theme_selected_fg_color; } -.source-list.view:prelight { +.source-list.view:hover { background-color: shade(@theme_bg_color, 1.08); background-image: none; } .source-list.badge, -.source-list.badge:prelight, +.source-list.badge:hover, .source-list.badge:selected, -.source-list.badge:prelight:selected { +.source-list.badge:hover:selected { margin: 0 3px; padding: 0 6px; border-width: 0; @@ -227,7 +224,7 @@ } .button.noundo GtkLabel, -.button.noundo Gtklabel:prelight { +.button.noundo Gtklabel:hover { color: @error_fg_color; } @@ -264,7 +261,7 @@ } .button.affirmative GtkLabel, -.button.affirmative Gtklabel:prelight { +.button.affirmative Gtklabel:hover { color: @theme_selected_fg_color; } @@ -308,13 +305,13 @@ border-color: shade(@toolbar_bg_color, 0.7); } -.secondary-toolbar.toolbar .button:insensitive { +.secondary-toolbar.toolbar .button:disabled { border-color: shade(@toolbar_bg_color, 0.85); background-color: shade(@toolbar_bg_color, 0.9); background-image: none; } -.secondary-toolbar.toolbar .button:active *:insensitive { +.secondary-toolbar.toolbar .button:active *:disabled { border-color: shade(@toolbar_bg_color, 0.75); background-color: shade(@toolbar_bg_color, 0.80); background-image: none; @@ -361,13 +358,13 @@ border-color: shade(@theme_bg_color, 0.7); } -.bottom-toolbar.toolbar .button:insensitive { +.bottom-toolbar.toolbar .button:disabled { border-color: shade(@theme_bg_color, 0.85); background-color: shade(@theme_bg_color, 0.9); background-image: none; } -.bottom-toolbar.toolbar .button:active *:insensitive { +.bottom-toolbar.toolbar .button:active *:disabled { border-color: shade(@theme_bg_color, 0.75); background-color: shade(@theme_bg_color, 0.80); background-image: none; @@ -461,17 +458,17 @@ GraniteWidgetsPopOver .linked .button:active { inset 0 -1px alpha(@dark_shadow, 0.05); } -GraniteWidgetsPopOver .linked .button:insensitive { +GraniteWidgetsPopOver .linked .button:disabled { box-shadow: inset -1px 0 shade(@menu_bg_color, 0.9); } /* remove box shadow from last-child and only-child */ GraniteWidgetsPopOver .linked .button:last-child, GraniteWidgetsPopOver .linked .button:only-child, -GraniteWidgetsPopOver .linked .button:insensitive:last-child, -GraniteWidgetsPopOver .linked .button:insensitive:only-child, -GraniteWidgetsPopOver .linked .button:active *:insensitive:last-child, -GraniteWidgetsPopOver .linked .button:active *:insensitive:only-child { +GraniteWidgetsPopOver .linked .button:disabled:last-child, +GraniteWidgetsPopOver .linked .button:disabled:only-child, +GraniteWidgetsPopOver .linked .button:active *:disabled:last-child, +GraniteWidgetsPopOver .linked .button:active *:disabled:only-child { box-shadow: none; } @@ -647,7 +644,7 @@ BirdieWidgetsTweetList * { color: white; font-weight: bold; text-shadow: 0 1px 2px alpha (black, 0.5); - icon-shadow: 0 1px 2px alpha (black, 0.5); + -gtk-icon-shadow: 0 1px 2px alpha (black, 0.5); } .panel .menu .menuitem { @@ -670,7 +667,7 @@ BirdieWidgetsTweetList * { } .composited-indicator.menuitem:active, -.composited-indicator.menuitem:prelight { +.composited-indicator.menuitem:hover { border-style: none; background-image: none; box-shadow: none; diff --git a/themes/ayaya/gtk-3.0/apps/lightdm-gtk-greeter.css b/themes/ayaya/gtk-3.0/apps/lightdm-gtk-greeter.css index 874cdb3..abb8415 100644 --- a/themes/ayaya/gtk-3.0/apps/lightdm-gtk-greeter.css +++ b/themes/ayaya/gtk-3.0/apps/lightdm-gtk-greeter.css @@ -5,9 +5,9 @@ background-color: transparent; background-image: none; color: white; - font: bold; + font-weight: bold; text-shadow: 0 1px alpha(black, 0.5); - icon-shadow: 0 1px alpha(black, 0.5); + -gtk-icon-shadow: 0 1px alpha(black, 0.5); } #panel_window .menubar, @@ -15,9 +15,8 @@ background-color: transparent; background-image: none; color: white; - font: bold; text-shadow: 0 1px alpha(black, 0.5); - icon-shadow: 0 1px alpha(black, 0.5); + -gtk-icon-shadow: 0 1px alpha(black, 0.5); } #panel_window .menubar > .menuitem:hover { @@ -31,7 +30,7 @@ color: white; } -#panel_window .menubar > .menuitem:insensitive { +#panel_window .menubar > .menuitem:disabled { color: alpha(white, 0.7); } @@ -40,7 +39,6 @@ } #panel_window .menubar .menu .menuitem { - font: normal; text-shadow: none; } @@ -94,11 +92,11 @@ #login_window #user_combobox { color: @lightdm_fg_color; - font: 18px; + font-size: 18px; } #login_window #user_combobox .menu { - font: normal; + font-weight: normal; } #login_window #user_combobox .arrow { @@ -246,5 +244,5 @@ * password warning * ********************/ #greeter_infobar { - font: bold; + font-weight: bold; } diff --git a/themes/ayaya/gtk-3.0/apps/nemo.css b/themes/ayaya/gtk-3.0/apps/nemo.css index fa09d03..e696199 100644 --- a/themes/ayaya/gtk-3.0/apps/nemo.css +++ b/themes/ayaya/gtk-3.0/apps/nemo.css @@ -19,7 +19,7 @@ } .nemo-desktop.nemo-canvas-item:active, -.nemo-desktop.nemo-canvas-item:prelight, +.nemo-desktop.nemo-canvas-item:hover, .nemo-desktop.nemo-canvas-item:selected { text-shadow: none; } diff --git a/themes/ayaya/gtk-3.0/apps/xfce.css b/themes/ayaya/gtk-3.0/apps/xfce.css index 03cfb20..7ee7b04 100644 --- a/themes/ayaya/gtk-3.0/apps/xfce.css +++ b/themes/ayaya/gtk-3.0/apps/xfce.css @@ -10,7 +10,7 @@ XfceHeading { .xfce4-panel { background-color: @panel_bg_color; color: @panel_fg_color; - font: normal; + font-weight: normal; } .xfce4-panel .button { @@ -34,5 +34,5 @@ XfceHeading { } .xfce4-panel .menu { - -gtk-image-effect: none; + -gtk-icon-effect: none; } -- cgit v1.2.3