+ margin-right: $lineheight/4;
+ img {
+ vertical-align: middle;
+ margin-bottom: $lineheight/4;
+ margin-right: $lineheight/4;
+ }
+}
+
+/* Rules for small maps in content areas */
+
+.content_map {
+ position: relative;
+ width: 45%;
+ height: 400px;
+ border: 1px solid #ccc;
+ margin-bottom: $lineheight;
+ float: right;
+}
+
+/* Rules for the trace list shown by the traces tab etc */
+
+#trace_list {
+ font-size: $lineheight/2;
+ border-width: 0px;
+ text-align: right;
+
+ .trace_summary {
+ font-size: 12px;
+ color: gray;
+ }
+
+ .trace_pending {
+ color: red;
+ }
+
+ .trace_public {
+ color: green;
+ }
+
+ .trace_identifiable {
+ color: green;
+ }
+
+ .trace_trackable {
+ color: red;
+ }
+
+ .trace_private {
+ color: red;
+ }
+}
+
+/* Rules for the user profile page */
+
+#userinformation {
+
+ min-height: 100px;
+ .userinformation-inner {
+ float: left;
+ }
+ h2 {
+ margin-top: 0;
+ }
+ .user-description {
+ width: 100%;
+ clear: both;
+ }
+ .deemphasize {
+ margin: 0;
+ }
+}
+
+.admin-user-info small {
+ margin-bottom: $lineheight/2;
+ display: inline;
+ margin-right: $lineheight;
+}
+
+.activity-block {
+ clear: left;
+ border-bottom: 1px solid #ccc;
+ padding-bottom: $lineheight;
+ float: left;
+ h3 {
+ margin-bottom: $lineheight/2;
+ }
+}
+
+.contact-activity {
+ margin-top: $lineheight;
+ width: 100%;
+}
+
+.activity-details p {
+ margin-left: 70px;
+ margin-bottom: 0;
+}
+
+#friends-container .contact-activity ul {
+ margin-left: 70px;
+}
+
+.user-view {
+ p#no_home_location {
+ margin: $lineheight;
+ }
+ .user_thumbnail {
+ margin-top: $lineheight/4;
+ float: left;
+ }
+}
+
+/* Rules for the user map */
+
+.content_map .leaflet-popup-content {
+ margin: $lineheight/2;
+ min-height: 50px;
+}
+
+/* Rules for user popups on maps */
+
+.user_popup {
+ min-width: 200px;
+ p {
+ padding: 0 0 5px 0;
+ margin-top: 0 0 0 60px;
+ font-size: 12px;
+ }
+ img.user_thumbnail {
+ float: left;
+ margin: 0 $lineheight/2 0 0;
+ }
+}
+
+/* Rules for the user list */
+
+#user_list {
+ font-size: $lineheight/2;
+ width: 100%;
+
+ tr {
+ vertical-align: middle;
+ }
+
+ p {
+ margin-top: 0px;
+ margin-bottom: 0px;
+ }
+}
+
+#user_list_actions {
+ float: right;
+ margin-top: $lineheight/2;
+}
+
+/* Rules for the diary list page */
+
+.diary_post {
+ position: relative;
+ margin-top: $lineheight/2;
+ padding-top: $lineheight;
+ border-top: 1px solid #ccc;
+
+ .post_heading {
+ margin-bottom: $lineheight;
+
+ h2 {
+ margin-top: 0;
+ margin-bottom: $lineheight/2;
+ font-size: 24px;
+ }
+ }
+
+ img.user_thumbnail {
+ float: left;
+ }
+
+ small.deemphasize {
+ float: left;
+ display: block;
+ }
+
+ ul.secondary-actions {
+ display: inline-block;
+ }
+}
+
+.content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
+ display: inline;
+}
+
+/* Rules for the diary entry page */
+
+.diary_entry {
+ #map {
+ position: relative;
+ width: 90%;
+ height: 400px;
+ border: 1px solid #ccc;
+ display: none;
+ margin-bottom: $lineheight;
+ }
+ #newcomment {
+ border-top: 1px solid #ccc;
+ padding-top: $lineheight;
+ margin-top: $lineheight/2;
+ }
+ .comments {
+ max-width: 740px;
+ }
+ .diary-comment {
+ margin-top: $lineheight/2;
+ border-top: 1px dashed #ccc;
+ padding-top: $lineheight/2;
+ &:first-child {
+ margin-top: $lineheight;
+ padding-top: $lineheight;
+ border-top: 1px solid #ccc;
+ }
+ p {
+ margin-bottom: $lineheight/2;
+ }
+ .comment-heading {
+ margin-bottom: 0;
+ margin-top: 0;
+ }
+ }
+}
+
+.diary_entry-view img.user_thumbnail {
+ float: left;
+}
+
+/* Rules for the log in page */
+
+#login_openid_buttons {
+ margin-bottom: 0;
+}
+
+#login_openid_buttons li {
+ float: left;
+ padding: $lineheight/4 $lineheight/2;
+}
+
+/* Rules for the account confirmation page */
+
+.user-terms {
+ .legale {
+ border: 1px solid #ccc;
+ padding: $lineheight;
+ margin-bottom: $lineheight;
+ overflow: auto;
+ height: 10em;
+ }
+
+ #decline {
+ background: $lightblue;
+ &:hover {
+ background: darken($lightblue, $hovercolor);
+ }
+ }
+
+ .form-row {
+ margin: auto;
+ max-width: 370px;
+ }
+}
+
+/* Rules for the account settings page */
+
+#accountForm .user_map {
+ position: relative;
+ width: 500px;
+ height: 400px;
+ border: 1px solid #ccc;