tasks.scss
1.4 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
@import '../../global/_variables'; // global variables.
@import '../../global/components/_mixins'; // global mixings.
/***
Tasks Widget
***/
.tasks-widget {
&:after {
clear: both;
}
.task-list {
list-style: none;
padding:0;
margin:0;
> li {
position:relative;
padding: 10px 0;
border-bottom:1px solid #F4F6F9;
&:hover {
background:#F4F6F9;
}
&.last-line {
border-bottom:none;
}
&.task-done {
background:#f6f6f6;
&:hover {
background:#f4f4f4;
}
.task-title-sp {
text-decoration:line-through;
}
}
> .task-bell {
margin-left:10px;
}
> .task-checkbox {
float:left;
width:30px;
input[type="checkbox"] {
cursor: pointer;
}
}
> .task-title {
color: #838FA1;
margin-right:10px;
.task-title-sp {
margin-right:5px;
}
}
.task-config-btn {
margin-top: -1px;
}
> .task-config {
display:none;
position:absolute;
top:10px;
right:10px;
}
&:hover > .task-config {
display:block;
margin-bottom:0 !important;
}
}
}
.task-footer {
margin-top: 5px;
@include clearfix();
}
}
@media only screen and (max-width: $screen-xs-min) {
.tasks-widget {
.task-config-btn {
float:inherit;
display:block;
}
.task-list-projects {
li > .label {
margin-bottom:5px;
}
}
}
}