From becd940c6cb6b9483c2abbd5fa2d5604eebfea8f Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Wed, 9 Oct 2019 16:03:11 +0200 Subject: [PATCH] MDL-66883 theme_boost: behat enable custom switches --- theme/boost/scss/moodle/debug.scss | 15 +++++++++++++++ theme/boost/style/moodle.css | 12 ++++++++++++ theme/classic/style/moodle.css | 12 ++++++++++++ 3 files changed, 39 insertions(+) diff --git a/theme/boost/scss/moodle/debug.scss b/theme/boost/scss/moodle/debug.scss index 1e6ef521237..81faedfcbd9 100644 --- a/theme/boost/scss/moodle/debug.scss +++ b/theme/boost/scss/moodle/debug.scss @@ -25,6 +25,21 @@ body.behat-site { transition: initial; position: absolute; } + .custom-control, + .custom-switch { + padding-left: 0; + } + .custom-control-input { + position: static; + z-index: 0; + opacity: 1; + } + .custom-control-label { + &::before, + &::after { + content: none; + } + } } .phpinfo table, diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 026eab39f90..ef173018ceb 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -18022,6 +18022,18 @@ body.behat-site [data-region="drawer"] { transition: initial; position: absolute; } +body.behat-site .custom-control, +body.behat-site .custom-switch { + padding-left: 0; } + +body.behat-site .custom-control-input { + position: static; + z-index: 0; + opacity: 1; } + +body.behat-site .custom-control-label::before, body.behat-site .custom-control-label::after { + content: none; } + .phpinfo table, .phpinfo th, .phpinfo h2 { diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 4a592a19b2a..489825c8418 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -18238,6 +18238,18 @@ body.behat-site [data-region="drawer"] { transition: initial; position: absolute; } +body.behat-site .custom-control, +body.behat-site .custom-switch { + padding-left: 0; } + +body.behat-site .custom-control-input { + position: static; + z-index: 0; + opacity: 1; } + +body.behat-site .custom-control-label::before, body.behat-site .custom-control-label::after { + content: none; } + .phpinfo table, .phpinfo th, .phpinfo h2 {