-.user-view {
- // Silly exception; remove when user page is redesigned.
- .content-inner {
- max-width: none;
- }
- 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_auth_buttons {
- margin-bottom: 0;
-}
-
-#login_auth_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 */
-
-.flash {
- padding: $lineheight;
-
- &.error {
- background-color: #ff7070;
- }
-
- &.warning {
- background-color: #ffe0cc;
- }
-
- &.notice {
- background-color: #CBEEA7;
- }
-
- div.message {
- display: inline-block;
- margin-left: $lineheight / 2;
- vertical-align: middle;
- }
-}
-
-/* Rules for highlighting fields with rails validation errors */
-
-.formError {
- display: inline-block;
- padding: 5px 10px;
- margin-top: 5px;
- border-radius: 4px;
- font-size: 12px;
- color: #fff;
- background-color: #ff7070;
-}
-
-/* Rules for rails validation error boxes */
-
-#errorExplanation {
- width: 400px;
- border: 2px solid #ff7070;
- padding: 0 $lineheight/2;
- margin-bottom: $lineheight;
- background-color: #f0f0f0;
-
- h2 {
- margin: 0 -10px 10px -10px;
- padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
- font-weight: bold;
- font-size: 12px;
- background-color: #c00;
- color: #fff;
- text-align: left;
- }
-
- p {
- color: #333;
- margin-bottom: 0px;
- padding: $lineheight/4;
- }
-
- ul {
- padding-left: $lineheight;
-
- li {
- font-size: 12px;
- list-style: disc;
- }
- }
-}
-
-/* Rules for forms */
-
-.standard-form {
- fieldset {
- margin-bottom: $lineheight;
- }
- label.standard-label {
- display: block;
- margin-bottom: $lineheight/4;
- font-size: $typeheight;
- font-weight: bold;
- line-height: 1.5;
- }
- label.standard-label.secondary {
- display: inline-block;
- font-weight: normal;
- }
- .form-help {
- font-weight: normal;
- }
- .form-column {
- float: left;
- margin-right: 20px;
- }
- .form-divider {
- margin-top: $lineheight;
- padding-top: $lineheight;
- border-top: 1px solid $lightgrey;
- }
- .horizontal-list .form-row {
- float: left;
- padding-right: 10px;
- }
- .form-row {
- margin-bottom: $lineheight/2;
- }
- .form-list {