-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhome.css
97 lines (89 loc) · 1.51 KB
/
home.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
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;
}
nav {
display: flex;
justify-content: stretch;
align-items: stretch;
border-bottom: 1px solid #222;
padding: 4px 0;
background: rgb(53, 54, 58);
color: rgb(241, 243, 244);
}
ul {
list-style: none;
display: flex;
justify-content: stretch;
align-items: stretch;
margin: 0 6px;
padding: 0;
}
li {
display: flex;
justify-content: stretch;
align-items: stretch;
}
nav button {
display: flex;
justify-content: center;
align-items: center;
width: 28px;
height: 28px;
background: none;
border-radius: 50%;
margin: 0 2px;
border: 0;
padding: 0;
color: inherit;
transition: background-color .2s;
outline: none;
}
nav button:hover,
nav button:focus {
background: #ffffff22;
}
nav button:active {
background: #ffffff55;
}
#url-bar {
flex-grow: 1;
display: flex;
justify-content: left;
align-items: center;
background: rgb(32, 33, 36);
border-radius: 14px;
margin: 0 5px 0 0;
padding: 0 14px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
outline: none;
}
#url-bar:focus {
background: #111;
}
#url-bar-protocol,
#url-bar-host,
#url-bar-path {
display: contents;
}
#url-bar-protocol,
#url-bar-path {
color: rgb(144, 145, 146);
}
webview {
flex-grow: 1;
display: flex;
width: 100%;
user-select: none;
}