Repository navigation
Expand file tree
/
Copy pathreader.css
More file actions
82 lines (70 loc) · 1.67 KB
/
Copy pathreader.css
File metadata and controls
82 lines (70 loc) · 1.67 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* Linux reader compatibility styles. */
@layer reader {
/* reader-layout */
.app[data-platform='linux'] {
font-family: system-ui, 'Ubuntu', 'Cantarell', 'Noto Sans', sans-serif;
--radius-xs: 6px;
--radius-sm: 8px;
--chrome-solid: #f6f5f4;
}
.desktop[data-platform='linux'] .toolbar {
padding-inline: 12px;
}
.desktop[data-platform='linux'] .toolbar .icon-button {
border-radius: 8px;
}
}
/* overlays */
.desktop[data-platform='linux'] .toolbar {
-webkit-app-region: drag;
grid-template-columns: max-content 36px minmax(0, 1fr) max-content;
}
.desktop[data-platform='linux'] .toolbar.has-document {
grid-template-columns: max-content 36px 36px minmax(0, 1fr) max-content;
}
.desktop[data-platform='linux'].immersive-header-hidden .toolbar {
visibility: hidden;
pointer-events: none;
-webkit-app-region: no-drag;
}
.linux-traffic-lights {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
margin-right: 4px;
-webkit-app-region: no-drag;
}
.linux-traffic-lights button {
display: flex;
align-items: center;
justify-content: center;
width: 14px;
height: 14px;
padding: 0;
border: 1px solid #0002;
border-radius: 50%;
color: #0009;
font: 12px/1 sans-serif;
cursor: default;
}
.linux-traffic-lights .close {
background: #ff5f57;
}
.linux-traffic-lights .minimize {
background: #febc2e;
}
.linux-traffic-lights .maximize {
background: #28c840;
}
.linux-traffic-lights span {
opacity: 0;
}
.linux-traffic-lights:hover span,
.linux-traffic-lights button:focus-visible span {
opacity: 1;
}
.linux-traffic-lights button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}