forked from jamiebrynes7/obsidian-todoist-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
132 lines (105 loc) · 2.67 KB
/
styles.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
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
.todoist-query-title {
display: inline;
font-size: 1.25em;
}
.todoist-refresh-button {
display: inline;
margin-left: 8px;
margin-right: 8px;
float: right;
}
.todoist-refresh-spin {
animation: spin 1s linear infinite;
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
}
}
.task-metadata {
margin-left: 28px;
}
.task-calendar-icon,
.task-project-icon,
.task-labels-icon {
vertical-align: middle;
height: 17px;
width: 17px;
}
.task-date.task-overdue {
color: var(--text-error);
}
.todoist-project {
white-space: normal;
}
.todoist-project .todoist-project {
margin-left: 20px;
}
.todoist-project .todoist-section {
margin-left: 20px;
}
.todoist-error {
background-color: rgb(var(--background-modifier-error-rgb), 0.5);
border: 1px solid var(--background-modifier-error);
padding: 0 10px 20px 10px;
margin-top: 20px;
}
.todoist-success {
border: 1px solid var(--background-modifier-border);
padding: 0 10px 20px 10px;
margin-top: 20px;
}
.todoist-task-content {
display: inline;
}
ul.todoist-task-list {
white-space: normal;
}
.markdown-reading-view .hide-in-reading-view {
display: none;
}
.is-live-preview .block-language-todoist {
padding-left: 15px;
}
.theme-dark {
--todoist-p1-border: #ff7066;
--todoist-p1-border-hover: #ff706680;
--todoist-p1-background: rgba(255,112,102, .1);
--todoist-p2-border: #ff9a14;
--todoist-p2-border-hover: #ff9a1480;
--todoist-p2-background: rgba(255,154,20, .1);
--todoist-p3-border: #5297ff;
--todoist-p3-border-hover: #5297ff80;
--todoist-p3-background: rgba(82,151,255, .1);
}
.theme-light {
--todoist-p1-border: #d1453b;
--todoist-p1-border-hover: #d1453b80;
--todoist-p1-background: rgba(209,69,59, .1);
--todoist-p2-border: #eb8909;
--todoist-p2-border-hover: #eb890980;
--todoist-p2-background: rgba(235,137,9, .1);
--todoist-p3-border: #246fe0;
--todoist-p3-border-hover: #246fe080;
--todoist-p3-background: rgba(36,111,224, .1);
}
.todoist-p1 input {
--checkbox-border-color: var(--todoist-p1-border);
--checkbox-border-color-hover: var(--todoist-p1-border-hover);
background-color: var(--todoist-p1-background);
}
.todoist-p2 input {
--checkbox-border-color: var(--todoist-p2-border);
--checkbox-border-color-hover: var(--todoist-p2-border-hover);
background-color: var(--todoist-p2-background);
}
.todoist-p3 input {
--checkbox-border-color: var(--todoist-p3-border);
--checkbox-border-color-hover: var(--todoist-p3-border-hover);
background-color: var(--todoist-p3-background);
}
.todoist-task-description {
font-size: 80%;
color: var(--text-muted);
margin-left: 28px;
}