summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/less/LoadingBar.less
blob: 1fca2ea717f956c56209abf5fabe57d2d99af925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.LoadingBar {
    pointer-events: none;
    transition: 400ms linear all;

    .LoadingBar-Bar {
        background: @color-primary;
        height: 2px;

        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        display: none;
        width: 100%;
        border-radius: 0 1px 1px 0;
        transition: width 350ms;
    }

    .LoadingBar-Shadow {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 70px;
        height: 2px;
        border-radius: 50%;
        opacity: .45;
        box-shadow: @color-primary 1px 0 6px 1px;
    }
}