-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtaskView.css
More file actions
137 lines (114 loc) · 3.08 KB
/
taskView.css
File metadata and controls
137 lines (114 loc) · 3.08 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
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
/* Default text settings for static text on tasks */
.task dwc-static-text {
font-size: 1.1em;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 99%;
transition: letter-spacing 100ms ease;
font-family: var(--app-font-family-task);
font-weight: var(--app-font-weight-task);
letter-spacing: var(--app-font-spacing-task);
letter-spacing: var(--app-font-spacing-task);
}
/* Task 'complete', 'due today', and 'past due' badges */
/* ================================================ */
.task .dueToday, .task .pastDue {
color: var(--dwc-color-danger);
white-space: nowrap;
font-weight: 600;
opacity: 0.75;
}
.task .complete {
color: var(--app-color-primary);
text-decoration: none;
}
.task:hover dwc-checkbox {
animation: pulse 500ms ease-in-out 1 forwards;
}
.task .textDescription {
color: hsla(var(--app-color-h), 15%, 50%);
}
/* Task items that are complete */
.task.complete .textTitle {
filter: opacity(0.65);
text-decoration: line-through;
}
.task.complete .textDescription {
filter: opacity(0.65);
text-decoration: line-through;
}
/* Checkboxes for Task items that are incomplete */
dwc-checkbox:not([checked])::part(input-wrapper) {
border-color: var(--dwc-color-gray-50);
background-color: var(--dwc-color-white);
}
/* Checkboxes for Task items that are complete */
dwc-checkbox[checked]::part(input-wrapper) {
border-color: var(--app-color-primary);
background-color: hsla(var(--app-color-h), 15%, 40%);
color: var(--dwc-color-white);
}
/* Checkbox styling */
dwc-checkbox::part(input-wrapper) {
border-radius: 100%;
color: var(--dwc-color-black);
transform: scale3d(1.25, 1.25, 1);
justify-content: center;
align-self: center;
margin-left: 2px;
}
/* Fades check mark on mouse enter/exit on a checkbox */
dwc-checkbox::part(checked-icon) {
transform: scale(1) translate3d(0px, 0px, 0px);
transition: all 250ms ease-in-out;
opacity: 0;
}
dwc-checkbox[checked]::part(checked-icon) {
opacity: 1;
}
dwc-checkbox[checked]:hover::part(checked-icon) {
/* Checked, hovering over the checkbox */
opacity: 0.75;
}
dwc-checkbox:not([checked]):hover::part(checked-icon) {
/* Unchecked, hovering over the checkbox */
opacity: 0.25;
}
/* Priority flags and popup menus */
/* ================================================ */
.priority-6 {
color: var(--app-color-priority-6);
}
.priority-5 {
color: var(--app-color-priority-5);
}
.priority-4 {
color: var(--app-color-priority-4);
}
.priority-3 {
color: var(--app-color-priority-3);
}
.priority-2 {
color: var(--app-color-priority-2);
}
.priority-1 {
color: var(--app-color-priority-1);
}
.priority-transparent {
color: var(--app-color-priority-transparent);
}
/* Indicator flag styling on task-list-view */
.task .priorityFlag {
font-size: 1em;
background-color: transparent;
}
.priority-flag::part(control):hover {
/* Prevent the flags turning black/white when hovering */
color: inherit;
}
dwc-panel.showCompletedTasks .task:not(.complete) {
display: none;
}
dwc-panel:not(.showCompletedTasks) .complete {
display: none;
}