File size: 1,941 Bytes
a3689a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
:root {
    --cody-web-skeleton-main-color: #3e475e;
    --cody-web-skeleton-blink-color: #4d5875;
}

.root {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
}

.header {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem;
    align-items: center;
}

.chat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    &-input {
        width: 100%;
        border-radius: 3px;
        border: 2px solid var(--vscode-widget-border);
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    &-mentions-row {
        display: flex;
        gap: 0.25rem;
        align-items: center;
    }

    &-submit-button {
        margin-left: auto;
    }
}

.message {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    &-content {
        margin-top: 0.5rem;
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
}

.line {
    width: 100%;
    max-width: 7rem;
    height: 0.75rem;
    flex-grow: 0;
    flex-shrink: 0;
    border-radius: 3px;
    background-size: 200% 100%;
    animation: shine-lines 1s infinite linear;

    background-image: linear-gradient(
        100deg,
        var(--cody-web-skeleton-main-color) 0,
        var(--cody-web-skeleton-blink-color) 40px,
        var(--cody-web-skeleton-main-color) 80px
    );

    &-circle {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        flex-grow: 0;
        flex-shrink: 0;

        &-small {
            width: 1rem;
            height: 1rem;
        }
    }

    &-small {
        max-width: 5rem;
        height: 0.5rem;
    }

    &-short-text {

        max-width: 3rem;
    }

    &-text {

        max-width: 8rem;
    }

    &-long-text {

        max-width: 20rem;
    }

}

@keyframes shine-lines {
    100% {
        background-position-x: -200%;
    }
}