From 9c93b9f62049ee9b68f0fff654950845ff01fb47 Mon Sep 17 00:00:00 2001 From: Eudaimon Date: Tue, 7 Jun 2022 10:35:42 +0200 Subject: [PATCH] Improved borders, troughs --- gtk-common/common.css | 16 ++++++++-------- imports/import_honor_plasma.css | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gtk-common/common.css b/gtk-common/common.css index d4523f2..9bec9ee 100644 --- a/gtk-common/common.css +++ b/gtk-common/common.css @@ -168,6 +168,8 @@ label { color: @disabled_fg; }*/ /*label:backdrop { color: @wm_unfocused_title; }*/ +label.error {color: @error_color} +label.warning {color: @warning_color} .dim-label, label.separator, .titlebar:not(headerbar) .subtitle, headerbar .subtitle { @@ -3576,9 +3578,9 @@ treeview.view radio { * GtkScale and some common progressbar parts* ************/ -scale trough, scale fill, progressbar trough, scrollbar trough, switch { +scale trough, scale fill, progressbar trough, scrollbar trough, switch, levelbar trough { border-radius: 5px; - background-color: @borders; + background-color: alpha(black,0.2);/*@borders;*/ padding: 1px; } progressbar trough, scale trough, levelbar trough, scrollbar trough, switch, notebook > header { /*box-shadow: inset 0 1px 2px 1px alpha(black, 0.3), inset 0 -1px 2px 1px alpha(@highlight_color, 0.3);*/ @@ -4095,12 +4097,10 @@ levelbar.vertical.discrete block { levelbar trough { border: 1px solid; - padding: 1px; - border-radius: 5px; color: @window_fg; - border-color: @borders; - background-color: @borders; -/*box-shadow: inset 0 0 0 1px rgba(42, 145, 250, 0); */} + border: none; +} +/*box-shadow: inset 0 0 0 1px rgba(42, 145, 250, 0); */ /*levelbar trough:backdrop { color: @window_fg; border-color: @unfocused_borders; @@ -4395,7 +4395,7 @@ scrolledwindow junction { transition: 80ms ease-out; } separator { - background: alpha(@borders, 0.1); + background: alpha(@borders, 0.5); min-width: 1px; min-height: 1px; margin: 0 0.5em; diff --git a/imports/import_honor_plasma.css b/imports/import_honor_plasma.css index 4dfebd7..8c8a51c 100644 --- a/imports/import_honor_plasma.css +++ b/imports/import_honor_plasma.css @@ -22,7 +22,7 @@ @define-color button_pushed_fg @button_fg; /*could need to be @selected_fg on some themes. Plasma does not have a setting for toggled buttons*/ @define-color button_pushed_bg mix(@button_bg, @selected_bg, 0.5); /*Plasma does not have a setting for toggled buttons*/ -@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.5), 0.5); /* to honor Plasma's that would be @borders_breeze, instead of shade(...) */ +@define-color border_color shade(mix(@window_fg, @text_widget_bg, 0.7), 1); /* to honor Plasma's that would be @borders_breeze, instead of shade(...) */ @define-color warning_color @warning_color_breeze;