-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
62 lines (53 loc) · 1.88 KB
/
index.css
File metadata and controls
62 lines (53 loc) · 1.88 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
/* 自动隐藏面包屑 */
.fn__flex-column.body--window.body--win32:has(>.toolbar__window) div[data-type="wnd"] .protyle-breadcrumb {
height: 38px;
margin: 7px 7px -38px 7px;
opacity: 0;
transition: all 300ms;
transform: translateY(-24px);
z-index: 8;
transition-delay: 500ms;
border-radius: 8px;
box-shadow: 0 4px 9px rgba(0, 0, 0, .05), 0 1.5px 2.8px rgba(0, 0, 0, .07), 0 0.3px 0.7px rgba(0, 0, 0, .12);
}
.fn__flex-column.body--window.body--win32:has(>.toolbar__window) div[data-type="wnd"] .protyle-breadcrumb:hover {
opacity: 1;
z-index: 600;
transform: translateY(2px);
transition: all 300ms;
background: var(--b3-toolbar-blur-background);
}
/* 自动隐藏右上角窗口按钮 */
.fn__flex-column.body--window.body--win32>.toolbar__window {
opacity: 0;
transition: all 800ms;
}
.fn__flex-column.body--window.body--win32>.toolbar__window:hover {
opacity: 1;
transition: all 800ms;
}
/* 编辑区上移 */
.fn__flex-column.body--window.body--win32:has(>.toolbar__window) div[data-type="wnd"]>.layout-tab-container {
margin-top: -45px;
}
/* 隐藏tab栏 */
.fn__flex-column.body--window.body--win32:has(>.toolbar__window) div[data-type="wnd"]>:first-child {
opacity: 0;
}
/* 隐藏底部状态条 */
.fn__flex-column.body--window.body--win32:has(>.toolbar__window)>#status {
display: none;
}
/* 修复 savor 主题鼠标点不到右侧滚动条bug */
.fn__flex-column.body--window.body--win32:has(>.toolbar__window) #layouts {
margin-right: 2px;
}
/* 隐藏顶部“新建文档”和“页签切换”按钮 */
.fn__flex-column.body--window.body--win32:has(>.toolbar__window) span[data-type="new"],
.fn__flex-column.body--window.body--win32:has(>.toolbar__window) span[data-type="more"] {
display: none;
}
/* 隐藏添加标签、添加图标、添加题头图按钮 */
.fn__flex-column.body--window.body--win32:has(>.toolbar__window) .protyle-background__action {
display: none;
}