From bb3216f8ea388d961d71be95eb36adee1d64ca4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Fri, 18 Aug 2017 14:37:02 +0200 Subject: [PATCH] MDL-59870 users: Default align participant table header row. Instead of putting vertical-align: middle as indication for participants table headers, none is set which leads to theme default, i.e. bottom in Clean and Boost. --- theme/boost/scss/moodle/user.scss | 8 ++++++-- theme/bootstrapbase/less/moodle/user.less | 7 +++++-- theme/bootstrapbase/style/moodle.css | 7 +++++-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/theme/boost/scss/moodle/user.scss b/theme/boost/scss/moodle/user.scss index ff0f2c110ed..aa7f3a6edfc 100644 --- a/theme/boost/scss/moodle/user.scss +++ b/theme/boost/scss/moodle/user.scss @@ -118,9 +118,13 @@ text-align: center; } -.userlist table#participants td, -.userlist table#participants th { +.userlist table#participants td { + text-align: left; + padding: 4px; vertical-align: middle; +} + +.userlist table#participants th { text-align: left; padding: 4px; } diff --git a/theme/bootstrapbase/less/moodle/user.less b/theme/bootstrapbase/less/moodle/user.less index 701a3981210..265d53e81dc 100644 --- a/theme/bootstrapbase/less/moodle/user.less +++ b/theme/bootstrapbase/less/moodle/user.less @@ -128,9 +128,12 @@ .userlist table#participants { text-align: center; } -.userlist table#participants td, -.userlist table#participants th { +.userlist table#participants td { + text-align: left; + padding: 4px; vertical-align: middle; +} +.userlist table#participants th { text-align: left; padding: 4px; } diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 0772ef9f0c2..161d8f61312 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -9740,9 +9740,12 @@ body.path-question-type .mform fieldset.hidden { .userlist table#participants { text-align: center; } -.userlist table#participants td, -.userlist table#participants th { +.userlist table#participants td { + text-align: left; + padding: 4px; vertical-align: middle; +} +.userlist table#participants th { text-align: left; padding: 4px; }