Change options centering CSS, should fix Opera.

This commit is contained in:
Nicolas Stepien 2011-06-25 13:33:14 +02:00
parent d53de5d1cc
commit b1db8b6282
2 changed files with 12 additions and 26 deletions

View File

@ -2856,27 +2856,20 @@
}\ }\
\ \
#overlay {\ #overlay {\
display: table;\
position: fixed;\ position: fixed;\
top: 0;\ top: 0;\
right: 0;\
bottom: 0;\
left: 0;\ left: 0;\
height: 100%;\
width: 100%;\
background: rgba(0,0,0,.5);\ background: rgba(0,0,0,.5);\
}\ }\
#options {\ #options {\
height: 100%;\ display: table-cell;\
width: 100%;\ vertical-align: middle;\
display: -webkit-box;\
display: -moz-box;\
display: box;\
-webkit-box-align: center;\
-moz-box-align: center;\
box-align: center;\
-webkit-box-pack: center;\
-moz-box-pack: center;\
box-pack: center;\
}\ }\
#options .dialog {\ #options .dialog {\
margin: auto;\
padding: 5px;\ padding: 5px;\
width: 500px;\ width: 500px;\
}\ }\

View File

@ -2258,27 +2258,20 @@ main =
} }
#overlay { #overlay {
display: table;
position: fixed; position: fixed;
top: 0; top: 0;
right: 0;
bottom: 0;
left: 0; left: 0;
height: 100%;
width: 100%;
background: rgba(0,0,0,.5); background: rgba(0,0,0,.5);
} }
#options { #options {
height: 100%; display: table-cell;
width: 100%; vertical-align: middle;
display: -webkit-box;
display: -moz-box;
display: box;
-webkit-box-align: center;
-moz-box-align: center;
box-align: center;
-webkit-box-pack: center;
-moz-box-pack: center;
box-pack: center;
} }
#options .dialog { #options .dialog {
margin: auto;
padding: 5px; padding: 5px;
width: 500px; width: 500px;
} }