This repository has been archived by the owner on Jul 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
todoist.scss
156 lines (125 loc) · 2.67 KB
/
todoist.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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
@import "../../colors.scss";
.todoist-query-title {
display: inline !important;
}
.todoist-refresh-button {
display: inline;
float: right;
margin-left: 8px;
padding: 3px 10px;
background-color: $gray-5;
&:hover {
background-color: $gray-6;
}
}
.todoist-refresh-spin {
animation: spin 1s linear infinite;
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
}
}
.markdown-preview-view ul > li.task-list-item {
.todoist-p1 > input[type="checkbox"] {
border: 1px solid $red !important;
background-color: rgba($red, 0.25) !important;
&:hover {
background-color: rgba($red, 0.5) !important;
}
}
.todoist-p2 > input[type="checkbox"] {
border: 1px solid $yellow !important;
background-color: rgba($yellow, 0.25) !important;
&:hover {
background-color: rgba($yellow, 0.5) !important;
}
}
.todoist-p3 > input[type="checkbox"] {
border: 1px solid $sky-blue !important;
background-color: rgba($sky-blue, 0.25) !important;
&:hover {
background-color: rgba($sky-blue, 0.5) !important;
}
}
.todoist-p4 > input[type="checkbox"] {
border: 1px solid $gray-9 !important;
background-color: rgba($gray-9, 0.25) !important;
&:hover {
background-color: rgba($gray-9, 0.5) !important;
}
}
}
.task-metadata {
font-size: var(--font-todoist-metadata-size);
color: $indigo;
margin-left: unset !important;
}
.task-metadata > * {
margin-right: 30px;
}
.task-date.task-overdue {
color: rgba($light-red, 0.75) !important;
}
.task-calendar-icon,
.task-project-icon,
.task-labels-icon {
vertical-align: middle;
height: 17px;
width: 17px;
}
.todoist-project .todoist-project {
margin-left: 20px;
}
.todoist-section {
margin-left: 20px;
}
.todoist-project .todoist-project-title {
font-weight: 700;
margin-block-end: 0px;
}
.todoist-section .todoist-section-title {
font-size: var(--font-todoist-title-size);
color: $indigo;
font-weight: 700;
margin-block-end: 0px;
}
.todoist-error {
border: 1px solid $light-red;
background-color: rgba($light-red, 0.05);
padding: 1em 1em;
margin: 1em 0px;
p {
margin: 0 0 1em 0;
font-weight: 600;
}
code {
background-color: unset !important;
padding: unset !important;
margin: unset !important;
}
}
.todoist-success {
border: 1px solid $green !important;
background-color: rgba($green, 0.05);
padding: 1em 1em !important;
margin: 1em 0px;
p {
margin: 0;
font-weight: 600;
}
}
.priority-container {
.priority-1 {
color: $light-red;
}
.priority-2 {
color: $yellow;
}
.priority-3 {
color: $sky-blue;
}
.priority-4 {
color: $gray-9;
}
}