-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
detail.css
82 lines (77 loc) · 1.41 KB
/
detail.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
html {
height: 100%;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
background: rgb(53, 54, 58);
}
body {
display: flex;
flex-direction: column;
justify-content: stretch;
height: 100%;
margin: 0;
background: rgb(53, 54, 58);
}
body.resizing::before {
content: '';
position: fixed;
z-index: 2;
width: 100%;
height: 100%;
box-shadow: #ff000077 0 0 0px 1px inset;
pointer-events: none;
}
nav {
position: fixed;
width: 100%;
height: 26px;
display: flex;
justify-content: stretch;
align-items: stretch;
border-bottom: 1px solid #222;
padding: 0;
background: rgb(32, 33, 36);
color: rgb(241, 243, 244);
opacity: 1;
transition: opacity .2s;
}
body.nav-hidden nav {
opacity: 0;
/* pointer-events: none; */
}
#title-bar {
flex-grow: 1;
padding: 0px 5px;
display: flex;
justify-content: left;
align-items: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
body:not(.nav-hidden) #title-bar {
-webkit-app-select: none; /* <-- Add this line */
-webkit-app-region: drag; /* <-- Add this line */
}
#close-btn {
background: none;
width: 40px;
border: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
color: inherit;
outline: none;
user-select: none;
}
#close-btn:hover,
#close-btn:focus {
background: #d22;
}
webview {
flex-grow: 1;
display: flex;
width: 100%;
user-select: none;
}