Skip to content

Commit 78ef2a2

Browse files
committed
Merge pull request i8ramin#2 from jpbellona/master
CSS change for Firefox browser
2 parents edac411 + dfd5c4d commit 78ef2a2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

fb-menu.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
margin: 0; padding: 0;
33
box-sizing: border-box;
44
-webkit-box-sizing: border-box;
5+
-moz-box-sizing: border-box;
56
}
67

78
html {
89
overflow: hidden;
910
font-family: Helvetica;
1011
font-size: 100%;
1112
-webkit-text-size-adjust: 100%;
13+
-moz-text-size-adjust: 100%;
1214
}
1315
body {
1416
font-family: Helvetica, sans-serif;
@@ -18,6 +20,7 @@ body {
1820
body.menu-open #page {
1921
position: fixed;
2022
-webkit-transform: translate3d(260px, 0, 0);
23+
-moz-transform: translate3d(260px, 0, 0);
2124
}
2225

2326
#close-mask {
@@ -38,14 +41,18 @@ body.menu-open #page {
3841
min-width: 320px;
3942
background-color: #fff;
4043
-webkit-transition: -webkit-transform 200ms ease-in;
44+
-moz-transition: -moz-transform 200ms ease-in;
4145
}
4246
#page > header {
4347
height: 43px;
4448
line-height: 43px;
4549
background: -webkit-gradient( linear, left top, left bottom, from(#738ABA), to(#2C4987) );
50+
background: -moz-linear-gradient(top, #738ABA 0%, #2C4987 100%);
4651
border-color: #111A33;
52+
box-shadow: inset 0 1px 1px -1px white, 0 1px 5px rgba(0,0,0,.5);
4753
-webkit-box-shadow: inset 0 1px 1px -1px white, 0 1px 5px rgba(0,0,0,.5);
4854
-webkit-transition: left 200ms ease-in;
55+
-moz-transition: left 200ms ease-in;
4956
}
5057
#page > header .trigger {
5158
position: absolute;
@@ -121,8 +128,10 @@ body.menu-open #page {
121128

122129
#composer {
123130
display: -webkit-box;
131+
display: -moz-box;
124132
display: box;
125133
box-orient: horizontal;
134+
-moz-box-orient: horizontal;
126135
padding: 7px 4px;
127136
background-color: #F2F2F2;
128137
border-bottom: 1px solid #CCC;
@@ -131,6 +140,7 @@ body.menu-open #page {
131140
display: block;
132141
margin: 0 4px;
133142
-webkit-box-flex: 1;
143+
-moz-box-flex: 1;
134144
box-flex: 1;
135145
-webkit-border-radius: 3px;
136146
border-radius: 3px;
@@ -139,7 +149,9 @@ body.menu-open #page {
139149
border: 1px solid;
140150
border-color: #9599A1 #A8ABB4 #ACB1BB;
141151
-webkit-box-shadow: inset 0 1px 1px rgba(43, 48, 60, .18), 0 1px 0 white;
152+
box-shadow: inset 0 1px 1px rgba(43, 48, 60, .18), 0 1px 0 white;
142153
background: -webkit-gradient( linear, left top, left bottom, from(#FDFEFE), to(#F0F1F2) );
154+
background: -moz-linear-gradient(top, #FDFEFE 0%, #F0F1F2 100%);
143155
-webkit-background-clip: padding-box;
144156
font-weight: bold;
145157
font-size: 12px;
@@ -166,6 +178,7 @@ body.menu-open #page {
166178
width: 260px;
167179
height: 43px;
168180
background-image: -webkit-gradient( linear, left top, left bottom, from(#434B5B), to(#242B39));
181+
background-image: -moz-linear-gradient(top, #434B5B 0%, #242B39 100%);
169182
border-bottom: 1px solid #000;
170183
border-top: 1px solid #5F6673;
171184
color: #fff;
@@ -177,9 +190,12 @@ body.menu-open #page {
177190
width: 100%;
178191
padding: 2px 8px 0 10px;
179192
background: -webkit-gradient( linear, 0 0, 0 100%, from(#414A5A), to(#4C5464));
193+
background: -moz-linear-gradient(top, #414A5A 0%, #4C5464 100%);
180194
color: #AAB2C0;
181195
border: 1px solid #222936;
196+
border-radius: 15px;
182197
-webkit-border-radius: 15px;
198+
box-shadow: inset 0 1px 2px -1px rgba(0, 0, 0, .5), 0 1px 2px -1px rgba(255, 255, 255, .4);
183199
-webkit-box-shadow: inset 0 1px 2px -1px rgba(0, 0, 0, .5), 0 1px 2px -1px rgba(255, 255, 255, .4);
184200
height: 27px;
185201
outline: none;
@@ -190,6 +206,10 @@ body.menu-open #page {
190206
color: #AAB2C0;
191207
font-weight: normal;
192208
}
209+
#menu #search::input-placeholder {
210+
color: #AAB2C0;
211+
font-weight: normal;
212+
}
193213

194214
#menu .scrollable {
195215
position: absolute;
@@ -201,8 +221,10 @@ body.menu-open #page {
201221
#menu .separator {
202222
background: #434B5C;
203223
background: -webkit-gradient( linear, left top, left bottom, from(#434B5C), to(#394152) );
224+
background: -moz-linear-gradient(top, #434B5C 0%, #394152 100%);
204225
border-bottom: 1px solid #242A37;
205226
border-top: none;
227+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
206228
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
207229
color: #7A8292;
208230
padding: 4px 0 4px 8px;
@@ -220,6 +242,7 @@ body.menu-open #page {
220242
padding: 3px 0 3px 8px;
221243
background-color: #32394A;
222244
border-bottom: 1px solid #242A37;
245+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
223246
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
224247
font-size: 16px;
225248
color: #C4CCDA;
@@ -240,7 +263,9 @@ body.menu-open #page {
240263
top: 15px;
241264
background: #3E485E;
242265
background: -webkit-gradient( linear, left top, left bottom, color-stop(0, #3E485E), color-stop(1, #323A4D));
266+
background: -moz-linear-gradient( left top, left bottom, color-stop(0, #3E485E), color-stop(1, #323A4D));
243267
border-top: 1px solid #505A63;
268+
box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
244269
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
245270
color: #BFC5D2;
246271
padding: 1px 3px 3px 4px;

0 commit comments

Comments
 (0)