-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
142 lines (142 loc) · 2.7 KB
/
style.css
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
background-color: #a555ec;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.wrapper {
height: 100vh;
width: 70%;
display: flex;
padding: 30px 0;
flex-direction: column;
align-items: center;
/* background-color: red; */
}
.title {
/* background-color: white; */
height: 20%;
width: auto;
color: white;
font-size: 5rem;
font-weight: 800;
}
.title i {
margin-left: 20px;
color: aqua;
}
.transaction-users {
padding: 20px 50px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: max-content;
}
.user-one,
.user-two {
background-color: white;
width: 45%;
height: 100%;
padding: 20px;
border-radius: 10px;
}
.total-balance {
margin-bottom: 10px;
}
.total-balance h3 {
font-size: 0.9rem;
font-weight: 600;
color: rgba(0, 0, 0, 0.741);
}
.total-balance h1 {
font-size: 2.5rem;
font-weight: 800;
}
.total-balance .send-money {
width: 100%;
height: auto;
display: flex;
justify-content: space-between;
}
.total-balance .send-money input {
height: 100%;
outline: none;
font-size: 1.2rem;
font-weight: 600;
border: 2px solid rgba(128, 128, 128, 0.708);
border-radius: 5px;
padding: 10px 20px;
width: 78%;
}
.total-balance .send-money input::placeholder {
color: rgba(128, 128, 128, 0.708);
}
.total-balance .send-money input:focus {
border: 2px solid black;
}
.total-balance .send-money button {
width: 20%;
border-radius: 5px;
cursor: pointer;
border: none;
font-weight: 700;
transition: background-color linear 0.3s;
color: white;
background-color: #d09cfa;
}
.total-balance .send-money button:hover {
background-color: #c17afa;
}
.transcactions {
list-style: none;
background-color: rgb(249, 249, 249);
display: flex;
flex-direction: column;
gap: 10px;
justify-content: space-between;
max-height: 40vh;
overflow-y: auto;
}
.transcactions li {
background-color: white;
padding: 10px 20px;
text-align: right;
margin: 0 10px;
font-weight: 600;
}
.transcactions li:last-child {
margin-bottom: 10px;
}
.transcactions li:first-child {
margin-top: 10px;
}
.increase {
border-left: 8px solid rgb(12, 255, 12);
color: rgb(12, 255, 12);
}
.decrease {
border-left: 8px solid rgb(255, 12, 12);
color: rgb(255, 12, 12);
}
.box {
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 50px;
}
.box div {
background-color: white;
font-weight: 800;
font-size: 1.4rem;
border-radius: 10px;
padding: 7px 15px;
}