-
Notifications
You must be signed in to change notification settings - Fork 28
/
fb-menu.css
298 lines (283 loc) · 8.07 KB
/
fb-menu.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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
* {
margin: 0; padding: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
html {
overflow: hidden;
font-family: Helvetica;
font-size: 100%;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
}
body {
font-family: Helvetica, sans-serif;
margin: 0; font-size: 13px; line-height: 1.231;
}
#viewport {
background-color: #32394A;
}
#close-mask {
display: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
background-color: transparent;
}
body.menu-open #close-mask {
display: block;
}
#page {
position: relative;
z-index: 2;
min-width: 320px;
background-color: #fff;
-webkit-transition-property: -webkit-transform;
-webkit-transform: translate3d(0, 0, 0);
}
body.menu-opening #page,
body.menu-closing #page {
-webkit-transition-duration: 200ms;
-webkit-transition-timing-function: ease-in;
}
body.menu-moving #page {
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-user-select: none;
}
#page > header {
height: 43px;
line-height: 43px;
background: -webkit-gradient( linear, left top, left bottom, from(#738ABA), to(#2C4987) );
background: -moz-linear-gradient(top, #738ABA 0%, #2C4987 100%);
border-color: #111A33;
box-shadow: inset 0 1px 1px -1px white, 0 1px 5px rgba(0,0,0,.5);
-webkit-box-shadow: inset 0 1px 1px -1px white, 0 1px 5px rgba(0,0,0,.5);
-webkit-transition: left 200ms ease-in;
-moz-transition: left 200ms ease-in;
}
#page > header .trigger {
position: absolute;
z-index: 2;
top: 11px;
left: 14px;
display: block;
width: 24px;
height: 21px;
background: transparent url(https://s-static.ak.facebook.com/rsrc.php/v1/y8/r/NwLTcDwF0zP.png) no-repeat;
}
#page > header .icons {
position: absolute;
left: 50%;
margin-left: -72px;
top: 9px;
}
#page > header .icons > span {
display: inline-block;
padding: 0 8px;
}
#page .story {
position: relative;
padding: 7px;
border-top: 1px solid #E9E9E9;
background-color: #fff;
}
#page .story > img {
position: absolute;
}
#page .story .contents {
margin-left: 50px;
}
#page .story .contents .name {
font-size: 14px;
color: #3B5998;
text-decoration: none;
}
#page .story .contents .actions {
color: gray;
margin: 6px 25px 3px 0;
font-size: 12px;
line-height: 15px;
}
#page .story .contents .meta {
position: relative;
margin-top: 12px;
padding: 4px 0 4px 9px;
background: #EDEFF4;
border-bottom: 1px solid #E5EAF1;
border-top: 1px solid #EDEFF4;
font-weight: bold;
color: #3B5998;
}
#page .story .contents .meta::after {
content: "";
position: absolute;
top: -8px;
left: 10px;
border-style: solid;
border-width: 0 8px 8px;
border-color: #EDEFF4 transparent;
display: block;
width: 0;
}
#page .story .contents .meta span {
padding-right: 10px;
}
#page .story .contents .meta span img {
vertical-align: text-bottom;
}
#composer {
display: -webkit-box;
display: -moz-box;
display: box;
box-orient: horizontal;
-moz-box-orient: horizontal;
padding: 7px 4px;
background-color: #F2F2F2;
border-bottom: 1px solid #CCC;
}
#composer button {
display: block;
margin: 0 4px;
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #505C77;
text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
border: 1px solid;
border-color: #9599A1 #A8ABB4 #ACB1BB;
-webkit-box-shadow: inset 0 1px 1px rgba(43, 48, 60, .18), 0 1px 0 white;
box-shadow: inset 0 1px 1px rgba(43, 48, 60, .18), 0 1px 0 white;
background: -webkit-gradient( linear, left top, left bottom, from(#FDFEFE), to(#F0F1F2) );
background: -moz-linear-gradient(top, #FDFEFE 0%, #F0F1F2 100%);
-webkit-background-clip: padding-box;
font-weight: bold;
font-size: 12px;
line-height: 27px;
min-width: 50px;
}
#composer button img {
position: relative;
top: -2px;
display: inline-block;
margin-right: 1px;
vertical-align: text-top;
}
#menu {
position: fixed;
width: 260px;
top: 0;
left: 0;
}
body.menu-open #menu {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
#menu > header {
padding: 0 8px;
width: 260px;
height: 43px;
background-image: -webkit-gradient( linear, left top, left bottom, from(#434B5B), to(#242B39));
background-image: -moz-linear-gradient(top, #434B5B 0%, #242B39 100%);
border-bottom: 1px solid #000;
border-top: 1px solid #5F6673;
color: #fff;
}
#menu #search {
position: relative;
top: 6px;
width: 100%;
padding: 2px 8px 0 10px;
background: -webkit-gradient( linear, 0 0, 0 100%, from(#414A5A), to(#4C5464));
background: -moz-linear-gradient(top, #414A5A 0%, #4C5464 100%);
color: #AAB2C0;
border: 1px solid #222936;
border-radius: 15px;
-webkit-border-radius: 15px;
box-shadow: inset 0 1px 2px -1px rgba(0, 0, 0, .5), 0 1px 2px -1px rgba(255, 255, 255, .4);
-webkit-box-shadow: inset 0 1px 2px -1px rgba(0, 0, 0, .5), 0 1px 2px -1px rgba(255, 255, 255, .4);
height: 27px;
outline: none;
font-size: 13px;
font-weight: bold;
}
#menu #search::-webkit-input-placeholder {
color: #AAB2C0;
font-weight: normal;
}
#menu #search::input-placeholder {
color: #AAB2C0;
font-weight: normal;
}
#menu .separator {
background: #434B5C;
background: -webkit-gradient( linear, left top, left bottom, from(#434B5C), to(#394152) );
background: -moz-linear-gradient(top, #434B5C 0%, #394152 100%);
border-bottom: 1px solid #242A37;
border-top: none;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
color: #7A8292;
padding: 4px 0 4px 8px;
text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
}
#menu li {
position: relative;
display: block;
list-style: none;
min-height: 43px;
line-height: 40px;
padding: 3px 0 3px 8px;
background-color: #32394A;
border-bottom: 1px solid #242A37;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
font-size: 16px;
color: #C4CCDA;
text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
}
#menu .active {
background-color: #262C3A;
}
#menu li img {
vertical-align: middle;
display: block;
float: left;
margin: 4px 5px 0 0;
}
#menu li .count {
position: absolute;
right: 10px;
top: 15px;
background: #3E485E;
background: -webkit-gradient( linear, left top, left bottom, color-stop(0, #3E485E), color-stop(1, #323A4D));
background: -moz-linear-gradient( left top, left bottom, color-stop(0, #3E485E), color-stop(1, #323A4D));
border-top: 1px solid #505A63;
box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
color: #BFC5D2;
padding: 1px 3px 3px 4px;
display: inline-block;
line-height: 12px;
min-width: 11px;
text-align: center;
font-weight: bold;
font-size: 12px;
text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
}
#menu li#copy {
padding: 10px 8px;
font-size: 14px;
line-height: 18px;
}
#menu li#copy p {
font-weight: 100;
}