-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathSheetsPlus - Darkmode.css
100 lines (86 loc) · 1.75 KB
/
SheetsPlus - Darkmode.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
/*
Sheets Plus - Dark mode
https://github.com/replete/obsidian-minimal-theme-css-snippets
*/
[data-type=excel-pro-view] {
/* compact mode bonus */
.my-univer {
border:0;
}
.view-content {
padding:0 !important;
padding-bottom:32px !important; /* accomodate floating statusbar */
}
}
.theme-dark [data-type=excel-pro-view] {
/* &::after {
content:'';
width:100%;
height:100%;
display:block;
background:var(--bg2);
position: absolute;
z-index:20;
user-select:none;
pointer-events:none;
opacity:0.2;
filter:saturate(2);
} */
/* Dark mode hack */
/* for the love of God, do not ever do something like this in production */
header,
footer {
filter: invert() contrast(0.78);
.univer-toolbar-item-select-arrow,
.univer-toolbar-item-select-button-arrow,
svg {
filter:brightness(.2);
}
.univer-toolbar-group::after {
filter:brightness(.8);
}
.univer-slide-tab-div {
/* border:1px solid black; */
border-bottom:0;
box-shadow: 0 -3px 8px -2px rgba(0,0,0,0.7);
}
.univer-sheet-container {
padding:0;
}
}
footer {
.univer-slider-handle {
filter:invert()
}
}
canvas[id^=univer-sheet-main-canvas] {
filter: invert() contrast(1.6);
}
.univer-workbench-container-canvas {
background:var(--bg1) !important;
}
[id=__INTERNAL_EDITOR__DOCS_NORMAL] {
canvas {
filter:invert();
}
}
}
.univer-dropdown {
filter: invert() contrast(.78);
.univer-toolbar-item-select-arrow,
.univer-toolbar-item-select-button-arrow,
svg {
filter:brightness(.2);
}
.univer-toolbar-group::after {
filter:brightness(.8);
}
.univer-slide-tab-div {
/* border:1px solid black; */
border-bottom:0;
box-shadow: 0 -3px 8px -2px rgba(0,0,0,0.7);
}
.univer-menu-item-content {
color:black;
}
}