Index: trunk/extensions/MobileFrontend/stylesheets/common.css |
— | — | @@ -15,6 +15,11 @@ |
16 | 16 | display: none; |
17 | 17 | } |
18 | 18 | |
| 19 | +html[dir="rtl"] .clearlink { |
| 20 | + left: 0.25em; |
| 21 | + right: auto; |
| 22 | +} |
| 23 | + |
19 | 24 | #zero-rated-banner { |
20 | 25 | position: relative; |
21 | 26 | height: 20px; |
— | — | @@ -100,7 +105,6 @@ |
101 | 106 | margin: 0; |
102 | 107 | line-height: 1.8em; |
103 | 108 | padding: 0.01em 0.25em; |
104 | | - text-align: left; |
105 | 109 | postion: relative; |
106 | 110 | border-bottom: solid 1px #999999; |
107 | 111 | } |
— | — | @@ -173,6 +177,10 @@ |
174 | 178 | left: 53px; |
175 | 179 | } |
176 | 180 | |
| 181 | +html[dir="rtl"] #results { |
| 182 | + left: 41px; |
| 183 | +} |
| 184 | + |
177 | 185 | #search { |
178 | 186 | width: 90%; |
179 | 187 | -webkit-appearance: none; |
— | — | @@ -561,15 +569,23 @@ |
562 | 570 | -webkit-border-radius: 2px; |
563 | 571 | -moz-border-radius: 2px; |
564 | 572 | } |
565 | | - |
| 573 | + |
| 574 | +html[dir="rtl"] #searchbox { |
| 575 | + padding: 5px 44px 5px 32px |
| 576 | +} |
| 577 | + |
566 | 578 | #searchbox #form { |
567 | 579 | padding-right: 34px; |
568 | 580 | width: 100%; |
569 | 581 | } |
570 | 582 | |
| 583 | +html[dir="rtl"] #logo, |
571 | 584 | #goButton { |
572 | 585 | position: absolute; |
573 | 586 | right: 2px; |
| 587 | +} |
| 588 | + |
| 589 | +#goButton { |
574 | 590 | top: 2px; |
575 | 591 | border: 0; |
576 | 592 | background: url(images/s.gif) no-repeat top left; |
— | — | @@ -578,6 +594,11 @@ |
579 | 595 | width: 27px; |
580 | 596 | } |
581 | 597 | |
| 598 | +html[dir="rtl"] #goButton { |
| 599 | + right: auto; |
| 600 | + left: 2px; |
| 601 | +} |
| 602 | + |
582 | 603 | #searchbox a, |
583 | 604 | #searchbox img { |
584 | 605 | border: 0px; |
— | — | @@ -607,10 +628,19 @@ |
608 | 629 | float: left; |
609 | 630 | } |
610 | 631 | |
| 632 | +html[dir="rtl"] #nav { |
| 633 | + float: right; |
| 634 | +} |
| 635 | + |
611 | 636 | #languageselection { |
612 | 637 | margin-right: 35px; |
613 | 638 | } |
614 | 639 | |
| 640 | +html[dir="rtl"] #languageselection { |
| 641 | + margin-right: 0; |
| 642 | + margin-left: 35px; |
| 643 | +} |
| 644 | + |
615 | 645 | #nav form, |
616 | 646 | #nav button { |
617 | 647 | display: inline-block; |
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css |
— | — | @@ -34,6 +34,11 @@ |
35 | 35 | display: none; |
36 | 36 | } |
37 | 37 | |
| 38 | +html[dir="rtl"] .clearlink { |
| 39 | + left: 0.25em; |
| 40 | + right: auto; |
| 41 | +} |
| 42 | + |
38 | 43 | #zero-rated-banner { |
39 | 44 | position: relative; |
40 | 45 | height: 20px; |
— | — | @@ -120,7 +125,6 @@ |
121 | 126 | margin: 0; |
122 | 127 | line-height: 2.6em; |
123 | 128 | padding: 0.01em 0.25em; |
124 | | - text-align: left; |
125 | 129 | postion: relative; |
126 | 130 | border-bottom: solid 1px #999999; |
127 | 131 | } |
— | — | @@ -566,9 +570,13 @@ |
567 | 571 | width: 100%; |
568 | 572 | } |
569 | 573 | |
| 574 | +html[dir="rtl"] #logo, |
570 | 575 | #goButton { |
571 | 576 | position: absolute; |
572 | 577 | right: 2px; |
| 578 | +} |
| 579 | + |
| 580 | +#goButton { |
573 | 581 | top: 2px; |
574 | 582 | border: 0; |
575 | 583 | background: url(images/s.gif) no-repeat top left; |
— | — | @@ -577,6 +585,11 @@ |
578 | 586 | width: 27px; |
579 | 587 | } |
580 | 588 | |
| 589 | +html[dir="rtl"] #goButton { |
| 590 | + right: auto; |
| 591 | + left: 2px; |
| 592 | +} |
| 593 | + |
581 | 594 | #searchbox a, |
582 | 595 | #searchbox img { |
583 | 596 | border: 0px; |
— | — | @@ -607,10 +620,19 @@ |
608 | 621 | float: left; |
609 | 622 | } |
610 | 623 | |
| 624 | +html[dir="rtl"] #nav { |
| 625 | + float: right; |
| 626 | +} |
| 627 | + |
611 | 628 | #languageselection { |
612 | 629 | margin-right: 35px; |
613 | 630 | } |
614 | 631 | |
| 632 | +html[dir="rtl"] #languageselection { |
| 633 | + margin-right: 0; |
| 634 | + margin-left: 35px; |
| 635 | +} |
| 636 | + |
615 | 637 | #nav form, |
616 | 638 | #nav button { |
617 | 639 | display: inline-block; |
— | — | @@ -682,6 +704,11 @@ |
683 | 705 | font-size: 1.2em; |
684 | 706 | } |
685 | 707 | |
| 708 | +html[dir="rtl"] .full-screen-search #sq { |
| 709 | + padding-left: 0; |
| 710 | + padding-right: 44px; |
| 711 | +} |
| 712 | + |
686 | 713 | .full-screen-search #sq { |
687 | 714 | position: relative; |
688 | 715 | padding-left: 44px; |
— | — | @@ -720,7 +747,6 @@ |
721 | 748 | .full-screen-search .suggestions-results { |
722 | 749 | line-height: 2.6em; |
723 | 750 | padding: 0; |
724 | | - text-align: left; |
725 | 751 | position: relative; |
726 | 752 | border-bottom: solid 1px #999; |
727 | 753 | font-size: 1.4em; |
— | — | @@ -756,6 +782,11 @@ |
757 | 783 | overflow: hidden; |
758 | 784 | } |
759 | 785 | |
| 786 | +html[dir="rtl"] #remove-results { |
| 787 | + right: 0px; |
| 788 | + left: auto; |
| 789 | +} |
| 790 | + |
760 | 791 | .full-screen-search #results { |
761 | 792 | display: block !important; |
762 | 793 | } |