-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
144 lines (124 loc) · 2.32 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
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
143
144
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
min-height: 100vh;
height: auto;
background-color: #d2c8d2;
background-image: linear-gradient(0deg, #d2c8d2 0%, #d7e6e6 19%, #ffffff 39%, #ffffff 60%, #ffffff 80%, #cdddde 100%);
}
body {
font-size: 16px;
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
color: #333;
}
.app {
padding: 0 0 2em;
width: 600px;
margin: auto;
}
.DateTime {
margin: 40px 0;
color: #333;
}
.DateTime__Date {
display: block;
font-size: 20px;
font-weight: 300;
text-align: center;
margin-bottom: 8px;
}
.heading {
display: block;
font-size: 22px;
font-weight: 300;
text-align: center;
margin-bottom: 8px;
}
.DateTime__Time {
display: block;
font-size: 48px;
font-weight: 700;
text-align: center;
}
.TextBox {
height: 50px;
border: 0;
width: 100%;
background: #fafafa;
border: 1px solid #ddd;
color: #333;
outline: none;
font-size: 15px;
padding: 0 15px;
font-family: inherit;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
}
.TextBox::placeholder {
color: rgba(0,0,0,0.3);
}
.TextBox:focus {
border: 1px solid rgba(210, 203, 185, 0.5);
}
.Todolist {
list-style-type: none;
padding: 0;
}
.Todo {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 50px;
border: 1px solid #eee;
border-top: 0;
color: #333;
background-color: #fff;
cursor: pointer;
position: relative;
}
.Todo__Check {
padding: 0 1em;
width: 50px;
height: 50px;
line-height: 3.7;
}
.Todo__Check i {
display: inline-block;
height: 1em;
width: 1em;
border: 1px solid #ccc;
border-radius: 50%;
cursor: pointer;
}
.Todo__Task {
flex: 1;
padding: 13px 1em 13px 0;
line-height: 1.5;
}
.Todo__Delete, .Todo__Edit {
border: none;
background: none;
margin: 0 1em;
font-size: 14px;
color: #ccc;
display: none;
}
.Todo:hover {
background: #fafafa;
}
.Todo:hover .Todo__Delete,
.Todo:hover .Todo__Edit {
display: block;
}
.Todo--checked .Todo__Check i {
background: #27ae60;
border: 2px solid #27ae60;
}
.Todo--checked .Todo__Task {
text-decoration: line-through;
color: #ccc !important;
}