-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
111 lines (91 loc) · 1.48 KB
/
styles.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
.margin {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.content {
width: 24rem;
max-width: 100%;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.title {
margin: 0;
font-size: 2rem;
}
.help {
font-size: 0.75rem;
}
.help-text {
margin: 1rem 0;
background-color: #f5f5f5;
border-width: 1px;
border-style: solid;
}
.help-text > p {
margin: 0.5rem;
}
.entries {
margin-bottom: 2rem;
display: grid;
grid-template-columns: 3fr min-content minmax(8rem, 2fr) min-content;
row-gap: 0.25rem;
column-gap: 0.125rem;
align-items: center;
}
.name-label {
margin: 0 0.125rem;
}
.value-label {
margin: 0 0.25rem;
text-align: right;
}
.entry {
display: contents;
}
.debt-input {
display: contents;
}
.debt-input--name {
width: 100%;
box-sizing: border-box;
}
.debt-input--dollar {
margin-left: 1rem;
text-align: right;
}
.debt-input--value {
width: 100%;
box-sizing: border-box;
text-align: right;
}
.add-entry {
grid-column: 1 / span 4;
justify-self: start;
}
.output-actions {
display: flex;
justify-content: space-between;
}
.output-actions--pagination {
display: flex;
align-items: center;
}
.output-actions--pagination > * + * {
margin-left: 0.25rem;
}
.transactions {
margin-top: 0.25rem;
padding: 0.25rem 0.5rem;
background-color: #f5f5f5;
border-width: 1px;
border-style: solid;
}
.transaction {
margin: 0.25rem 0;
}