From 3e84f0e2620f6ffbe8efa91164bf6af703656d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Wed, 23 Aug 2017 07:50: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 701d8341cef..b4bc9039e5d 100644 --- a/theme/boost/scss/moodle/user.scss +++ b/theme/boost/scss/moodle/user.scss @@ -113,9 +113,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 c4df6c0d397..bd496aeb5dd 100644 --- a/theme/bootstrapbase/less/moodle/user.less +++ b/theme/bootstrapbase/less/moodle/user.less @@ -124,9 +124,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 ae7b57124e2..61a6e903129 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -9738,9 +9738,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; }