Fix RTL issues with the search and donate icons

This commit is contained in:
Tom Hughes 2012-10-26 21:51:26 +01:00
parent 95fa893163
commit 577b5d5bb8
3 changed files with 39 additions and 10 deletions

View file

@ -231,7 +231,6 @@ h2 {
#search_field input[type="text"] {
width: 165px;
padding: 2px 0 2px 5px;
font-size: 14px;
line-height: 15px;
height: 25px;
@ -250,21 +249,20 @@ h2 {
#search_field input[type="submit"] {
width: 15px;
height: 15px;
border:0;
text-indent:-1000px;
border: 0px;
text-indent: -1000px;
overflow: hidden;
text-transform: capitalize;
padding-left: 0px;
padding-right: 0px;
background: url(sprite.png);
position:absolute;
right:4px;
top:5px;
cursor:pointer;
position: absolute;
top: 5px;
cursor: pointer;
}
.search_help {
margin:5px 0 0 0;
margin: 5px 0 0 0;
}
.deemphasize {
@ -311,7 +309,6 @@ h2 {
padding-right: 0px;
background: url(sprite.png) 0 -30px no-repeat;
position: absolute;
left: 17px;
top: 8px;
}

View file

@ -31,7 +31,7 @@ html body {
/*
* Rules for "optional boxes" which appear in the left sidebar on
* certain pages. Current users are the seach box on the main page
* certain pages. Current users are the search box on the main page
* and the tag cloud on the traces pages.
*/
@ -40,6 +40,22 @@ html body {
text-align: left;
}
/* Rules for the search box */
#search_field input[type="text"] {
padding: 2px 0px 2px 5px;
}
#search_field input[type="submit"] {
right: 4px;
}
/* Rules for donation request box */
.donate .donate-icon {
left: 17px;
}
/* Rules for tabbed navigation bar */
#top-bar {

View file

@ -40,6 +40,22 @@ html body {
text-align: right;
}
/* Rules for the search box */
#search_field input[type="text"] {
padding: 2px 5px 2px 0px;
}
#search_field input[type="submit"] {
left: 4px;
}
/* Rules for donation request box */
.donate .donate-icon {
right: 17px;
}
/* Rules for tabbed navigation bar */
#top-bar {