aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/components/SkeletonDoc/SkeletonDoc.scss
blob: bbc73014495100ee8faea8aa6ee391c20dba2b46 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
@use '../../NewLightboxStyles.scss' as newstyles;

.skeletonDoc-container {
    display: flex;
    flex-direction: column;
    height: calc(100% - 40px);
    margin: 20px;
    gap: 20px;

    .header {
        width: calc(100% - 20px);
        height: 80px;
        background: newstyles.$gray-l2;
        animation: skeleton-loading-l2 1s linear infinite alternate;
        display: grid;
        grid-template-rows: 60% 40%;
        padding: 10px;
        grid-template-columns: auto auto auto auto;
        border-radius: 20px;

        .title {
            grid-row: 1;
            grid-column: 1 / 5;
            display: flex;
            width: fit-content;
            height: 100%;
            min-width: 500px;
            font-size: newstyles.$title-size;
            animation: skeleton-loading-l3 1s linear infinite alternate;
            border-radius: 20px;
        }

        .type {
            display: flex;
            padding: 3px 7px;
            width: fit-content;
            height: fit-content;
            margin-top: 8px;
            min-height: 15px;
            min-width: 60px;
            grid-row: 2;
            grid-column: 1;
            animation: skeleton-loading-l3 1s linear infinite alternate;
            border-radius: 20px;
        }

        .buttons-container {
            grid-row: 1 / 3;
            grid-column: 5;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 10px;

            .button {
                width: 50px;
                height: 50px;
                border-radius: 100%;
                animation: skeleton-loading-l3 1s linear infinite alternate;
            }
        }
    }

    .content {
        width: 100%;
        flex: 1;
        -webkit-flex: 1; /* Chrome */
        background: newstyles.$gray-l2;
        animation: skeleton-loading-l2 1s linear infinite alternate;
        border-radius: 20px;
    }

    // &.dark {
    //   background: newstyles.$black;
    // }

    // &.light,
    // &.default {
    //   background: newstyles.$white;
    // }
}