todos.scss
1.96 KB
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
form.todos {
width: 100%;
margin: 0 0 1em 0;
padding: 1em;
background: #acddf2;
.main {
input[type='text'] {
font-size: 1.4em;
border: 1px solid #2c9cd2;
padding: 0.5em 1em;
margin-bottom: 1em;
width: 100%;
box-sizing: border-box;
}
}
.actions button {
margin-top: 1em;
}
}
.tasks {
width: 100%;
list-style: none;
padding: 0;
margin: 0;
li.task {
border-bottom: 1px solid #eaeaea;
padding: 1em 0;
span {
display: inline-block;
margin-right: 1em;
}
.check {
width: 2em;
height: 2em;
border-radius: 1em;
border: 1px solid #2c9cd2;
vertical-align: bottom;
}
.content {
font-size: 1.1em;
font-weight: bold;
line-height: 2em;
}
.category {
float: right;
min-width: 5em;
font-size: 0.9em;
}
.priority {
font-size: 0.8em;
border-radius: 0.8em;
background-color: #888;
color: #fff;
height: 200%;
line-height: 1.6em;
text-align: center;
padding: 0 1em;
&.p2 {
background-color: #b0b33c;
}
&.p3 {
background-color: #a51e23;
}
}
.deadline {
color: #ccc;
font-size: 0.9em;
}
}
}
.side {
.section {
background: #888;
width: 100%;
color: #fff;
a {
color: #fff;
display: inline-block;
text-decoration: none;
width: 100%;
box-sizing: border-box;
padding: 0.5em 1em 0.5em 3em;
border-bottom: 1px solid #fff;
&:last-child {
border-bottom: 0;
}
&.all {
background: #444;
}
}
a.selected {
padding-left: 1em;
background-color: #009eec;
&:before {
font-family: FontAwesome;
content: "\f00c";
display: inline-block;
vertical-align: middle;
padding-right: 1em;
}
}
a:hover, a.selected:hover {
background-color: #337AB7;
}
}
}