From af8fe227e055ccdb2d9c7bdcdfb3d8655813e7f2 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Wed, 22 Apr 2020 09:53:06 +0300 Subject: [PATCH] added group style --- app/ui/download_dialog.glade | 20 ++++++++++---------- app/ui/main_window.glade | 4 +++- app/ui/settings_dialog.py | 2 +- app/ui/style.css | 20 +++++++++++++++++++- 4 files changed, 33 insertions(+), 13 deletions(-) diff --git a/app/ui/download_dialog.glade b/app/ui/download_dialog.glade index 3bfb3442..2404bc6e 100644 --- a/app/ui/download_dialog.glade +++ b/app/ui/download_dialog.glade @@ -243,17 +243,7 @@ Author: Dmitriy Yefremov False 0 False - True - - - True - True - False - False - 9 - - False @@ -614,6 +604,9 @@ Author: Dmitriy Yefremov 2 + @@ -724,4 +717,11 @@ Author: Dmitriy Yefremov + + + + + + + diff --git a/app/ui/main_window.glade b/app/ui/main_window.glade index ff89dca9..cfb67b37 100644 --- a/app/ui/main_window.glade +++ b/app/ui/main_window.glade @@ -1586,7 +1586,6 @@ Author: Dmitriy Yefremov True False - 1 32 @@ -1649,6 +1648,9 @@ Author: Dmitriy Yefremov 2 + diff --git a/app/ui/settings_dialog.py b/app/ui/settings_dialog.py index e10f0e1d..2ee75beb 100644 --- a/app/ui/settings_dialog.py +++ b/app/ui/settings_dialog.py @@ -744,7 +744,7 @@ class SettingsDialog: def init_appearance(self): t_support = self._ext_settings.is_themes_support self._themes_support_switch.set_active(t_support) - if t_support or True: + if t_support: # GTK try: for t in os.listdir(self._ext_settings.themes_path): diff --git a/app/ui/style.css b/app/ui/style.css index 7028d92a..421541d1 100644 --- a/app/ui/style.css +++ b/app/ui/style.css @@ -1,8 +1,26 @@ #digit-entry { - border-color: Red; + border-color: Red; } #status-bar-button { padding: 1px; margin: 1px; } + +.group {} + +.group :first-child { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.group :last-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.group :not(:first-child):not(:last-child) { + border-radius: 0; + border-left-width: 0; + border-right-width: 0; +} \ No newline at end of file