[ticket/11957] Responsive jQuery popups

PHPBB3-11957
This commit is contained in:
Vjacheslav Trushkin 2013-10-26 01:07:04 +03:00
parent 9a8b463c33
commit c23c64cb6d

View file

@ -1288,8 +1288,10 @@ input.button1:focus, input.button2:focus, input.button3:focus {
position: fixed; position: fixed;
display: none; display: none;
top: 150px; top: 150px;
left: 25%; left: 0;
width: 50%; right: 0;
max-width: 600px;
margin: 0 auto;
z-index: 50; z-index: 50;
padding: 25px; padding: 25px;
padding: 0 25px 20px 25px; padding: 0 25px 20px 25px;
@ -1345,6 +1347,21 @@ input.button1:focus, input.button2:focus, input.button3:focus {
opacity: 0.5; opacity: 0.5;
} }
@media only screen and (max-height: 500px), only screen and (max-device-width: 500px)
{
.phpbb_alert {
top: 25px;
}
}
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
{
.phpbb_alert {
max-width: none;
margin: 0 25px;
}
}
/* Pagination /* Pagination
---------------------------------------- */ ---------------------------------------- */
.pagination { .pagination {