diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index b16289220c5..b1e7b3d9860 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -1642,41 +1642,6 @@ table.collection { @extend .table-striped; } -table.collection .name { - text-align: left; - vertical-align: middle; -} - -table.collection .awards { - width: 10%; - text-align: center; - vertical-align: middle; -} - -table.collection .criteria { - width: 40%; - text-align: left; - vertical-align: top; -} - -table.collection .badgeimage, -table.collection .status { - width: 15%; - text-align: center; - vertical-align: middle; -} - -table.collection .description { - width: 25%; - text-align: left; -} - -table.collection .actions { - width: 11em; - text-align: center; - vertical-align: middle; -} - a.criteria-action { padding: 0 3px; float: right; diff --git a/theme/bootstrapbase/less/moodle/core.less b/theme/bootstrapbase/less/moodle/core.less index 09bea2a924b..ea2ac8e9c58 100644 --- a/theme/bootstrapbase/less/moodle/core.less +++ b/theme/bootstrapbase/less/moodle/core.less @@ -1761,36 +1761,34 @@ table.collection { .table-bordered; .table-striped; } -table.collection .name { +table.collection td.name { text-align: left; vertical-align: middle; } -table.collection .awards { - width: 10%; - text-align: center; - vertical-align: middle; -} -table.collection .criteria { - width: 40%; - text-align: left; - vertical-align: top; -} -table.collection .badgeimage, -table.collection .status { +table.collection td.awards { width: 15%; text-align: center; vertical-align: middle; } -table.collection .description { +table.collection td.criteria { + width: 40%; + text-align: left; + vertical-align: top; +} +table.collection td.status { + width: 15%; + text-align: center; + vertical-align: middle; +} +table.collection td.description { width: 25%; text-align: left; } -table.collection .actions { +table.collection td.actions { width: 11em; text-align: center; vertical-align: middle; } - a.criteria-action { padding: 0 3px; float: right; diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 04745b81cf5..0e16b438c4c 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -1896,31 +1896,30 @@ table.collection tbody > tr:nth-child(odd) > td, table.collection tbody > tr:nth-child(odd) > th { background-color: #f9f9f9; } -table.collection .name { +table.collection td.name { text-align: left; vertical-align: middle; } -table.collection .awards { - width: 10%; - text-align: center; - vertical-align: middle; -} -table.collection .criteria { - width: 40%; - text-align: left; - vertical-align: top; -} -table.collection .badgeimage, -table.collection .status { +table.collection td.awards { width: 15%; text-align: center; vertical-align: middle; } -table.collection .description { +table.collection td.criteria { + width: 40%; + text-align: left; + vertical-align: top; +} +table.collection td.status { + width: 15%; + text-align: center; + vertical-align: middle; +} +table.collection td.description { width: 25%; text-align: left; } -table.collection .actions { +table.collection td.actions { width: 11em; text-align: center; vertical-align: middle;