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