]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Refactor view and css code around homepage links
[rails.git] / app / assets / stylesheets / common.css.scss
index 078674a119aa65c0842479aad42bb656802c9198..5cef074e520d302584279fcecf1324b83875b36c 100644 (file)
@@ -322,9 +322,18 @@ h2 {
   padding: 5px 10px;
   text-decoration: none;
   color: #333;
-}
-
-#tabnav a:link.active, #tabnav a:visited.active {
+  -webkit-transition: color 200ms ease-in;
+  -moz-transition: color 200ms ease-in;
+  -o-transition: color 200ms ease-in;
+  transition: color 200ms ease-in;
+}
+
+body.site-index #tabnav a#viewanchor,
+body.site-edit #tabnav a#editanchor,
+body.changeset-list #tabnav a#historyanchor,
+body.site-export #tabnav a#exportanchor,
+#tabnav a:link.active,
+#tabnav a:visited.active {
   border-bottom: 1px solid #aaa;
   background: #9ed485;
   color: #000;
@@ -383,6 +392,7 @@ h2 {
 
 #map {
   margin: 0px;
+  border: 0px;
   padding: 0px;
 }
 
@@ -496,7 +506,10 @@ h2 {
   padding-right: 5px;
 }
 
-#mapkey .mapkey-table-key {
+#mapkey .mapkey-table-key img {
+  display: block;
+  margin-left: auto;
+  margin-right: auto;
 }
 
 #mapkey .mapkey-table-value {
@@ -659,6 +672,7 @@ h2 {
   bottom: 0px;
   left: 0px;
   right: 0px;
+  overflow: hidden;
 }
 
 /* Rules for the changeset list shown by the history tab etc */
@@ -887,6 +901,10 @@ p#contributorGuidance {
 
 /* Rules for the account settings page */
 
+#accountForm {
+  margin-top: 20px;
+}
+
 #accountForm td {
   padding-bottom: 10px;
 }
@@ -971,6 +989,14 @@ p#contributorGuidance {
   font-weight: bold;
 }
 
+.inbox-row .inbox-mark-read {
+  display: none;
+}
+
+.inbox-row-unread .inbox-mark-unread {
+  display: none;
+}
+
 /* Rules for "flash" notice boxes shown at the top of the content area */
 
 #error {