-/* Rules for export sidebar */
-
-.export_form {
- padding: $lineheight;
-
- .export_area_inputs,
- .export_button {
- text-align: center;
- }
-
- .export_area_inputs {
- margin-bottom: $lineheight/2;
- input[type="text"] {
- width: 80px;
- text-align: center;
- margin-bottom: 5px;
- }
- }
-
- .export_boxy {
- background: $lightgrey;
- border: 1px solid $grey;
- border-radius: 3px;
-
- #maxlat { margin-top: -1px; }
- #minlon {
- float: left;
- /* no-r2 */ margin-left: -1px;
- }
- #maxlon {
- float: right;
- /* no-r2 */ margin-right: -1px;
- }
- #minlat { margin-bottom: 0; }
- }
-
- .export_bound {
- margin: $lineheight/4;
- }
-
- .export_button {
- margin-top: $lineheight;
- margin-bottom: $lineheight;
- }
-
- dl {
- padding-left: $lineheight/2;
- dd {
- margin-left: 0;
- margin-bottom: 10px;
- }
- }
-}
-
-/* Rules for the routing sidebar */
-
-#sidebar_content {
- #routing_credit {
- text-align: center;
- padding: 0.5em;
- }
-}
-
-/* Rules for edit pages */
-
-.site-edit {
- #content {
- position: absolute;
- top: $headerHeight;
- bottom: 0;
- width: 100%;
- }
-
- #map {
- height: 100%;
- overflow: hidden;
- }
-}
-
-/* Rules for non-map content pages */
-
-.content-heading {
- background: $lightgrey;
-}
-
-.content-body {
- h1, h2, h3, p, ul, ol {
- margin-bottom: $lineheight;
- }
-
- h1, h2, h3 {
- margin-top: $lineheight/2;
- }
-}
-
-.content-inner {
- position: relative;
- max-width: 900px;
- margin: auto;
- padding: $lineheight;
-}
-
-/* Overrides for pages that use new layout conventions */
-
-.users-new,
-.users-create,
-.users-terms,
-.users-confirm {
- .content-heading .content-inner {
- height: 200px;
- }
-}
-
-.header-illustration {
- background-position: 0 0;
- background-repeat: no-repeat;
- position: absolute;
- height: 200px;
- width: 100%;
- left: 0;
- bottom: 0;
-
- &.new-user-main {
- background-image: image-url("sign-up-illustration.png");
- }
-
- &.confirm-main {
- background-image: image-url("confirm-illustration.png");
- }
-
- &.new-user-terms {
- background-image: image-url("terms-illustration.png");
- }
-
- &.new-user-arm {
- height: 110px;
- width: 130px;
- left: 260px;
- top: 160px;
- background-image: image-url("sign-up-illustration-arm.png");
- z-index: 100;
- }
-}
-
-[dir=rtl] .header-illustration {
- transform: scaleX(-1);
-}
-
-#content.maximised {
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- border: 0;
- z-index: 2000;
-}
-
-/* Rules for small maps in content areas */
-
-.content_map {
- position: relative;
- width: 45%;
- height: 400px;
- border: 1px solid $grey;
- margin-bottom: $lineheight;
- float: right;
-}
-
-/* Rules for the new trace form */
-
-#new_trace {
- input[type=text] {
- width: 50%;
- width: calc(100% - 150px);
- max-width: 500px;
- }
-}
-
-/* Rules for the edit trace form */
-
-.edit_trace {
- .standard-form-row p {
- margin-bottom: 0px;
- }
-
- input[type=text] {
- width: 50%;
- width: calc(100% - 150px);
- max-width: 500px;
- }
-}
-
-/* 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 $grey;
- 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;
-}
-
-.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;
-}