-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
164 lines (138 loc) · 3.11 KB
/
main.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
body{
box-sizing: border-box;
background:url('background.jpg') center no-repeat;
background: url('background.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
height: 100%;
overflow: hidden;
background-size:cover;
min-height:100vh;
display:flex;
justify-content: center;
align-items: center;
text-align: center;
font-family: Futura,"Trebuchet MS",Arial,sans-serif;
}
*, *:before, *:after {box-sizing: inherit; }
.wrapper{
padding: 20px;
max-width: 350px;
background: rgba(255,255,255,0.95);
box-shadow: 0 0 0 10px rgba(0,0,0,0.1);
}
h2{
text-align: center;
margin: 0;
font-weight: 200;
}
.list{
margin: 0;
padding: 0;
text-align: left;
list-style: none;
}
.list li{
border-bottom: 1px solid rgba(0,0,0,0.2);
padding: 10px 0;
font-weight: 100;
display: flex;
}
.list label{
flex:1;
cursor: pointer;
}
.list input{
margin-right: 10px;
}
.add-items{
margin-top: 20px;
}
form{
padding-top: 20px;
}
.actions{
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: space-around;
}
.actions > input[type="submit"]:first-child{
order: -1;
flex: 1 0 100%;
}
input[type="submit"] + input[type="submit"]{
margin-top: 10px;
}
input[type="submit"]{
color: #444444;
background: #F3F3F3;
border: 1px #DADADA solid;
padding: 5px 10px;
border-radius: 2px;
font-weight: bold;
outline: none;
}
input[type="submit"]:hover{
border: 1px #C6C6C6 solid;
box-shadow: 1px 1px 1px #EAEAEA;
color: #333333;
background: #F7F7F7;
}
input[type="submit"]:active{
box-shadow: inset 1px 1px 1px #DFDFDF;
}
.add-Items > input[type="submit"]{
color: white;
background: #4C8FFB;
border: 1px #3079ED solid;
box-shadow: inset 0 1px 0 #80B0FB;
}
.add-Items > input[type="submit"]:hover{
border: 1px #2F5BB7 solid;
box-shadow: 0 1px 1px #EAEAEA, inset 0 1px 0 #5A94F1;
background: #3F83F1;
}
.add-Items > input[type="submit"]:active{
box-shadow: inset 0 2px 5px #2370FE;
}
input[type="submit"].red{
background: -webkit-linear-gradient(top, #DD4B39, #D14836);
background: -moz-linear-gradient(top, #DD4B39, #D14836);
background: -ms-linear-gradient(top, #DD4B39, #D14836);
border: 1px solid #DD4B39;
color: white;
text-shadow: 0 1px 0 #C04131;
}
input[type="submit"].red:hover{
background: -webkit-linear-gradient(top, #DD4B39, #C53727);
background: -moz-linear-gradient(top, #DD4B39, #C53727);
background: -ms-linear-gradient(top, #DD4B39, #C53727);
border: 1px solid #AF301F;
}
input[type="submit"].red:active{
box-shadow: inset 0 1px 1px rgba(0,0,0,0.2);
background: -webkit-linear-gradient(top, #D74736, #AD2719);
background: -moz-linear-gradient(top, #D74736, #AD2719);
background: -ms-linear-gradient(top, #D74736, #AD2719);
}
.add-Items > input[type="text"]{
border: none;
border-bottom:1px solid #757575;
}
.add-Items > input[type="text"]:focus{
outline: none;
}
input[type="checkbox"]:checked + label{
text-decoration: line-through;
}
input[type="radio"]{
display: none;
}
input[type="radio"] + label:before {
float: right;
margin-right: 5px;
content: '🗑️';
}