weekly release 4.0dev
[moodle.git] / theme / boost / scss / moodle / debug.scss
CommitLineData
536f0460
DW
1// Here we are forcing the navbar to be absolutely positioned for behat, because
2// when driver scrolls something into view in browser it doesn't account
3// for fixed positioned elements that end up obscuring the item thus
4// leading to errors that could be avoided by scrolling an additional amount.
5body.behat-site {
3ec69c2e 6 .fixed-top {
536f0460
DW
7 position: absolute;
8 }
ba5c5083
DW
9
10 // We need more spacing in action menus so behat does not click on the wrong menu item.
11 .dropdown-item {
947970fc 12 margin-top: 4px !important; /* stylelint-disable declaration-no-important */
ba5c5083 13 }
3df6e801
RT
14
15 // Remove following after MDL-57172 is fixed.
16 &.drawer-ease {
17 -webkit-transition: initial;
18 -moz-transition: initial;
19 transition: initial;
20 }
21
22 [data-region="drawer"] {
23 -webkit-transition: initial;
24 -moz-transition: initial;
25 transition: initial;
ebcff7e2 26 position: absolute;
3df6e801 27 }
becd940c
BB
28 .custom-control,
29 .custom-switch {
30 padding-left: 0;
31 }
32 .custom-control-input {
33 position: static;
34 z-index: 0;
35 opacity: 1;
36 }
37 .custom-control-label {
38 &::before,
39 &::after {
40 content: none;
41 }
42 }
52d90245
AN
43
44 // Workaround for MDL-70411.
45 // Pad the side of the message drawer out slightly to ensure that Firefox scroll bar does not cover controls at the
46 // edge of the screen.
47 [data-region="message-drawer"] {
48 padding-right: 10px;
49 }
536f0460 50}
f4143537 51
536f0460
DW
52.phpinfo table,
53.phpinfo th,
54.phpinfo h2 {
55 margin: auto;
536f0460 56}
f4143537 57
536f0460
DW
58.phpinfo .e,
59.phpinfo .v,
60.phpinfo .h {
fde35b8f 61 border: 1px solid #000;
536f0460
DW
62 font-size: 0.8em;
63 vertical-align: baseline;
fde35b8f
DP
64 color: #000;
65 background-color: #ccc;
536f0460 66}
f4143537 67
536f0460 68.phpinfo .e {
fde35b8f 69 background-color: #ccf;
536f0460
DW
70 font-weight: bold;
71}
f4143537 72
536f0460 73.phpinfo .h {
fde35b8f 74 background-color: #99c;
536f0460
DW
75 font-weight: bold;
76}
f4143537 77