aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/voiceMessages/styles.css
blob: 1e2b1433adb7c03c2b58ba0938fe0ea696c1a5d5 (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
.vc-vmsg-modal {
    padding: 1em;
}

.vc-vmsg-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5em;
    margin-bottom: 1em;
}

.vc-vmsg-modal audio {
    width: 100%;
}

.vc-vmsg-preview {
    color: var(--text-normal);
    border-radius: 24px;
    background-color: var(--background-secondary);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 48px;
}

.vc-vmsg-preview-indicator {
    background: var(--button-secondary-background);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: background 0.2s ease-in-out;
}

.vc-vmsg-preview-recording .vc-vmsg-preview-indicator {
    background: var(--status-danger);
}

.vc-vmsg-preview-time {
    opacity: 0.8;
    margin: 0 0.5em;
    font-size: 80%;

    /* monospace so different digits have same size */
    font-family: var(--font-code);
}

.vc-vmsg-preview-label {
    opacity: 0.5;
    letter-spacing: 0.125em;
    font-weight: 600;
    flex: 1;
    text-align: center;
}