]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Refactor notes code to work with recent site changes
[rails.git] / app / assets / stylesheets / common.css.scss
index 0f71004812c693e19cfe11da89c3379e51aab128..6ead2220a079949ffb0ee9fd6665df845a6c2e99 100644 (file)
@@ -424,6 +424,12 @@ body.site-export #tabnav a#exportanchor {
   padding: 5px;
 }
 
+#permalink a.disabled {
+  color: #ccc;
+  cursor: default;
+  text-decoration: none;
+}
+
 /* Rules for edit menu */
 
 .menuicon {
@@ -652,6 +658,12 @@ body.site-export #tabnav a#exportanchor {
   margin-bottom: 5px;
 }
 
+/* Rules for text content pages */
+
+.wide-table {
+  width: 100%;
+}
+
 /* Rules for the home page */
 
 .site-index #map {
@@ -738,6 +750,23 @@ table.browse_details th {
   white-space: nowrap;
 }
 
+td.browse_comments {
+  padding: 0px;
+}
+
+td.browse_comments table {
+  border-collapse: collapse;
+}
+
+td.browse_comments table td {
+  padding-bottom: 10px;
+}
+
+td.browse_comments table td span.by {
+  font-size: small;
+  color: #999999;
+}
+
 #browse_map {
   width: 250px;
 }
@@ -987,18 +1016,48 @@ p#contributorGuidance {
 
 /* Rules for message in/out box page */
 
-#messages {
-  border: 1px solid #ccc;
+.messages {
+  width: 100%;
+  border-collapse: collapse;
+  border-spacing: 0px;
+  border-width: 0px;
 }
 
-.inbox-row-unread .inbox-subject {
-  font-weight: bold;
+.messages tbody tr {
+  border-top: 1px solid #ccc;
+}
+
+.messages .inbox-row {
+  background: #eee;
+}
+
+.messages tr td,
+.messages tr th {
+  padding: 0px 5px;
 }
 
 .inbox-row .inbox-mark-read {
   display: none;
 }
 
+.info-line {
+  border-bottom: 1px solid #ccc;
+  padding: 5px 0px 4px 0px;
+}
+
+.info-line form,
+.info-line form div {
+  display: inline;
+}
+
+.info-line .user_thumbnail_tiny {
+  vertical-align: middle;
+}
+
+.right {
+  float: right;
+}
+
 .inbox-row-unread .inbox-mark-unread {
   display: none;
 }
@@ -1096,13 +1155,19 @@ textarea {
 img.user_image {
   max-width: 100px;
   max-height: 100px;
-  border: 1px solid black;
+  border: 1px solid #ccc;
 }
 
 img.user_thumbnail {
   max-width: 50px;
   max-height: 100px;
-  border: 1px solid black;
+  border: 1px solid #ccc;
+}
+
+img.user_thumbnail_tiny {
+  max-width: 25px;
+  max-height: 25px;
+  border: 1px solid #ccc;
 }
 
 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */