]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/rtl.css.scss
Use L.OSM tile classes
[rails.git] / app / assets / stylesheets / rtl.css.scss
index 5d3bad582ada85b1f35acd0c80cd40d2dfce1ef3..e342ee59c50d5765902978eb478450af33a5a0e9 100644 (file)
@@ -6,24 +6,10 @@ html body {
   text-align: right;
 }
 
-/*
- * Rules for alert boxes shown in the left sidebar when important
- * information needs to be conveyed such as when the site is
- * undergoing maintenance.
- */
+/* Rules for the left sidebar */
 
-#alert {
-  text-align: right;
-}
-
-/*
- * 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: right;
+#left {
+  border-left: 1px solid #ccc;
 }
 
 /* Rules for the menu displayed in the left sidebar */
@@ -51,7 +37,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.
  */
 
@@ -62,22 +48,32 @@ html body {
 
 /* Rules for the search box */
 
-.whereami {
-  float: left;
+#search_field input[type="text"] {
+  padding: 2px 5px 2px 0px;
 }
 
-/* Rules for tabbed navigation bar */
+#search_field input[type="submit"] {
+  left: 4px;
+}
 
+/* Rules for donation request box */
 
-#tabnav {
-  margin-right: 185px;
+.donate .donate-icon {
+  right: 17px;
+}
+
+/* Rules for tabbed navigation bar */
+
+#top-bar {
+  right: 185px;
+  left: 0;
 }
 
 #tabnav a,
 #tabnav a:link,
 #tabnav a:visited {
   float: right;
-  margin-left: 4px;
+  margin-left: 1px;
 }
 
 /* Rules for greeting bar in the top right corner */
@@ -93,11 +89,6 @@ html body {
   right: 15px
 }
 
-
-#map {
-  border-right: 1px solid #ccc;
-}
-
 /* Rules for attribution text under the main map shown on printouts */
 
 .attribution_license {
@@ -112,7 +103,7 @@ html body {
 
 #sidebar {
   right: 0px;
-  margin-left: 3px;
+  border-left: 1px solid #ccc;
 }
 
 #sidebar #sidebar_title {
@@ -125,14 +116,9 @@ html body {
 
 /* Rules for the main content area */
 
-body.site #content {
-  border: 0;
-}
-
 #content {
   border-right: 1px solid #ccc;
-  right: 185px;
-  left: 0px;
+  margin-right: 185px;
   text-align: right;
 }
 
@@ -178,17 +164,21 @@ body.site #content {
 
 /* 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;
 }
 
@@ -198,12 +188,6 @@ body.site #content {
   float: left;
 }
 
-/* Rules for the login page */
-
-#login_wrapper input[type=submit] {
-  float: left;
-}
-
 /* Rules for the account confirmation page */
 
 form#termsForm div#buttons {
@@ -216,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;
 }
 
@@ -241,7 +225,32 @@ form#termsForm input#agree {
   text-align: left;
 }
 
-input.openid_url { 
+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;
+    }
+  }
+}