aboutsummaryrefslogtreecommitdiff
path: root/src/api/Notifications/styles.css
blob: 98dff6df158bc9ab8213657969fcd74da48d0c9a (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
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
119
120
121
122
.vc-notification-root {
    /* clear default button styles */
    all: unset;
    display: flex;
    flex-direction: column;
    color: var(--text-normal);
    background-color: var(--background-secondary-alt);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
}

.vc-notification-root:not(.vc-notification-log-wrapper > .vc-notification-root) {
    position: absolute;
    z-index: 2147483647;
    right: 1rem;
    width: 25vw;
    min-height: 10vh;
}

.vc-notification {
    display: flex;
    flex-direction: row;
    padding: 1.25rem;
    gap: 1.25rem;
}

.vc-notification-content {
    width: 100%;
}

.vc-notification-header {
    display: flex;
    justify-content: space-between;
}

.vc-notification-title {
    color: var(--header-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25rem;
    text-transform: uppercase;
}

.vc-notification-close-btn {
    all: unset;
    cursor: pointer;
    color: var(--interactive-normal);
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;
}

.vc-notification-close-btn:hover {
    color: var(--interactive-hover);
    opacity: 1;
}

.vc-notification-icon {
    height: 4rem;
    width: 4rem;
    border-radius: 6px;
}

.vc-notification-progressbar {
    height: 0.25rem;
    border-radius: 5px;
    margin-top: auto;
}

.vc-notification-p {
    margin: 0.5rem 0 0;
    line-height: 140%;
}

.vc-notification-img {
    width: 100%;
}

.vc-notification-log-empty {
    height: 218px;
    background: url("/assets/b36de980b174d7b798c89f35c116e5c6.svg") center no-repeat;
    margin-bottom: 40px;
}

.vc-notification-log-container {
    display: flex;
    flex-direction: column;
    padding: 1em;
    overflow: hidden;
}

.vc-notification-log-wrapper {
    transition: 200ms ease;
    transition-property: height, opacity;
}

.vc-notification-log-wrapper:not(:last-child) {
    margin-bottom: 1em;
}

.vc-notification-log-removing {
    height: 0 !important;
    opacity: 0;
    margin-bottom: 1em;
}

.vc-notification-log-body {
    display: flex;
    flex-direction: column;
}

.vc-notification-log-timestamp {
    margin-left: auto;
    font-size: 0.8em;
    font-weight: lighter;
}

.vc-notification-log-danger-btn {
    color: var(--white-500);
    background-color: var(--button-danger-background);
}