-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
130 lines (111 loc) · 2.13 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
body{
background-color: #34495e;
}
#container{
width: 350px;
height: auto;
margin: 0 auto;
text-align: center;
background: white;
height: 700px;
overflow-y: auto;
color: black;
border: 10px solid #01a3a4;
border-radius: 10px;
}
#container h1{
margin-top: 50px;
margin-bottom: 50px;
text-transform: uppercase;
}
#container ul{
margin-top: 50px;
padding-left: 0;
}
#container ul li{
list-style: none;
border: 2px solid #b5c5dd;
width: 80%;
opacity: 0;
transition: opacity 0.5s ease-in-out;
height: 40px;
margin: 5px auto;
text-align: left;
}
#container ul li label{
margin: 0 auto;
vertical-align: middle;
height: 100%;
line-height: 40px;
font-size: 18px;
}
#container ul li #check{
float: left;
width: 30px;
height: 30px;
margin: 5px;
-webkit-appearance: none;
border: 2px solid #b5c5dd;
position: relative;
outline: 0;
}
#container ul li #check:checked:after{
content: '\2714';
font-size: 20px;
position: absolute;
top: 0px;
left: 7px;
color: black;
}
#container ul li input[type="checkbox"]:checked + label{
text-decoration:line-through;
color: rgba(0,0,0,.3);
}
#container .controls{
width: 60%;
margin: auto;
}
#container .controls #input{
width: 100%;
height: 30px;
font-size: 20px;
padding-left: 5px;
box-sizing: border-box;
margin-bottom: 20px;
border: 2px solid #b5c5dd;
border-radius: 10px;
}
#container .controls #input:focus{
outline: 0;
}
#container .controls button{
width: 100%;
background: white;
border: none;
height: 30px;
margin-top: 2px;
cursor: pointer;
color: white;
}
#container .controls button:focus{
outline: 0;
}
#container .controls button:hover{
transform: scale(1.05);
}
#container .controls #add{
background-color: #2980b9;
border-radius: 10px;
}
#container .controls #remove{
background-color: #c0392b;
border-radius: 10px
}
#container .mycheck{
opacity: 1;
border-radius: 10px;
}
.visual{
opacity: 1 !important;
border-radius: 10px;
}