- &:first-of-type {
- margin-top: $lineheight/2;
- }
-
- &.deleted {
- 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;
- }
- &.deleted {
- 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_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;
-}
-
-/* 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 {
- input[type="submit"] {
- margin: auto;
- }
-
- .inbox-row {
- background: $offwhite;
- }
-
- .inbox-row-unread {
- background: #CBEEA7;
- }
-
- .right {
- float: right;
- }
-}
-
-.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;
-}
-
-/* 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;
-}
-
-img.user_thumbnail {
- max-width: 50px;
- max-height: 50px;
- border: 1px solid $grey;
- margin-right: $lineheight;
-}
-
-img.user_thumbnail_tiny {
- width: auto;
- height: auto;
- max-width: 25px;
- max-height: 25px;
- border: 1px solid $grey;
-}
-
-/* Rules for geo microformats */
-
-abbr.geo {
- border-bottom: none;
-}
-
-/* General styles for action lists / subnavs / pager navs */
-
-ul.secondary-actions {
- font-style: normal;
- margin-bottom: 0;
- margin-left: 0;
- padding: 0;
- &.pager {
- display: inline-block;
- margin-right: 60px;
- }
- > li {
- display: block;
- float: left;
- list-style: none;
- border-left: 1px solid $grey;
- padding-left: $lineheight/2;
- margin-right: $lineheight/2;
- &:first-child {
- border-left: 0;
- padding-left: 0;
- }
- &:last-child {
- margin-right: 0px;
- }
- }
-}
-
-div.secondary-actions {
- padding: 10px;
- text-align: center;
-}
-
-/* Utility for managing inner content areas */
-
-.inner22 { padding: $lineheight;}
-
-.inner12 { padding: $lineheight/2 $lineheight;}
-
-.inner11 { padding: $lineheight/2;}
-
-.inner20 { padding: $lineheight 0;}
-
-.inner02 { padding: 0 $lineheight;}
-
-/* Utility for general button styles */
-
-input[type="button"],
-input[type="submit"],
-input[type="reset"],
-a.button {
- cursor: pointer;
- border: 0;
- display: inline-block;
- padding: $lineheight/4 $lineheight/2;
- min-height: 20px + $lineheight/2;
- min-width: 120px;
- margin: 0 0 $lineheight/2 0;
- color: white;
- background: $blue;
- text-align: center;
- border-radius: 2px;
- &:hover {
- background: darken($blue, $hovercolor);
- text-decoration: none;
- }
- &.deemphasize {
- background: $lightblue;
- &:hover {
- background: darken($lightblue, $hovercolor);
- }
- }
- &:disabled {
- background: $lightgrey;
- &:hover {
- background: $lightgrey;
- }
- }
- &:last-child {
- margin-bottom: 0;
- }
-}
-
-input[type="button"],
-input[type="submit"],
-input[type="reset"] {
- line-height: normal;
-}
-
-a.button {
- line-height: 20px;
-}
-
-.buttons {
- min-width: 200px;
- input[type="submit"],
- input[type="button"],
- input[type="reset"],
- .button,
- .button_to {
- box-sizing: border-box;
- float: left;
- border-radius: 0;
- margin:0;
- min-width: 75px;
- max-width: 180px;
- border-right:1px solid white;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- }
- input:first-child,
- .button:first-child,
- .button_to:first-child {
- border-radius:2px 0 0 2px;
- }
- input:last-child,
- .button:last-child,
- .button_to:last-child {
- border-radius:0 2px 2px 0;
- border-right-width: 0;
- }
- input:only-child,
- .button:only-child,
- .button_to:only-child,
- *[value="Hide"] + input:last-child,
- *[value="Hide"] + .button:last-child,
- *[value="Hide"] + .button_to:last-child {
- border-radius:2px;
- border-right-width: 0;
- }
- /* if a 3-button set has a hidden middle button */
- *[value="Hide"] + input:nth-child(3),
- *[value="Hide"] + .button:nth-child(3),
- *[value="Hide"] + .button_to:nth-child(3) {
- border-radius:0 2px 2px 0;
- border-right-width: 0;
- }
- /* if a 3-button set starts with a hidden button */
- *[value="Hide"] + input:nth-child(2):not(:last-child),
- *[value="Hide"] + .button:nth-child(2):not(:last-child),
- *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
- border-radius:2px 0 0 2px;
- border-right-width: 1px;
- }
-}
-
-/* Customise the background colour of striped tables */
-
-.table-striped > tbody > tr:nth-child(2n+1) > td,
-.table-striped > tbody > tr:nth-child(2n+1) > th {
- background-color: $offwhite;
-}
-
-/* Rules for OpenID logo */
-
-.openid_logo {
- vertical-align: text-bottom;
- border: 0;
-}
-
-/* Rules for rich text */
-
-.richtext,
-.prose {
- code {
- font-size: 13px;
- background: $lightgrey;
- padding: 2px 3px;