aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list/need-list.component.css
blob: 02e170ba1b4abf3537e930e50c903506efa2b35d (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
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
.needEntry {
    background-color: var(--tertiary-color);
    display: flex;
    flex-direction: column;
    border-radius: 5px;
}

#needList {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.needName {
    font-weight: bold;
}

.needType {
    text-transform: uppercase;
    font-size: 10pt;
}

.need-image {
    transition: all 0.15s ease-in-out;
    height: 130px;
    width: 200px;
    margin: -10px 0 0 -10px;
    object-fit: cover;
    border-radius: 5px;
    mask-image: linear-gradient(to right, rgb(255,255,255) 0, rgb(255,255,255,.1) 60%, rgb(255,255,255,0) 100%);
}

/*.clickable:hover {*/
/*    .need-image {*/
/*        mask-image: none;*/
/*        width: 210px*/
/*    }*/
/*    .left {*/
/*        width: 32.5%;*/
/*    }*/
/*    .prog {*/
/*        width: 72.5%;*/
/*    }*/
/*}*/

.split {
    display: flex;
    flex-direction: row;

    .left {
        width: 15%;
        transition: all 0.2s ease-in-out;
        display: flex;
        flex-direction: column;
    }

    .middle {
        width: 42.5%;
        display: flex;
        align-items: start;
        flex-direction: column;
    }

    .right {
        width: 42.5%;
        display: flex;
        flex-direction: column;
        align-items: end;
    }
}

.urgent {
    font-size: 11pt;
    background-color: rgba(255, 165, 0, 0.27);
    color: light-dark(rgb(138, 93, 0),rgba(255, 165, 0, 1));
    padding: 2px;
    border-radius: 5px;
}

.prog {
    transition: all 0.2s ease-in-out;
    width: 85%;
    display: flex;
    flex-direction: column;
    align-self: end;
    margin-top: -5.25%;
}

.clickable {
    padding: 10px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clickable:hover {
    background-color: var(--hover-color);
}

.actionArea {
    display: flex;
    padding: 5px;
    gap: 5px;
}

.actionArea:empty {
    padding: 0;
}

#page-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 10px
}