]> git.openstreetmap.org Git - rails.git/blobdiff - public/stylesheets/common.css
Make the decline button a real button
[rails.git] / public / stylesheets / common.css
index c42495718a91c03f53a1334354bb1968ddb60f22..d46013393a230ea2e3e71d5930d189fb69db0a33 100644 (file)
@@ -280,14 +280,16 @@ hr {
   color: #000;
 }
 
-#tabnav a:link:hover
+#tabnav a:link:hover, #tabnav a:visited:hover
 {
   background: #fff;
 }
 
-#tabnav a.disabled
+#tabnav a:link.disabled, #tabnav a:visited.disabled,
+#tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
 {
-  font-style: italic;
+  background: #bbbbbb;
+  color: white
 }
 
 /* Rules for greeting bar in the top right corner */
@@ -538,6 +540,35 @@ 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;
+}
+
+div#contributorTerms img {
+  display: block;
+  margin-left: auto;
+  margin-right: auto;
+  margin-top: 10%;
+}
+
 /* Rules for the account settings page */
 
 #accountForm td {
@@ -560,6 +591,16 @@ 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 {
@@ -705,3 +746,35 @@ abbr.geo {
 .table1 { 
   background: #fff;
 }
+
+/* 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
+}
+