-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.css
117 lines (95 loc) · 1.78 KB
/
test.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
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
margin: 0;
padding: 0;
box-sizing: inherit;
}
html {
font-size: 62.5%;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
}
.login__input {
font-family: inherit;
color: inherit;
}
.login__btn {
color: inherit;
}
.login__btn:hover,
.login__btn:focus,
.btn--sort:hover,
.btn--sort:focus {
outline: none;
color: #777;
}
/* MAIN */
.app {
position: relative;
max-width: 100rem;
margin: 4rem auto;
display: grid;
grid-template-columns: 4fr 3fr;
grid-template-rows: auto repeat(3, 15rem) auto;
gap: 2rem;
/* NOTE This creates the fade in/out anumation when "logging in" */
opacity: 0;
}
.balance {
grid-column: 1 / span 2;
}
.balance__label {
font-size: 2.2rem;
font-weight: 500;
margin-bottom: -0.2rem;
}
/* MOVEMENTS */
.movements {
grid-row: 2 / span 3;
}
.movements__row {
padding: 2.25rem 4rem;
}
.movements__type--deposit {
background-image: linear-gradient(to top left, #39b385, #9be15d);
}
.movements__type--withdrawal {
background-image: linear-gradient(to top left, #e52a5a, #ff585f);
}
/* SUMMARY */
.summary {
grid-row: 5 / 6;
}
.summary__value--in,
.summary__value--interest {
color: #66c873;
}
.summary__value--out {
color: #f5465d;
}
/* OPERATIONS */
.operation--transfer {
background-image: linear-gradient(to top left, #ffb003, #ffcb03);
}
.operation--loan {
background-image: linear-gradient(to top left, #39b385, #9be15d);
}
.operation--close {
background-image: linear-gradient(to top left, #e52a5a, #ff585f);
}
.form {
display: grid;
grid-template-columns: 2.5fr 2.5fr 1fr;
grid-template-rows: auto auto;
gap: 0.4rem 1rem;
}
.form.form--loan {
grid-template-columns: 2.5fr 1fr 2.5fr;
}
.form__label--loan {
grid-row: 2;
}