-.activity-details p {
- margin-left: 70px;
- margin-bottom: 0;
-}
-
-.users-show {
- // 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 {
- 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;
- padding-top: $lineheight;
- padding-bottom: $lineheight/2;
- border-top: 1px solid $grey;
-
- &:first-of-type {
- margin-top: $lineheight/2;
- }
-
- &.deemphasize {
- background-color: #fee;
- }
-
- .post_heading {
- margin-bottom: $lineheight;
-
- h2 {
- margin-top: 0;
- margin-bottom: $lineheight/2;
- }
- }
-
- img.user_thumbnail {
- float: left;
- }
-
- small.deemphasize {
- float: left;
- display: block;
- }
-}
-
-.pagination {
- padding-top: $lineheight;
-}
-
-/* Rules for the diary entry page */
-
-.diary_entries {
- #map {
- position: relative;
- width: 90%;
- height: 400px;
- border: 1px solid $grey;
- display: none;
- margin-bottom: $lineheight;
- }
- #newcomment {
- border-top: 1px solid $grey;
- padding-top: $lineheight;
- margin-top: $lineheight/2;
- }
- .comments {
- max-width: 740px;
- }
- .diary-comment {
- border-top: 1px dashed $grey;
- padding-top: $lineheight/2;
- padding-bottom: $lineheight/2;
- &:first-child {
- margin-top: $lineheight/2;
- padding-top: $lineheight;
- border-top: 1px solid $grey;
- }
- &.deemphasize {
- background-color: #fee;
- }
- p {
- margin-bottom: $lineheight/2;
- }
- .comment-heading {
- margin-bottom: 0;
- margin-top: 0;
- }
- }
-}
-
-.diary_entries-show img.user_thumbnail {
- float: left;
-}
-
-
-.diary-subscribe-buttons {
- position:relative;
- top: -30px;
- left: 130px;
-}
-
-/* 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 */
-
-.users-terms {
- .legale {
- border: 1px solid $grey;
- padding: $lineheight;
- margin-bottom: $lineheight;
- overflow: auto;
- height: 20em;
-
- li {
- list-style: inherit;
- }
-
- ol ol {
- list-style-type: lower-alpha;
- }
- }
-
- #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 $grey;
-}
-
-#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 the oauth authorization page */
-
-.oauth-authorize ul {
- list-style: none;
-}
-
-/* Rules for messages pages */
-
-.messages {
- width: 100%;
- border: 1px solid $grey;
-
- input[type="submit"] {
- margin: auto;
- }
- tbody tr {
- border-top: 1px solid $grey;
- }
-
- .inbox-row {
- background: $offwhite;
- }
-
- .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 $grey;
-
- 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;
-}
-
-.messages-show .message-buttons {
- margin-top: $lineheight;
- margin-bottom: $lineheight * 1.5;
- padding-top: $lineheight;
- border-top: 1px solid $lightgrey;
-}
-
-.messages-show .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;
-
- p {
- margin-top: $lineheight * 0.5;
- margin-bottom: $lineheight * 0.5;
-
- &:first-child {
- margin-top: 0px;
- }
-
- &:last-child {
- margin-bottom: 0px;
- }
- }
- }
-}
-
-/* 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;
- }
-}
-
-/* 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 .standard-form-row {
- float: left;
- padding-right: 10px;
- }
- .standard-form-row {
- margin-bottom: $lineheight/2;
- }
- .form-list {
- margin-bottom: 0;
- }
- .form-list li {
- margin-bottom: 5px;
- list-style-type: none;
- }
- input[type="checkbox"],
- input[type="radio"] {
- float: left;
- margin-top: 5px;
- }
-}
-
-#remember_me_openid {
- display: block;
-}
-
-select {
- padding: 2px;
-}
-
-input[type="checkbox"],
-input[type="radio"] {
- margin-right: 5px;
-}
-
-input[type="text"],
-input[type="email"],
-input[type="url"],
-input[type="password"],
-textarea {
- color: #222;
- background-color: #fff;
- border: 1px solid $grey;
- border-radius: 3px;
- padding: 2px 5px;
- margin: 0;
- width: 200px;
-
- &.field_with_errors {
- border: 2px solid #ff7070;
- }
-}
-
-textarea {
- padding: 5px;
- width: 100%;
- min-height: 50px;
- resize: vertical;
-}
-
-/* Rules for user images */
-
-img.user_image {
- max-width: 100px;
- max-height: 100px;
- border: 1px solid $grey;
- margin-bottom: $lineheight;
- float: left;
- margin-right: $lineheight;