aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/app.component.css
blob: 5af3958019fc78047ef6b7c53f7d1dd58e954796 (plain) (blame)
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
:host {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*border-bottom: light-dark(#d3d3d3, black) solid 1px;*/
    padding: 15px 20px;
    /*background-color: light-dark(#f5f5f5, #2e2e2e);*/
    z-index: 2;

    h1 {
        padding: 0;
        margin: 0;
        font-weight: 500;
        /*text-decoration: none;*/
        text-transform: uppercase;
        font-size: 16pt;
        letter-spacing: .5px;
    }

    div {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    /*div:has(a:hover) a {*/
    /*    color: light-dark(black, rgba(255, 255, 255, 0.5));*/
    /*}*/

    a {
        color: light-dark(black, white);
        text-decoration: none;
    }

    a:hover {
        /*color: light-dark(black, white)*/
        text-decoration: underline;
    }
}

.toast {
    transform: translateY(-90px);
    transition: transform .5s;
    align-self: center;
    z-index: 3;
    position: absolute;
    top: 15px;
    display: flex;
    flex-direction: row;
    padding: 3px 15px;
    background-color: #3a3a3a;
    border-radius: 100000px;
    gap: 10px;
    align-items: center;

    button {
        aspect-ratio: 1/1;
        margin-right: -11px;
        padding: 8px;
        display: flex;
        align-items: center;
    }
}

.toast.active {
    transform: translateY(0);
}