forked from Definehack/Define25
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtransactionHistory.css
More file actions
93 lines (80 loc) · 1.96 KB
/
transactionHistory.css
File metadata and controls
93 lines (80 loc) · 1.96 KB
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
.transaction-history {
background: rgba(18, 18, 18, 0.95);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 0.5rem;
margin: 0.5rem;
height: 100%;
width: 95%;
height: 300px;
display: flex;
flex-direction: column;
font-family: Arial, Helvetica, sans-serif;
color: white;
}
.transaction-list {
margin-top: 1rem;
flex: 1;
overflow-y: auto;
padding-right: 1rem;
scrollbar-width: thin;
scrollbar-color: #774EBD rgba(255, 255, 255, 0.1);
height: 200px; /* Account for header height */
max-height: calc(100% - 40px);
}
.transaction-list::-webkit-scrollbar {
width: 6px;
}
.transaction-list::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
}
.transaction-list::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, #774EBD 0%, #372457 100%);
border-radius: 3px;
}
.transaction-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.4rem 0.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
gap: 0.5rem;
}
.transaction-info {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.transaction-name {
color: rgba(255, 255, 255, 0.87);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.9rem;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.transaction-date {
color: rgba(255, 255, 255, 0.6);
font-size: 0.8rem;
}
.transaction-amount {
font-weight: bold;
font-size: 1rem;
}
.transaction-item.income .transaction-amount {
color: #774EBD;
}
.transaction-item.outcome .transaction-amount {
color: #372457;
}
@media (max-width: 768px) {
.transaction-item {
padding: 0.75rem;
}
.transaction-history {
padding: 1.5rem;
min-height: 350px;
}
}