MDL-51881 behat: Set navbar to be absolutely positioned
[moodle.git] / theme / bootstrapbase / less / moodle / debug.less
CommitLineData
66fe88db
RT
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 {
6 .navbar-fixed-top {
7 position: absolute;
8 }
9}
8903b17b
BB
10.phpinfo table,
11.phpinfo th,
12.phpinfo h2 {
13 margin: auto;
14 text-align: left;
15}
16.phpinfo h2 {
17 width: 600px;
18}
19.phpinfo .e,
20.phpinfo .v,
21.phpinfo .h {
22 border: 1px solid #000000;
23 font-size: 0.8em;
24 vertical-align: baseline;
25 color: #000000;
26 background-color: #cccccc;
27}
28.phpinfo .e {
29 background-color: #ccccff;
30 font-weight: bold;
31}
32.phpinfo .h {
33 background-color: #9999cc;
34 font-weight: bold;
35}
36#page-footer .performanceinfo {
8903b17b
BB
37 margin: 10px 20%;
38}
39#page-footer .performanceinfo span {
40 display: block;
41}
42#page-footer .validators {
43 margin-top: 40px;
44 padding-top: 5px;
45 border-top: 1px dotted gray;
46}
47#page-footer .validators ul {
48 margin: 0;
49 padding: 0;
50 list-style-type: none;
51}
52#page-footer .validators ul li {
53 display: inline;
54 margin-right: 10px;
55 margin-left: 10px;
56}
7fa57e03
SH
57
58/** Cache stats styles **/
59#page-footer .performanceinfo .cachesused {
8903b17b 60 margin-top: 1em;
7fa57e03
SH
61
62 .cache-stats-heading,
63 .cache-total-stats {
64 font-weight: bold;
65 font-size: 110%;
66 margin-top: 0.3em;
67 }
68 .cache-definition-stats {
69 margin: .3em;
70 display: inline-block;
71 vertical-align: top;
72 background-color: @wellBackground;
73
74 .cache-definition-stats-heading span {
75 display: inline-block;
76 cursor: default;
77 }
78
79 .cache-store-stats {
80 padding: 0 1.3em;
81
82 &.nohits {
83 background-color: @errorBackground;
84 }
85 &.lowhits {
86 background-color: @warningBackground;
87 }
88 &.hihits {
89 background-color: @successBackground;
90 }
91 }
92 }
93}
94
95
38c96b95
ME
96#page-footer,
97#page-footer .validators,
98#page-footer .purgecaches,
99#page-footer .performanceinfo {
100 text-align: center;
66fe88db 101}