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
.modal {
2
    .modal-body {
3
        & > .loading-icon {
4
            display: block;
5
            position: relative;
6
            width: 100%;
7
            height: 100%;
8
 
9
            .icon {
10
                position: absolute;
11
                top: 50%;
12
                /*rtl:ignore*/
13
                left: 50%;
14
                transform: translate(-50%, -50%);
15
            }
16
        }
17
    }
18
 
19
    // Override Bootstrap .close for better accessibility.
20
    .close {
21
        // Adjust the margins so the focus outline does not look clipped.
22
        margin: -0.8rem -0.8rem -0.8rem auto;
23
 
24
        // Inherit the opacity when focus is received for better focus outline contrast.
25
        &:not(:disabled):not(.disabled) {
26
            &:hover,
27
            &:focus {
28
                opacity: inherit;
29
            }
30
        }
31
    }
32
}
11 efrain 33
 
34
/* Bug fix for TinyMCE menu when in fullscreen mode. */
35
body.tox-fullscreen .modal-dialog {
36
    width: 100%;
37
    max-width: 100%;
38
    height: 100%;
39
 
40
    .modal-header {
41
        height: 0;
42
        padding: 0;
43
    }
44
 
45
    .tox-tinymce-aux {
46
        position: relative;
47
    }
48
}
49
 
50
/* Bug fix TinyMCE menu width dropdowns when in fullscreen mode. */
51
body.tox-fullscreen .tox.tox-tinymce-aux {
52
    position: relative !important; // stylelint-disable-line declaration-no-important
53
}