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
    // We need more spacing in action menus so behat does not click on the wrong menu item.
11
    .dropdown-item {
12
        margin-top: 4px !important; /* stylelint-disable declaration-no-important */
13
    }
14
 
15
    // Remove following after MDL-57172 is fixed.
16
    &.drawer-ease {
17
        transition: initial;
18
    }
19
 
20
    [data-region="drawer"] {
21
        transition: initial;
22
        position: absolute;
23
    }
24
    .custom-control,
25
    .custom-switch {
26
        padding-left: 0;
27
    }
28
    .custom-control-input {
29
        position: static;
30
        z-index: 0;
31
        opacity: 1;
32
    }
33
    .custom-control-label {
34
        &::before,
35
        &::after {
36
            content: none;
37
        }
38
    }
39
}
40
 
41
.phpinfo table,
42
.phpinfo th,
43
.phpinfo h2 {
44
    margin: auto;
45
}
46
 
47
.phpinfo .e,
48
.phpinfo .v,
49
.phpinfo .h {
50
    border: 1px solid #000;
51
    font-size: 0.8em;
52
    vertical-align: baseline;
53
    color: #000;
54
    background-color: #ccc;
55
}
56
 
57
.phpinfo .e {
58
    background-color: #ccf;
59
    font-weight: $font-weight-bold;
60
}
61
 
62
.phpinfo .h {
63
    background-color: #99c;
64
    font-weight: $font-weight-bold;
65
}
66