-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
109 lines (91 loc) · 2.32 KB
/
index.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
:root {
/* background color */
--main: #111827;
/* Toolbar and popover */
--primary: #0f172a;
/* On hover or selected */
--selected: rgba(255, 255, 255, 0.2);
/* Border color */
--border: #1e293b;
/* Text and icon colors */
--text: white;
}
* {
padding: 0;
margin: 0;
font-family: sans-serif;
}
.dark {
background-color: var(--main);
}
.dark .ce-toolbar__plus,
.dark .ce-toolbar__settings-btn,
.dark .ce-popover-item__title,
.dark .ce-popover-item__icon {
color: var(--text);
}
.dark .cdx-search-field.ce-popover__search {
background-color: #1e293b4d;
border-color: var(--border);
}
.dark .cdx-search-field__input {
color: var(--text);
}
.dark .cdx-block,
.dark .ce-block {
color: var(--text);
}
.dark .ce-inline-toolbar,
.dark .ce-conversion-tool__icon,
.dark .ce-popover-item__icon,
.dark .ce-popover__item-icon {
color: var(--text);
border-color: var(--border);
}
.dark .ce-popover,
.dark .ce-conversion-toolbar,
.dark .ce-inline-toolbar,
.dark .ce-popover,
.dark .ce_popover__container {
background-color: var(--primary);
border-color: var(--border);
box-shadow: 0 3px 15px -3px var(--border);
}
.dark .ce-popover--opened > .ce-popover__container {
@apply opacity-100 pointer-events-auto border;
animation: panelShowing .1s ease;
border-color: var(--border);
background-color: var(--primary);
}
.dark .ce-inline-tool:hover,
.dark .ce-inline-toolbar__dropdown:hover,
.dark .ce-toolbar__plus:hover,
.dark .ce-toolbar__settings-btn:hover,
.dark .ce-conversion-tool:hover,
.dark .ce-popover-item:hover {
background-color: var(--selected);
}
.dark *::selection,
.dark .ce-block.ce-block--selected .ce-block__content {
background-color: var(--selected);
}
.dark .ce-popover__items {
scrollbar-color: var(--border) var(--main);
}
/* table class wrapper */
.dark .tc-wrap,
.dark .tc-wrap * {
--color-border: var(--border);
--color-text-secondary: var(--text);
--color-background: var(--selected);
--toggler-dots-color: var(--selected);
--toggler-dots-color-hovered: var(--text);
}
@media (max-width: 650px) {
.dark .ce-toolbar__settings-btn,
.dark .ce-toolbar__plus {
background-color: var(--primary);
border-color: var(--border);
box-shadow: 0 3px 15px -3px var(--border);
}
}