-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
179 lines (165 loc) · 2.79 KB
/
style.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
*{
box-sizing: border-box;
}
body{
padding-left: 24px;
padding-right: 24px;
padding-top: 12px;
padding-bottom: 12px;
font-family: sans-serif;
}
.container{
width: 30%;
}
ul{
list-style: none;
padding: 0;
margin-top: 12px;
}
a{
text-decoration: none;
color: inherit;
}
h1.page-title{
color: #2d5ca8;
}
small.page-subtitle{
opacity: 0.2;
padding: 24px;
display: block;
text-align: center;
}
ul li input[type=checkbox]{
margin-right: 12px;
}
span#listStatus{
display: block;
padding-top: 12px;
}
input[type=text]{
padding: 12px;
border: 2px solid rgba(0,0,0,0.3);
width: 100%;
font-size: 14px;
display: block;
border-radius: 0px;
-webkit-appearance: none;
}
input[type=text]:focus{
outline: none;
}
#userInput{
font-size: 20px;
margin-right: 12px;
width: 80%;
}
#userInputContainer button{
font-size: 16px;
background: #4286f4;
border: 0px;
color: #ffffff;
cursor: pointer;
padding-left: 20px;
padding-right: 20px;
}
#userInputContainer button:hover{
background: #2d5ca8;
}
#userInputContainer{
display: flex;
justify-content: space-between;
margin-bottom: 24px;
}
.todo-section, .complete-section{
padding: 12px;
padding-left: 24px;
border: 2px solid rgba(0,0,0,0.4);
width: auto;
display: block;
margin-bottom: 12px;
}
.complete-section{
border-color: rgba(0,0,0,0.2);
}
.complete-section h4{
opacity: 0.2;
}
.complete-section ul li{
opacity: 0.2;
transition: 0.2s ease;
}
.complete-section ul > li:hover{
opacity: 0.7;
transition: 0.2s ease;
}
#alertBox{
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
top: 0;
left: 0;
position: fixed;
display: none;
}
#alertBox #alertBoxContent{
width: 400px;
top: 25%;
position: relative;
height: auto;
padding: 24px;
margin: 0 auto;
background-color: #ffffff;
box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.4);
}
#alertBox #alertBoxMessage{
display: block;
font-size: 20px;
padding-bottom: 24px;
}
#alertBox #alertBoxToDoName{
font-weight: bold;
}
#alertBox button{
width: 49%;
display: inline-block;
float: left;
margin-top: 12px;
appearance: none;
-webkit-appearance: none;
border: none;
padding: 12px;
cursor: pointer;
font-size: 12px;
}
#alertBox button:focus{
outline: 0;
}
#alertBox #alertBoxSubmit{
background-color: #4286f4;
color: #ffffff;
}
#alertBox #alertBoxSubmit:hover{
background-color: #2d5ca8;
}
#alertBox #alertBoxClose{
background-color: #ffffff;
color: #4286f4;
border: 1px solid #4286f4;
}
#alertBox #alertBoxButtonContainer{
display: flex;
justify-content: space-between;
width: 100%;
}
#alertBoxStatus, #listStatus{
padding-bottom: 12px;
display: block;
}
@media screen and (max-width: 960px){
.container{
width: 100%;
}
#alertBox #alertBoxContent{
width: 90%;
}
}