From ce2335deafa532ed6d69a06ef1e330345af5c7bd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 6 Feb 2021 16:24:40 +0300 Subject: [PATCH] pref-users: css fixes --- classes/pref/users.php | 6 +++--- js/PrefUsers.js | 2 +- themes/compact.css | 3 +++ themes/compact_night.css | 3 +++ themes/light.css | 3 +++ themes/light/prefs.less | 6 ++++++ themes/night.css | 3 +++ themes/night_blue.css | 3 +++ 8 files changed, 25 insertions(+), 4 deletions(-) diff --git a/classes/pref/users.php b/classes/pref/users.php index d8983c9c2..4d804b8de 100644 --- a/classes/pref/users.php +++ b/classes/pref/users.php @@ -339,9 +339,9 @@ class Pref_Users extends Handler_Protected { print "
". "" . __('Select').""; print "
"; - print "
".__('All')."
"; - print "
".__('None')."
"; print "
"; @@ -380,7 +380,7 @@ class Pref_Users extends Handler_Protected { ORDER BY $sort"); $sth->execute([":search" => $user_search ? "%$user_search%" : ""]); - print "

"; + print "
"; print " diff --git a/js/PrefUsers.js b/js/PrefUsers.js index 8136e9c65..f09c73805 100644 --- a/js/PrefUsers.js +++ b/js/PrefUsers.js @@ -114,7 +114,7 @@ const Users = { this.edit(rows[0]); }, getSelection :function() { - return Tables.getSelected("prefUserList"); + return Tables.getSelected("users-list"); } } diff --git a/themes/compact.css b/themes/compact.css index d9244d4e1..8dc12d92f 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -1495,6 +1495,9 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } +body.ttrss_prefs .users-list td { + cursor: pointer; +} body.ttrss_prefs .event-log tr td { font-size: 10px; padding: 8px; diff --git a/themes/compact_night.css b/themes/compact_night.css index 6a10fa683..0777e0550 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -1495,6 +1495,9 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } +body.ttrss_prefs .users-list td { + cursor: pointer; +} body.ttrss_prefs .event-log tr td { font-size: 10px; padding: 8px; diff --git a/themes/light.css b/themes/light.css index fcf6ff115..eba96e405 100644 --- a/themes/light.css +++ b/themes/light.css @@ -1495,6 +1495,9 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } +body.ttrss_prefs .users-list td { + cursor: pointer; +} body.ttrss_prefs .event-log tr td { font-size: 10px; padding: 8px; diff --git a/themes/light/prefs.less b/themes/light/prefs.less index 9f8afc47a..95ddefc34 100644 --- a/themes/light/prefs.less +++ b/themes/light/prefs.less @@ -112,6 +112,12 @@ body.ttrss_prefs { } } + .users-list { + td { + cursor : pointer; + } + } + .event-log { tr { td { diff --git a/themes/night.css b/themes/night.css index 49c616bef..f15b73d85 100644 --- a/themes/night.css +++ b/themes/night.css @@ -1496,6 +1496,9 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } +body.ttrss_prefs .users-list td { + cursor: pointer; +} body.ttrss_prefs .event-log tr td { font-size: 10px; padding: 8px; diff --git a/themes/night_blue.css b/themes/night_blue.css index 360ea9e6b..f7e81386d 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -1496,6 +1496,9 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } +body.ttrss_prefs .users-list td { + cursor: pointer; +} body.ttrss_prefs .event-log tr td { font-size: 10px; padding: 8px;