From e97b0e16e0090f81fa1711f70bb1e72a4a6b997f Mon Sep 17 00:00:00 2001 From: Crizz0 Date: Sun, 2 Feb 2014 15:12:18 +0100 Subject: [PATCH 1/4] [ticket/12126] Fixed position of alert box in IE PHPBB3-12126 --- phpBB/styles/prosilver/theme/common.css | 13 +++++-------- phpBB/styles/prosilver/theme/responsive.css | 4 +++- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 84f6859936..109e97d4d9 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -812,16 +812,13 @@ li.pagination ul { ---------------------------------------- */ .phpbb_alert { border: 1px solid transparent; - position: fixed; display: none; - top: 150px; - left: 0; - right: 0; - max-width: 640px; - margin: 0 auto; - z-index: 50; - padding: 25px; + left: 25%; padding: 0 25px 20px 25px; + position: fixed; + right: 25%; + top: 150px; + z-index: 50; } @media only screen and (max-height: 500px), only screen and (max-device-width: 500px) diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index a6bc52db52..36511e79aa 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -495,8 +495,10 @@ fieldset.display-actions { } .phpbb_alert { + left: 0; max-width: none; - margin: 0 25px; + margin: 0 5px; + right: 0; } .attach-comment dfn { From f997d98a2a7b681d08fa6c43ef8431fa335c9ca4 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Sun, 2 Mar 2014 18:43:31 +0100 Subject: [PATCH 2/4] [ticket/12126] Changed .phpbb_alert "max-width: 640px" to "width: 620px" PHPBB3-12126 --- phpBB/adm/style/admin.css | 2 +- phpBB/styles/prosilver/theme/common.css | 1 + phpBB/styles/prosilver/theme/responsive.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 3c7e378b2b..e60e802eb9 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -1572,7 +1572,7 @@ input.button1:focus, input.button2:focus, input.button3:focus { top: 150px; left: 0; right: 0; - max-width: 600px; + width: 620px; margin: 0 auto; z-index: 50; padding: 25px; diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 109e97d4d9..c42183f0b0 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -819,6 +819,7 @@ li.pagination ul { right: 25%; top: 150px; z-index: 50; + width: 620px; } @media only screen and (max-height: 500px), only screen and (max-device-width: 500px) diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index 36511e79aa..8c05a8b3d8 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -496,7 +496,7 @@ fieldset.display-actions { .phpbb_alert { left: 0; - max-width: none; + width: auto; margin: 0 5px; right: 0; } From 50e4cac5dec183a81ba914c65c2f780485befd21 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Sun, 2 Mar 2014 22:41:38 +0100 Subject: [PATCH 3/4] [ticket/12126] left:0 and right: 0; admin.css --> width: auto PHPBB3-12126 --- phpBB/adm/style/admin.css | 2 +- phpBB/styles/prosilver/theme/common.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index e60e802eb9..7ef74e4db0 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -1642,7 +1642,7 @@ input.button1:focus, input.button2:focus, input.button3:focus { @media only screen and (max-width: 700px), only screen and (max-device-width: 700px) { .phpbb_alert { - max-width: none; + width: auto; margin: 0 25px; } } diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index c42183f0b0..d19b967771 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -813,13 +813,14 @@ li.pagination ul { .phpbb_alert { border: 1px solid transparent; display: none; - left: 25%; + left: 0; padding: 0 25px 20px 25px; position: fixed; - right: 25%; + right: 0; top: 150px; z-index: 50; width: 620px; + margin: 0 auto; } @media only screen and (max-height: 500px), only screen and (max-device-width: 500px) From 8db5db64c99eab1378cea0cb2e4ff9a0f6155cc9 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Sun, 2 Mar 2014 23:13:45 +0100 Subject: [PATCH 4/4] [ticket/12126] deleted left:0 and right:0 in responsive.css .phpbb_alert PHPBB3-12126 --- phpBB/styles/prosilver/theme/responsive.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index 8c05a8b3d8..7e4caf5301 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -495,10 +495,8 @@ fieldset.display-actions { } .phpbb_alert { - left: 0; width: auto; margin: 0 5px; - right: 0; } .attach-comment dfn {