-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtaskListView.css
72 lines (62 loc) · 1.42 KB
/
taskListView.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
/* Task Styling */
/* ================================================ */
/* The parent window for tasks in the listView */
.listView {
flex-direction: column;
align-items: flex-start;
}
/* The windows for the tasks in the listview */
.listView dwc-panel {
flex: 0 0 auto;
display: grid;
grid-template-columns: 1.8em 1fr auto;
grid-template-rows: auto 2em;
grid-column-gap: 0.25em;
height: fit-content;
justify-items: start;
border: transparent;
border-bottom-color: var(--dwc-color-gray-80);
padding: 0.5em 0;
transition: all 250ms ease;
}
.listView dwc-checkbox {
grid-column: 1;
grid-row: 1;
}
.listView .dueNotice {
grid-row: 1;
grid-column: 3;
justify-self: right;
white-space: nowrap;
text-overflow: clip;
padding-right: 0.2em;
}
/* Title styling on task-list-view */
.listView .textTitle {
height: auto;
text-wrap: wrap;
}
/* Description styling on task-list-view */
.listView .textDescription {
align-self: start;
grid-column: 2 / 2;
}
.listView .priorityFlag {
justify-self: right;
align-self: start;
grid-column: 3 / 3;
grid-row: 2;
}
/* Hide the label part of the checkbox */
.listView dwc-checkbox::part(label) {
display: none;
}
/* Hide the delete button */
.listView .btnDelete {
display: none;
}
@media (width <= 500px) {
.listView .dueNotice {
display: none;
}
}