forked from terkelg/ramme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
browser.css
238 lines (202 loc) · 3.73 KB
/
browser.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
/**
* Utils
*/
/* Scrollbar - currently hidden */
::-webkit-scrollbar {
width: 2px;
display: none;
}
::-webkit-scrollbar-track { background-color: #fafafa; }
::-webkit-scrollbar-thumb { background-color: #000; }
/* remove focus glow */
* { outline: none; }
html {
cursor: default!important;
}
/* force a scrollbar on Linux and Windows to prevent jumping when changing tabs */
html.os-linux,
html.os-win32 {
overflow-y: scroll!important;
}
.logged-in main {}
/* Hide 'Open in app' popup */
._28zbs._nqfwp {
display: none;
}
/* Hide 'Open in app' button */
._28zbs._nl1vc {
display: none;
}
/* Hide footer */
footer._oofbn {
display: none;
}
/**
* Sidebar
*/
/* Make room for sidebar */
.logged-in #react-root main._1wptv {
margin-left: 80px;
}
/* Add sidebar */
#react-root ._onabe._kjy2s {
background-color: #fafafa;
position: fixed;
left: 0;
width: 80px;
height: 100%;
border-right: 1px solid rgba(0,0,0,.08);
will-change: left, top;
display: block;
}
/* Make sidebar dragable */
#react-root,
#react-root > section,
#react-root > section > nav {
-webkit-user-select: none;
-webkit-app-region: drag;
}
#react-root > section > main {
-webkit-app-region: no-drag;
}
/* Remove sidebar border, and position */
#react-root ._bfc7q {
position: absolute;
border: none;
}
/* Icons list */
#react-root ._n7q2c {
-webkit-app-region: drag;
margin-top: 80px;
flex-direction: column;
}
/* remove margin from win and linux */
html.os-linux #react-root ._n7q2c,
html.os-win32 #react-root ._n7q2c {
margin-top: 50px;
}
/* Icon Item */
#react-root ._r1svv {
width: 100%;
height: 40px;
margin: 20px 0;
}
/**
* Back Button
**/
.back-btn {
position: fixed;
width: 78px;
left: 0px;
top: 35px;
border-top: 1px solid rgba(0, 0, 0, 0.0784314);
border-bottom: 1px solid rgba(0, 0, 0, 0.0784314);
padding: 15px 0;
}
html.os-linux .back-btn,
html.os-win32 .back-btn { top: 0; }
.back-btn a {
width: 24px;
height: 18px;
display: block;
margin: 0 auto;
cursor: pointer;
}
.back-btn.inactive a { cursor: default; }
.back-btn svg { fill: #000; }
.back-btn.inactive svg { fill: rgba(0, 0, 0, 0.0784314); }
/**
* Login Screen
*/
.not-logged-in body {
overflow: hidden;
}
/* Hide mobile banners */
#react-root ._okmo7,
#react-root ._m8ogu {
display: none;
}
/* Sign in text */
#react-root ._9qbcz {
display: none;
}
/* Hide sign in form elements */
#react-root ._r48rb,
#react-root ._rpioj,
#react-root ._djahe {
display: none;
}
/* Hide sign-up button */
#react-root ._3bqd5 div:last-of-type,
#react-root ._3bqd5 ._nvyyp:last-of-type {
display: none;
}
/* Center login */
#react-root ._p8ymb {
max-width: 350px;
justify-content: center;
margin: 0!important;
height: 100vh;
}
/* Hide forgot password link */
#react-root ._j4ox0 {
display: none;
}
/* Login */
._du7bh {
margin: 0 auto 10px;
}
/* Remove margin from login box */
#react-root ._60k3m {
margin-top: 0;
}
/* Facebook BTN */
#react-root ._56wku {
margin: 0;
}
/* Login Button */
#react-root ._dyp7q {
margin: 0;
visibility: hidden; /* Hide text node */
}
/* Login go back */
#react-root ._fcn8k {
visibility: visible;
}
#react-root ._fcn8k.goback {
margin: 0 auto;
display: block;
color: #dbdbdb;
width: 100px;
}
#react-root ._fcn8k:not(.goback) {
color: #fff;
background: #3897f0;
border-color: #3897f0;
line-height: 29px;
padding: 0 11px;
font-size: 14px;
display: block;
border-radius: 3px;
font-weight: 600;
max-width: 246px;
margin: 0 auto;
}
/* Remove border */
#react-root ._nvyyp {
border: none;
padding: 0;
margin: -10px 0 0 0;
}
/* Hide facebook cookie notice */
#header-notices {
display: none;
}
/**
* Edit profile page
*/
/* container */
#react-root ._40h7m {
border: none;
margin: 0;
}