Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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.
5
body.behat-site {
6
    .fixed-top {
7
        position: absolute;
8
    }
9
 
10
    // Sticky footer can overlap with elements so we keep it relative for behat.
11
    &.hasstickyfooter .stickyfooter,
12
    .stickyfooter {
13
        position: inherit;
14
        z-index: inherit;
15
        .sticky-footer-content-wrapper {
16
            padding: 0;
17
            margin: 0;
18
        }
19
    }
20
 
21
    // We need more spacing in action menus so behat does not click on the wrong menu item.
22
    .dropdown-item {
23
        margin-top: 4px !important; /* stylelint-disable declaration-no-important */
24
    }
25
 
26
    // Remove following after MDL-57172 is fixed.
27
    &.drawer-ease {
28
        -webkit-transition: initial;
29
        -moz-transition: initial;
30
        transition: initial;
31
    }
32
 
33
    [data-region="drawer"] {
34
        -webkit-transition: initial;
35
        -moz-transition: initial;
36
        transition: initial;
37
        position: absolute;
38
    }
39
    .custom-control,
40
    .custom-switch {
41
        padding-left: 0;
42
    }
43
    .custom-control-input {
44
        position: static;
45
        z-index: 0;
46
        opacity: 1;
47
        width: auto;
48
    }
49
    .custom-control-label {
50
        &::before,
51
        &::after {
52
            content: none;
53
        }
54
    }
55
 
56
    // Workaround for MDL-70411.
57
    // Pad the side of the message drawer out slightly to ensure that Firefox scroll bar does not cover controls at the
58
    // edge of the screen.
59
    [data-region="message-drawer"] {
60
        padding-right: 10px;
61
    }
62
    &.jsenabled #page-footer .footer-content-popover {
63
        display: block;
64
    }
65
 
66
    &.path-grade-report-grader .gradeparent {
67
        tr.heading,
68
        tr.lastrow,
69
        th.header {
70
            position: relative;
71
            left: auto;
72
        }
73
        tr.heading {
74
            top: auto;
75
        }
76
    }
77
}
78
 
79
.phpinfo table,
80
.phpinfo th,
81
.phpinfo h2 {
82
    margin: auto;
83
}
84
 
85
.phpinfo .e,
86
.phpinfo .v,
87
.phpinfo .h {
88
    border: 1px solid $phpinfo-border-color;
89
    font-size: 0.8em;
90
    vertical-align: baseline;
91
    color: $phpinfo-color;
92
    background-color: $phpinfo-bg;
93
}
94
 
95
.phpinfo .e {
96
    background-color: $phpinfo-e-bg;
97
    font-weight: bold;
98
}
99
 
100
.phpinfo .h {
101
    background-color: $phpinfo-h-bg;
102
    font-weight: bold;
103
}
104
 
105
// PHP debug messages.
106
 
107
body > .debuggingmessage {
108
    margin-top: $navbar-height;
109
}
110
 
111
body > .debuggingmessage ~ .debuggingmessage {
112
    margin-top: .5rem;
113
}