From 424a88857c2d5b8611390a8021513bf4aca7dc9e Mon Sep 17 00:00:00 2001 From: Igor Belitskiy Date: Mon, 6 Mar 2023 12:03:12 +0600 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B4=D0=B8=D0=B7=D0=B0=D0=B9=D0=BD=20css=20?= =?UTF-8?q?=D0=BA=D0=BD=D0=BE=D0=BF=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/ubl-settings-datetime.cc | 1 + style.css | 20 ++++++-------------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/source/ubl-settings-datetime.cc b/source/ubl-settings-datetime.cc index 00f390d..bf2e786 100644 --- a/source/ubl-settings-datetime.cc +++ b/source/ubl-settings-datetime.cc @@ -82,6 +82,7 @@ void MainWindow::settings(){ this->event(); this->parse_text_date(); this->download_local_cfg(); + } else{ btnDownload->set_sensitive(false); diff --git a/style.css b/style.css index 11692ef..ada0e2a 100644 --- a/style.css +++ b/style.css @@ -26,28 +26,34 @@ padding: 3px 10px 5px 5px; } .menuitemtop:hover { + border-radius:3px; background:@theme_bg_color; } .menuitemmiddle:hover { + border-radius:3px; background:@theme_bg_color; } .menuitembottom:hover { + border-radius:3px; background:@theme_bg_color; } .menuitemtop:hover* { + border-radius:3px; margin:2px 2px 0 2px; padding: 5px 10px 3px 5px; background:@theme_selected_bg_color; border-color:transparent; } .menuitemmiddle:hover* { + border-radius:3px; margin:0 2px 0 2px; padding: 3px 10px 3px 5px; background:@theme_selected_bg_color; border-color:transparent; } .menuitembottom:hover* { + border-radius:3px; margin:0 2px 2px 2px; padding: 3px 10px 5px 5px; background:@theme_selected_bg_color; @@ -55,26 +61,12 @@ } .menuitembottom{ margin-top:0px; - border-color:alpha(@theme_text_color, 0.4); - border-style:solid; - border-left-width:1px; - border-bottom-width:1px; - border-right-width:1px; } .menuitemmiddle{ margin-top:0px; margin-bottom:0px; - border-color:alpha(@theme_text_color, 0.4); - border-style:solid; - border-left-width:1px; - border-right-width:1px; } .menuitemtop{ margin-bottom:0px; - border-color:alpha(@theme_text_color, 0.4); - border-style:solid; - border-left-width:1px; - border-top-width:1px; - border-right-width:1px; } \ No newline at end of file