From 42afa369a085461311b91065478fa37bfc9b65b5 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Tue, 8 Jul 2014 06:31:59 -0700 Subject: [PATCH 1/3] [ticket/12809] Fix select button and dropdown list items in RTL. PHPBB3-12809 --- phpBB/styles/prosilver/theme/bidi.css | 30 +++++++++++++++------------ 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/phpBB/styles/prosilver/theme/bidi.css b/phpBB/styles/prosilver/theme/bidi.css index d3594cc5bd..0563588712 100644 --- a/phpBB/styles/prosilver/theme/bidi.css +++ b/phpBB/styles/prosilver/theme/bidi.css @@ -112,6 +112,15 @@ text-align: right; } +.rtl .dropdown-contents > li { + padding-left: 15px; + padding-right: 0; +} + +.rtl .dropdown-nonscroll > li { + padding-left: 0; +} + .rtl .dropdown li li { padding-left: 0; padding-right: 18px; @@ -601,8 +610,8 @@ li.breadcrumbs span:first-child > a { /* Rollover buttons Based on: http://wellstyled.com/css-nopreload-rollovers.html ----------------------------------------*/ -.rtl .icon-button.dropdown-select { - padding-left: 26px; +.rtl .dropdown-select { + padding-left: 24px; padding-right: 8px; } @@ -612,7 +621,12 @@ li.breadcrumbs span:first-child > a { margin-right: 2px; } -.dropdown-select:after { +.rtl .dropdown-select.icon-button:before { + margin-left: 4px; + margin-right: 0; +} + +.rtl .dropdown-select:after { border-left: 0; border-right-style: solid; border-right-width: 1px; @@ -915,16 +929,6 @@ li.breadcrumbs span:first-child > a { float: left; } -/* Jumpbox */ -.rtl fieldset.jumpbox { - text-align: left; -} - -.rtl fieldset.quickmod { - float: left; - text-align: left; -} - /* Posting page styles ----------------------------------------*/ From cf4fb734406da009bcb4dc31c8805716371f7bd5 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Tue, 8 Jul 2014 06:39:14 -0700 Subject: [PATCH 2/3] [ticket/12809] Remove obsolete rules and selector. PHPBB3-12809 --- phpBB/styles/prosilver/theme/colours.css | 2 +- phpBB/styles/prosilver/theme/responsive.css | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css index 82542c8d86..df27467cf8 100644 --- a/phpBB/styles/prosilver/theme/colours.css +++ b/phpBB/styles/prosilver/theme/colours.css @@ -610,7 +610,7 @@ Colours and backgrounds for buttons.css color: #D31141; } -.dropdown-select, .dropdown-select:visited { +.dropdown-select { color: #536482; } diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index 241b4d132e..a297b4691a 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -460,12 +460,6 @@ p.rightside { margin-bottom: 0; } -fieldset.quickmod { - width: auto; - float: none; - text-align: center; -} - fieldset.display-options label { display: block; clear: both; @@ -503,10 +497,6 @@ fieldset.display-actions { margin: 0; } - .action-bar > .pagination, fieldset.jumpbox { - text-align: center; - } - .action-bar > .pagination { float: none; clear: both; From 742133f6dccdcb14106497f4a96e372eb4815bab Mon Sep 17 00:00:00 2001 From: Cesar G Date: Tue, 8 Jul 2014 06:53:13 -0700 Subject: [PATCH 3/3] [ticket/12809] Restore text-align for the pagination. PHPBB3-12809 --- phpBB/styles/prosilver/theme/responsive.css | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index a297b4691a..8afdce17aa 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -501,6 +501,7 @@ fieldset.display-actions { float: none; clear: both; padding-bottom: 1px; + text-align: center; } .action-bar > .pagination li.page-jump {