-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
110 lines (92 loc) · 1.75 KB
/
styles.css
File metadata and controls
110 lines (92 loc) · 1.75 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
:root {
--custom-black: #333;
}
html {
font-size: 16px;
}
body {
margin: 0;
padding: 0;
box-sizing: border-box;
color: var(--custom-black);
font-family: sans-serif;
}
.container {
width: 70%;
margin: 100px auto 0;
}
h1 {
text-align: center;
margin: 3rem 0;
}
.todo-list-wrapper {
outline: 1px solid var(--custom-black);
display: flex;
flex-direction: column;
}
.input-wrapper {
padding: 1rem;
outline: 1px solid var(--custom-black);
display: flex;
}
.input-wrapper .arrow-wrapper {
padding: 0 1rem;
display: flex;
justify-content: center;
align-items: center;
}
.down-arrow {
border: solid var(--custom-black);
transform: rotate(45deg);
border-width: 0 3px 3px 0;
display: inline-block;
-webkit-transform: rotate(45deg);
padding: 0.25rem;
}
.input-wrapper input {
font-size: 1.5rem;
border: none;
width: 100%;
outline: none;
padding: 0 1rem;
}
.list-wrapper {
display: flex;
flex-direction: column;
font-size: 1.25rem;
}
.list-wrapper .item-wrapper {
display: flex;
padding: 1rem;
border-bottom: 1px solid var(--custom-black);
align-items: center;
}
.checkbox-wrapper {
padding: 0 1rem;
}
input[type='checkbox'] {
margin: 0;
cursor: pointer;
}
.item-desc {
padding: 0 1rem;
flex: 1;
text-transform: capitalize;
}
.remove-item {
padding: 0 1rem;
/* line-height: 1rem; */
font-size: 1.4rem;
font-weight: bolder;
cursor: pointer;
}
.done {
order: 1;
}
.done .item-desc {
text-decoration: line-through;
}
.status-wrapper {
padding: 1rem;
outline: 1px solid var(--custom-black);
}