aboutsummaryrefslogtreecommitdiff
path: root/src/components/VencordSettings/settingsStyles.css
blob: 01cbcd557a892974317313b0cb6aff76eb6b1f9c (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
.vc-settings-tab-bar {
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--background-modifier-accent);
}

.vc-settings-tab-bar-item {
    margin-right: 32px;
    padding-bottom: 16px;
    margin-bottom: -2px;
}

.vc-settings-quick-actions-card {
    padding: 1em;
    display: flex;
    gap: 1em;
    align-items: center;
    justify-content: space-evenly;
    flex-grow: 1;
    flex-flow: row wrap;
    margin-bottom: 1em;
}

.vc-settings-donate {
    display: flex;
    flex-direction: row;
}

.vc-settings-card {
    padding: 1em;
    margin-bottom: 1em;
}

.vc-backup-restore-card {
    background-color: var(--info-warning-background);
    border-color: var(--info-warning-foreground);
    color: var(--info-warning-text);
}

.vc-settings-theme-links {
    /* Needed to fix bad themes that hide certain textarea elements for whatever eldritch reason */
    display: inline-block !important;
    color: var(--text-normal) !important;
    padding: 0.5em;
    border: 1px solid var(--background-modifier-accent);
    max-height: unset;
}

.vc-cloud-settings-sync-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1em;
}

.vc-cloud-erase-data-danger-btn {
    color: var(--white-500);
    background-color: var(--button-danger-background);
}

.vc-text-selectable,
.vc-text-selectable :where([class*="text" i], [class*="title" i]) {
    /* make text selectable, silly discord makes the entirety of settings not selectable */
    user-select: text;

    /* discord also sets cursor: default which prevents the cursor from showing as text */
    cursor: initial;
}