From f398fea414cc3a2598a0486aa7997f6655d02c0a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Mar 2021 16:44:21 +0300 Subject: shorten plugin list action buttons --- classes/pref/prefs.php | 56 ++++++++++++++++++++++++++---------------------- themes/compact.css | 2 +- themes/compact_night.css | 2 +- themes/light.css | 2 +- themes/light/prefs.less | 2 +- themes/night.css | 2 +- themes/night_blue.css | 2 +- 7 files changed, 36 insertions(+), 32 deletions(-) diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 5419b42dc..277334ac9 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -808,26 +808,32 @@ class Pref_Prefs extends Handler_Protected { type='checkbox'> + get_all($plugin)) > 0) { + if (in_array($name, $system_enabled)) { ?> + + + + + + + = 10) { ?> - - - - - = 10 && $is_local) { ?> - @@ -876,34 +882,32 @@ class Pref_Prefs extends Handler_Protected { - = 10) { ?> - - - get_all($plugin)) > 0) { if (in_array($name, $system_enabled) || in_array($name, $user_enabled)) { ?> - + clear - + help + + + = 10) { ?> + = 10 && $is_local) { ?> - @@ -986,7 +990,7 @@ class Pref_Prefs extends Handler_Protected { = 10) { ?> - diff --git a/themes/compact.css b/themes/compact.css index 1f9d457dc..9656cd383 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -1506,7 +1506,7 @@ body.ttrss_prefs fieldset.prefs .help-text-bottom { margin-top: 10px; } body.ttrss_prefs fieldset.plugin label.description { - width: 600px; + width: 550px; margin-right: 150px; display: inline-block; } diff --git a/themes/compact_night.css b/themes/compact_night.css index 8f2507f4f..987f98b1b 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -1506,7 +1506,7 @@ body.ttrss_prefs fieldset.prefs .help-text-bottom { margin-top: 10px; } body.ttrss_prefs fieldset.plugin label.description { - width: 600px; + width: 550px; margin-right: 150px; display: inline-block; } diff --git a/themes/light.css b/themes/light.css index c1e5201d2..12ef7efd2 100644 --- a/themes/light.css +++ b/themes/light.css @@ -1506,7 +1506,7 @@ body.ttrss_prefs fieldset.prefs .help-text-bottom { margin-top: 10px; } body.ttrss_prefs fieldset.plugin label.description { - width: 600px; + width: 550px; margin-right: 150px; display: inline-block; } diff --git a/themes/light/prefs.less b/themes/light/prefs.less index 510388391..3fe328ec5 100644 --- a/themes/light/prefs.less +++ b/themes/light/prefs.less @@ -96,7 +96,7 @@ body.ttrss_prefs { fieldset.plugin { label.description { - width : 600px; + width : 550px; margin-right : 150px; display : inline-block; diff --git a/themes/night.css b/themes/night.css index 1000586cf..9a2ee53fa 100644 --- a/themes/night.css +++ b/themes/night.css @@ -1507,7 +1507,7 @@ body.ttrss_prefs fieldset.prefs .help-text-bottom { margin-top: 10px; } body.ttrss_prefs fieldset.plugin label.description { - width: 600px; + width: 550px; margin-right: 150px; display: inline-block; } diff --git a/themes/night_blue.css b/themes/night_blue.css index 4df5f54ab..80f173c7e 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -1507,7 +1507,7 @@ body.ttrss_prefs fieldset.prefs .help-text-bottom { margin-top: 10px; } body.ttrss_prefs fieldset.plugin label.description { - width: 600px; + width: 550px; margin-right: 150px; display: inline-block; } -- cgit v1.2.3