-
-
Notifications
You must be signed in to change notification settings - Fork 746
/
schedule-page.component.scss
111 lines (94 loc) · 1.74 KB
/
schedule-page.component.scss
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
@import './../../../_variables';
@import './../../features/tasks/task/task.component.mixins';
.scheduled-task {
margin-bottom: $s;
padding: $s/2 $s*2;
@include dividerBorderColor(1px);
box-shadow: none;
}
.start-task-btn {
display: none;
@include mq(xs) {
background-color: inherit;
display: block;
margin-left: -$s;
margin-right: $s;
transition: $transition-duration-m;
opacity: 0;
.scheduled-task:hover & {
opacity: 1;
}
}
&:hover {
box-shadow: $whiteframe-shadow-2dp;
}
}
.content {
display: flex;
align-items: center;
justify-content: space-between;
.task-info {
flex: 1;
display: flex;
//flex-direction: column;
align-items: center;
@include mq(xs) {
flex-direction: row;
}
}
.title {
flex: 1;
// to account for the task titles inner padding
margin-top: -8px;
@include mq(xs) {
.scheduled-task:hover & {
}
}
}
.due-date {
border-radius: $card-border-radius;
display: flex;
font-style: italic;
flex-direction: column;
align-items: center;
cursor: pointer;
padding-left: $s;
padding-right: $s;
min-height: $mat-mini-fab-size;
.date {
@include mq(xs) {
margin-right: $s;
}
}
@include mq(xs) {
margin: 0 $s*2;
flex-direction: row;
}
}
}
.project {
margin-top: $s/2;
// to align with task title
margin-left: $s;
font-size: 11px;
display: flex;
align-items: center;
}
.project-title {
line-height: 1;
}
.project-color {
border-radius: 50%;
height: $s;
width: $s;
margin-right: $s;
}
.no-scheduled-tasks {
margin: $s;
margin-top: $s*2;
text-align: center;
}
.task-title {
margin-left: -4px;
@include taskTitle;
}