Merge pull request #2714 from prototech/ticket/12809

[ticket/12809] Fix select button and dropdown list items in RTL.
This commit is contained in:
Marc Alexander 2014-08-10 17:00:19 +02:00
commit 2a5eca0391
3 changed files with 19 additions and 24 deletions

View file

@ -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
----------------------------------------*/

View file

@ -610,7 +610,7 @@ Colours and backgrounds for buttons.css
color: #D31141;
}
.dropdown-select, .dropdown-select:visited {
.dropdown-select {
color: #536482;
}

View file

@ -466,12 +466,6 @@ p.rightside {
margin-bottom: 0;
}
fieldset.quickmod {
width: auto;
float: none;
text-align: center;
}
fieldset.display-options label {
display: block;
clear: both;
@ -509,14 +503,11 @@ fieldset.display-actions {
margin: 0;
}
.action-bar > .pagination, fieldset.jumpbox {
text-align: center;
}
.action-bar > .pagination {
float: none;
clear: both;
padding-bottom: 1px;
text-align: center;
}
.action-bar > .pagination li.page-jump {