Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | 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
 
40
    // Workaround for MDL-70411.
41
    // Pad the side of the message drawer out slightly to ensure that Firefox scroll bar does not cover controls at the
42
    // edge of the screen.
43
    [data-region="message-drawer"] {
44
        padding-right: 10px;
45
    }
46
    &.jsenabled #page-footer .footer-content-popover {
47
        display: block;
48
    }
49
 
50
    &.path-grade-report-grader .gradeparent {
51
        tr.heading,
52
        tr.lastrow,
53
        th.header {
54
            position: relative;
55
            left: auto;
56
        }
57
        tr.heading {
58
            top: auto;
59
        }
60
    }
61
}
62
 
63
.phpinfo table,
64
.phpinfo th,
65
.phpinfo h2 {
66
    margin: auto;
67
}
68
 
69
.phpinfo .e,
70
.phpinfo .v,
71
.phpinfo .h {
72
    border: 1px solid $phpinfo-border-color;
73
    font-size: 0.8em;
74
    vertical-align: baseline;
75
    color: $phpinfo-color;
76
    background-color: $phpinfo-bg;
77
}
78
 
79
.phpinfo .e {
80
    background-color: $phpinfo-e-bg;
81
    font-weight: bold;
82
}
83
 
84
.phpinfo .h {
85
    background-color: $phpinfo-h-bg;
86
    font-weight: bold;
87
}
88
 
89
// PHP debug messages.
90
 
91
body > .debuggingmessage {
92
    margin-top: $navbar-height;
93
}
94
 
95
body > .debuggingmessage ~ .debuggingmessage {
96
    margin-top: .5rem;
97
}