+/* 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: 20em;
+ }
+
+ #decline {
+ background: $lightblue;
+ &:hover {
+ background: darken($lightblue, $hovercolor);
+ }
+ }
+}
+
+/* Rules for the account settings page */
+
+#accountForm .user_map {
+ position: relative;
+ width: 500px;
+ height: 400px;
+ border: 1px solid #ccc;
+}
+
+#accountForm .user_image {
+ margin-bottom: 0;
+}
+
+#accountForm #user_image {
+ margin-left: 20px;
+}
+
+#accountForm ul.accountImage-options {
+ margin-left: 120px;
+}
+
+.nohome .location {
+ display: none;
+}
+
+#homerow .message {
+ display: none;
+}
+
+.nohome .message {
+ display: inline !important;
+}
+
+.content_map.settings_map {
+ width: 50%;
+ float: none;
+}
+
+/* Rules for the oauth settings page */
+
+.oauth_clients .buttons .oauth-edit {
+ border-radius: 2px 0 0 2px;
+}
+
+.oauth_clients .buttons .oauth-delete {
+ border-radius: 0 2px 2px 0;
+}
+
+/* Rules for messages pages */
+
+.messages {
+ width: 100%;
+ border: 1px solid #ddd;
+
+ input[type="submit"] {
+ margin: auto;
+ }
+ tbody tr {
+ border-top: 1px solid #ccc;
+ }
+
+ .inbox-row {
+ background: #f8f8ff;
+ }
+
+ .inbox-row-unread {
+ background:#CBEEA7;
+ }
+
+ .right {
+ float: right;
+ }
+
+ tr td,
+ tr th {
+ padding: $lineheight/4;
+ }
+ p:last-child,
+ h2:last-child,
+ h3:last-child,
+ ol:last-child,
+ ul:last-child {
+ margin-bottom:0;
+ }
+ tr td {
+ height: 30px;
+ border-right: 1px solid $lightgrey;
+ }
+}
+
+.inbox-row .inbox-mark-read {
+ display: none;
+}
+
+.info-line {
+ margin-bottom: $lineheight;
+ padding: $lineheight/4 0px 4px 0px;
+ border-bottom: 1px solid #ccc;
+
+ form, form div {
+ display: inline;
+ }
+}
+
+.info-line .user_thumbnail_tiny {
+ vertical-align: middle;
+}
+
+.inbox-sent {
+ white-space: nowrap;
+}
+
+.inbox-mark-unread,
+.inbox-mark-read,
+.inbox-delete {
+ width: 1%;
+}
+
+.inbox-row-unread .inbox-mark-unread {
+ display: none;
+}
+
+.message-read .message-buttons {
+ margin-top: $lineheight;
+ margin-bottom: $lineheight * 1.5;
+ padding-top: $lineheight;
+ border-top: 1px solid $lightgrey;
+}
+
+.message-read .buttons .mark-unread-button {
+ border-radius: 0;
+}
+
+/* Rules for "flash" notice boxes shown at the top of the content area */
+
+.error {
+ padding: $lineheight;
+ background-color: #ff7070;
+}
+
+.warning {
+ padding: $lineheight;
+ background-color: #ffe0cc;
+}
+
+.notice {
+ padding: $lineheight;
+ background-color: #CBEEA7;