]> git.openstreetmap.org Git - rails.git/blobdiff - public/stylesheets/common.css
Some styling changes. Changed drop-down into radio buttons. Tried, and failed, to...
[rails.git] / public / stylesheets / common.css
index ca6a7be209c610a44cd037f293b78fc524bfa9b7..362e5d619cf9bbb9d705219a877edee741100c44 100644 (file)
@@ -280,11 +280,18 @@ hr {
   color: #000;
 }
 
-#tabnav a:link:hover
+#tabnav a:link:hover, #tabnav a:visited:hover
 {
   background: #fff;
 }
 
+#tabnav a:link.disabled, #tabnav a:visited.disabled,
+#tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
+{
+  background: #bbbbbb;
+  color: white
+}
+
 /* Rules for greeting bar in the top right corner */
 
 #greeting {
@@ -533,6 +540,28 @@ hr {
   color: gray;
 }
 
+/* Rules for the account confirmation page */
+
+div#contributorTerms {
+  border: 1px solid black;
+  padding: 4px;
+  overflow: auto;
+  width: 80%;
+  height: 60%;
+}
+
+div#contributorTerms p#first {
+  margin-top: 0px;
+}
+
+div#contributorTerms p#last {
+  margin-bottom: 0px;
+}
+
+div#contributorTerms ol {
+  margin-bottom: 0px;
+}
+
 /* Rules for the account settings page */
 
 #accountForm td {
@@ -555,6 +584,27 @@ hr {
   display: inline !important;
 }
 
+/* Rules for the user map */
+
+.user_map .olControlPanZoomBar {
+  display: none;
+}
+
+.user_map .olControlPanZoom {
+  display: block;
+}
+
+/* Rules for user popups on maps */
+
+.user_popup p {
+  padding-top: 3px;
+  padding-bottom: 3px;
+  margin-top: 0px;
+  margin-bottom: 0px;
+  margin-left: 55px;
+  margin-right: 2px;
+}
+
 /* Rules for message in/out box page */
 
 #messages {
@@ -689,3 +739,46 @@ abbr.geo {
 .table1 { 
   background: #fff;
 }
+
+/* rules for styling a link to look like a button to get around the difficulty 
+ * of laying anything out properly in html. */
+
+a.looks_like_button {
+    color: black;
+    background: buttonface;
+    border: 1px solid black;
+    font-size: small;
+    padding: 1px;
+}
+
+/* hack to get left/right alignment on a line working. apparently still works in IE too.
+ * shamelessly stolen from http://www.spartanicus.utvinternet.ie/left_and_right_alignment_using_css.htm
+ */
+div.left_right_line { 
+    text-align:right;
+    margin:1em 0;
+    padding:0;
+    width:80%;
+}
+div.left_right_line div {
+    display:inline;
+    white-space:nowrap
+}
+div.left_right_line div.left {
+    float:left
+}
+#content>div.left_right_line {
+    display:table;
+    width:60%
+}
+#content>div.left_right_line div { 
+    display:table-cell
+}
+#content>div.left_right_line div.left {
+    float:none;
+    text-align:left
+}
+#content>div.left_right_line div.right {
+    text-align:right
+}
+