-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
86 lines (73 loc) · 1.31 KB
/
index.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
* {
margin: 0;
padding: 0;
}
html,
body,
#app {
height: 100%;
overflow: hidden;
}
.todo-list-view {
box-sizing: border-box;
padding: 0 12px;
min-width: 375px;
height: 100%;
display: flex;
flex-direction: column;
}
.todo-list-header {
display: flex;
margin-top: 12px;
}
.todo-list-header .todo-list-header-input {
flex: 1;
}
.todo-list {
margin-top: 12px;
display: flex;
flex-direction: column;
row-gap: 12px;
flex: 1;
overflow: scroll;
}
.todo-list .todo-list-item {
position: relative;
height: 48px;
padding: 0 12px;
flex-shrink: 0;
display: flex;
align-items: center;
border-radius: 12px;
background: #f1f3f5;
}
.todo-list .todo-list-item:hover {
background: #e0e3e7;
}
.todo-list .todo-list-item:hover .todo-list-item-delete {
display: inline-block;
opacity: 1;
}
.todo-list .todo-list-item .todo-list-item-delete {
display: none;
position: absolute;
right: 12px;
}
.todo-list .todo-list-item-completed {
color: #b0b3b8;
text-decoration: line-through;
}
.todo-list .todo-list-item .todo-list-item-label {
margin-left: 12px;
}
.todo-list-footer {
padding: 6px 12px;
display: flex;
justify-content: space-between;
border-top: 1px solid #e0e3e7;
}
.todo-list-footer .todo-list-footer-left {
display: flex;
align-items: center;
column-gap: 12px;
}