]> git.openstreetmap.org Git - rails.git/blobdiff - public/stylesheets/ltr.css
Lots more work on making RTL layout work
[rails.git] / public / stylesheets / ltr.css
diff --git a/public/stylesheets/ltr.css b/public/stylesheets/ltr.css
new file mode 100644 (file)
index 0000000..2008895
--- /dev/null
@@ -0,0 +1,233 @@
+/* Styles for LTR languages */
+
+/* Default rules for the body of every page */
+
+html body {
+  text-align: left;
+}
+
+/*
+ * Rules for alert boxes shown in the left sidebar when important
+ * information needs to be conveyed such as when the site is
+ * undergoing maintenance.
+ */
+
+#alert {
+  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 {
+  left: 0px;
+}
+
+.left_menu td {
+  padding-right: 4px;
+}
+
+.left_menu h1 {
+  text-align: left;
+  padding: 0em 0em 0em 1em;
+}
+
+.left_menu ul {
+  padding-left: 0px;
+}
+
+.left_menu img {
+  margin: 2px 8px 0px 0px;
+}
+
+/*
+ * Rules for "optional boxes" which appear in the left sidebar on
+ * certain pages. Current users are the seach box on the main page
+ * and the tag cloud on the traces pages.
+ */
+
+.optionalbox {
+  left: 0px;
+  text-align: left;
+}
+
+/* Rules for the search box */
+
+.whereami {
+  float: right;
+}
+
+/* Rules for tabbed navigation bar */
+
+#tabnav
+{
+  padding-left: 215px;
+}
+
+#tabnav a, #tabnav a:link, #tabnav a:visited 
+{
+  float: left;
+  margin-right: 4px;
+}
+
+/* Rules for greeting bar in the top right corner */
+
+#greeting {
+  float: right;
+  padding-right: 10px;
+}
+
+/* Rules for the message shown in place of the map when javascript is disabled */
+
+#noscript {
+  left: 15px
+}
+
+/* Rules for OpenLayers maps */
+
+#map {
+  left: 0px;
+  right: 2px;
+}
+
+#permalink {
+  left: 15px;
+  text-align: left;
+}
+
+/* Rules for the popout map sidebar */
+
+#sidebar {
+  left: 0px;
+}
+
+#sidebar #sidebar_title {
+  text-align: left;
+}
+
+#sidebar #sidebar_close {
+  text-align: right;
+}
+
+/* Rules for the main content area */
+
+#content {
+  left: 192px;
+  right: 10px;
+  text-align: left;
+}
+
+#slim_header img {
+  margin-right: 5px;
+}
+
+/* Rules for the copyright page */
+
+#cc_logo {
+  float: right;
+}
+
+/* Rules for the changeset list shown by the history tab etc */
+
+#changeset_list {
+  text-align: left;
+}
+
+#changeset_list_map {
+  float: right;
+  right: 0px;
+}
+
+/* Rules for the data browser */
+
+#browse_navigation {
+  float: right;
+  margin-left: 10px;
+}
+
+#browse_map {
+  float: right;
+  text-align: right;
+  margin-left: 10px;
+}
+
+/* Rules for the trace list shown by the traces tab etc */
+
+#trace_list {
+  text-align: right;
+}
+
+/* Rules for the diary list */
+
+#diary_list img.user_thumbnail {
+  float: right;
+}
+
+/* Rules for the diary entry view */
+
+#diary_entry img.user_image {
+  float: right;
+}
+
+#diary_entry img.user_thumbnail {
+  float: right;
+}
+
+/* Rules for the user list */
+
+#user_list_actions {
+  float: right;
+}
+
+/* Rules for the login page */
+
+#login_wrapper input[type=submit] {
+  float: right;
+}
+
+/* Rules for the account confirmation page */
+
+form#termsForm div#buttons {
+  float: right;
+}
+
+form#termsForm input#agree {
+  margin-left: 50px;
+}
+
+/* Rules for the user view */
+
+#user_details img.user_image {
+  float: right;
+}
+
+#user_details .user_map {
+  float: right;
+}
+
+/* Rules for rails validation error boxes */
+
+#errorExplanation h2 {
+  text-align: left;
+  padding: 5px 5px 5px 15px;
+}
+
+/* Rules for forms */
+
+.fieldName {
+  text-align: right;
+}
+
+input.openid_url { 
+  background: url('../images/openid_input.png') repeat-y left white;
+  padding-left: 16px;
+}