Skip to content

Commit

Permalink
MDL-68266 theme_boost: behat enable custom switches
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas Brands authored and andrewnicols committed May 5, 2020
1 parent cfab3a6 commit ab320de
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
15 changes: 15 additions & 0 deletions theme/boost/scss/moodle/debug.scss
Expand Up @@ -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,
Expand Down
12 changes: 12 additions & 0 deletions theme/boost/style/moodle.css
Expand Up @@ -18002,6 +18002,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 {
Expand Down
12 changes: 12 additions & 0 deletions theme/classic/style/moodle.css
Expand Up @@ -18206,6 +18206,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 {
Expand Down

0 comments on commit ab320de

Please sign in to comment.