]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/rtl.css.scss
Fix RTL issues with the search and donate icons
[rails.git] / app / assets / stylesheets / rtl.css.scss
index a8cf95cd3ff4dabf92085d59f6981fd9bf5a7330..4b857e0ec33c93ad76078bd06caabfca5535b514 100644 (file)
@@ -42,8 +42,18 @@ html body {
 
 /* Rules for the search box */
 
-.whereami {
-  float: left;
+#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 */
@@ -154,17 +164,21 @@ html body {
 
 /* Rules for the diary list */
 
-.diary_entry_list img.user_thumbnail {
+.diary_entry-list img.user_image {
+  float: left;
+}
+
+.diary_entry-list img.user_thumnbail {
   float: left;
 }
 
 /* Rules for the diary entry view */
 
-.diary_entry_view img.user_image {
+.diary_entry-view img.user_image {
   float: left;
 }
 
-.diary_entry_view img.user_thumbnail {
+.diary_entry-view img.user_thumbnail {
   float: left;
 }
 
@@ -186,11 +200,11 @@ form#termsForm input#agree {
 
 /* Rules for the user view */
 
-.user_view img.user_image {
+.user-view img.user_image {
   float: left;
 }
 
-.user_view .user_map {
+.user-view .user_map {
   float: left;
 }
 
@@ -215,3 +229,28 @@ input.openid_url {
   background: image-url('openid_input.png') repeat-y right white;
   padding-right: 16px;
 }
+
+/* Rules for rich text editors */
+
+.richtext_container {
+  .richtext_help {
+    margin-right: 15px;
+
+    th {
+      text-align: right;
+      padding: 0px 0px 0px 15px !important;
+    }
+
+    td {
+      text-align: right;
+    }
+
+    input.richtext_doedit {
+      margin-left: 10px !important;
+    }
+
+    input.richtext_dopreview {
+      margin-right: 10px !important;
+    }
+  }
+}