]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/ltr.css.scss
Fix RTL issues with the search and donate icons
[rails.git] / app / assets / stylesheets / ltr.css.scss
index 5d9b9aa6ed7394778246ddccf23b223007a89002..dc97faf3e45a5d54d0478d9a35d7911254226041 100644 (file)
@@ -6,16 +6,6 @@ html body {
   text-align: left;
 }
 
-/*
- * Rules for notice boxes shown in the left sidebar when important, but
- * non-critical information needs to be conveyed such as notices about
- * donation drives.
- */
-
-.notice {
-  text-align: left;
-}
-
 /* Rules for the menu displayed in the left sidebar */
 
 .left_menu {
@@ -41,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.
  */
 
@@ -52,8 +42,18 @@ html body {
 
 /* Rules for the search box */
 
-.whereami {
-  float: right;
+#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 */
@@ -164,17 +164,21 @@ html body {
 
 /* Rules for the diary list */
 
-.diary_entry_list img.user_thumbnail {
+.diary_entry-list img.user_image {
+  float: right;
+}
+
+.diary_entry-list img.user_thumbnail {
   float: right;
 }
 
 /* Rules for the diary entry view */
 
-.diary_entry_view img.user_image {
+.diary_entry-view img.user_image {
   float: right;
 }
 
-.diary_entry_view img.user_thumbnail {
+.diary_entry-view img.user_thumbnail {
   float: right;
 }
 
@@ -196,11 +200,11 @@ form#termsForm input#agree {
 
 /* Rules for the user view */
 
-.user_view img.user_image {
+.user-view img.user_image {
   float: right;
 }
 
-.user_view .user_map {
+.user-view .user_map {
   float: right;
 }
 
@@ -225,3 +229,28 @@ input.openid_url {
   background: image-url('openid_input.png') repeat-y left white;
   padding-left: 16px;
 }
+
+/* Rules for rich text editors */
+
+.richtext_container {
+  .richtext_help {
+    margin-left: 15px;
+
+    th {
+      text-align: left;
+      padding: 0px 15px 0px 0px !important;
+    }
+
+    td {
+      text-align: left;
+    }
+
+    input.richtext_doedit {
+      margin-right: 10px !important;
+    }
+
+    input.richtext_dopreview {
+      margin-left: 10px !important;
+    }
+  }
+}