[ticket/11956] Responsive AJAX alerts

PHPBB3-11956
This commit is contained in:
Vjacheslav Trushkin 2013-10-21 13:25:27 +03:00
parent 6a2fef97d5
commit 8c5101a729
2 changed files with 16 additions and 2 deletions

View file

@ -670,13 +670,22 @@ li.pagination ul {
position: fixed; position: fixed;
display: none; display: none;
top: 150px; top: 150px;
left: 25%; left: 0;
width: 50%; right: 0;
max-width: 640px;
margin: 0 auto;
z-index: 50; z-index: 50;
padding: 25px; padding: 25px;
padding: 0 25px 20px 25px; padding: 0 25px 20px 25px;
} }
@media only screen and (max-height: 500px), only screen and (max-device-width: 500px)
{
.phpbb_alert {
top: 25px;
}
}
.phpbb_alert .alert_close { .phpbb_alert .alert_close {
display: block; display: block;
float: right; float: right;

View file

@ -482,6 +482,11 @@ fieldset.display-actions {
white-space: normal; white-space: normal;
} }
.phpbb_alert {
max-width: none;
margin: 0 25px;
}
@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) @media only screen and (max-width: 500px), only screen and (max-device-width: 500px)
{ {
p.responsive-center { p.responsive-center {