|
@@ -1,1251 +0,0 @@
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-form {
|
|
|
- ul,
|
|
|
-
|
|
|
- li {
|
|
|
- list-style-type: none;
|
|
|
- }
|
|
|
-
|
|
|
- ul {
|
|
|
- margin: 0;
|
|
|
- padding: 0;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-fieldset {
|
|
|
- border: 0;
|
|
|
- padding: 0 0 2em;
|
|
|
- margin: 0;
|
|
|
-}
|
|
|
-
|
|
|
-legend {
|
|
|
- @include visuallyhidden();
|
|
|
-}
|
|
|
-
|
|
|
-label,
|
|
|
-.label {
|
|
|
- text-transform: none;
|
|
|
- font-weight: bold;
|
|
|
- color: $color-grey-1;
|
|
|
- font-size: 1.1em;
|
|
|
- display: block;
|
|
|
- padding: 0 0 0.8em;
|
|
|
- margin: 0;
|
|
|
- line-height: 1.3em;
|
|
|
-
|
|
|
- .checkbox &,
|
|
|
- .radio & {
|
|
|
- display: inline;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.plain-checkbox-label {
|
|
|
-
|
|
|
-
|
|
|
- float: none;
|
|
|
- color: inherit;
|
|
|
- font-weight: inherit;
|
|
|
- font-size: inherit;
|
|
|
-}
|
|
|
-
|
|
|
-input,
|
|
|
-textarea,
|
|
|
-select,
|
|
|
-.halloeditor,
|
|
|
-.tagit {
|
|
|
- appearance: none;
|
|
|
- box-sizing: border-box;
|
|
|
- border-radius: 6px;
|
|
|
- width: 100%;
|
|
|
- font-family: Open Sans,Arial,sans-serif;
|
|
|
- border: 1px solid $color-input-border;
|
|
|
- padding: 0.9em 1.2em;
|
|
|
- background-color: $color-fieldset-hover;
|
|
|
- color: $color-text-input;
|
|
|
- font-size: 1.2em;
|
|
|
- font-weight: 300;
|
|
|
- outline: none;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- background-color: $color-white;
|
|
|
- }
|
|
|
-
|
|
|
- &:focus {
|
|
|
- background-color: $color-input-focus;
|
|
|
- border-color: $color-input-focus-border;
|
|
|
- outline: none;
|
|
|
- }
|
|
|
-
|
|
|
- &:disabled,
|
|
|
- &[disabled],
|
|
|
- &:disabled:hover,
|
|
|
- &[disabled]:hover {
|
|
|
- background-color: inherit;
|
|
|
- cursor: default;
|
|
|
- color: $color-grey-4;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-select::-ms-expand {
|
|
|
- display: none;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.choice_field .input,
|
|
|
-.model_choice_field .input,
|
|
|
-.typed_choice_field .input {
|
|
|
- position: relative;
|
|
|
-
|
|
|
- select {
|
|
|
- outline: none;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- select ~ span:after {
|
|
|
- border-radius: 0 6px 6px 0;
|
|
|
- z-index: 0;
|
|
|
- position: absolute;
|
|
|
- right: 0;
|
|
|
- top: 1px;
|
|
|
- bottom: 0;
|
|
|
- width: 1.5em;
|
|
|
- font-family: wagtail;
|
|
|
- content: 'q';
|
|
|
- border: 1px solid $color-input-border;
|
|
|
- border-width: 0 0 0 1px;
|
|
|
- text-align: center;
|
|
|
- line-height: 1.4em;
|
|
|
- font-size: 3em;
|
|
|
- pointer-events: none;
|
|
|
- color: $color-grey-3;
|
|
|
- margin: 0 1px 1px 0;
|
|
|
-
|
|
|
- .ie & {
|
|
|
- display: none;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-input[type=radio],
|
|
|
-input[type=checkbox] {
|
|
|
- border-radius: 0;
|
|
|
- cursor: pointer;
|
|
|
- border: 0;
|
|
|
-}
|
|
|
-
|
|
|
-input[type=radio] {
|
|
|
- height: 12px;
|
|
|
- width: auto;
|
|
|
- position: relative;
|
|
|
- margin-right: 27px;
|
|
|
-}
|
|
|
-
|
|
|
-input[type=radio]:before {
|
|
|
- border-radius: 100%;
|
|
|
- font-family: wagtail;
|
|
|
- font-style: normal;
|
|
|
- text-align: center;
|
|
|
- position: absolute;
|
|
|
- top: -5px;
|
|
|
- left: -2px;
|
|
|
- cursor: pointer;
|
|
|
- display: block;
|
|
|
- content: 'K';
|
|
|
- width: 1em;
|
|
|
- height: 1em;
|
|
|
- line-height: 1.1em;
|
|
|
- padding: 4px;
|
|
|
- background-color: $color-white;
|
|
|
- color: $color-grey-4;
|
|
|
- border: 1px solid $color-grey-4;
|
|
|
-}
|
|
|
-
|
|
|
-input[type=radio]:checked:before {
|
|
|
- content: 'K';
|
|
|
- color: $color-teal;
|
|
|
-}
|
|
|
-
|
|
|
-input[type=checkbox] {
|
|
|
- height: 12px;
|
|
|
- width: auto;
|
|
|
- position: relative;
|
|
|
- margin-right: 27px;
|
|
|
-}
|
|
|
-
|
|
|
-input[type=checkbox]:before {
|
|
|
- font-family: wagtail;
|
|
|
- font-style: normal;
|
|
|
- text-align: center;
|
|
|
- position: absolute;
|
|
|
- top: -5px;
|
|
|
- cursor: pointer;
|
|
|
- display: block;
|
|
|
- content: 'x';
|
|
|
- line-height: 20px;
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
- background-color: $color-white;
|
|
|
- border: 1px solid $color-grey-4;
|
|
|
- color: $color-white;
|
|
|
-}
|
|
|
-
|
|
|
-input[type=checkbox]:checked:before {
|
|
|
- color: $color-teal;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.button {
|
|
|
- border-radius: 3px;
|
|
|
- font-family: Open Sans,Arial,sans-serif;
|
|
|
- width: auto;
|
|
|
- height: 2.4em;
|
|
|
- padding: 0 1em;
|
|
|
- font-size: 0.9em;
|
|
|
- font-weight: normal;
|
|
|
- vertical-align: middle;
|
|
|
- display: inline-block;
|
|
|
- background-color: $color-button;
|
|
|
- border: 1px solid $color-button;
|
|
|
- color: $color-white;
|
|
|
- text-decoration: none;
|
|
|
- text-transform: uppercase;
|
|
|
- white-space: nowrap;
|
|
|
- position: relative;
|
|
|
- overflow: hidden;
|
|
|
- outline: none;
|
|
|
- box-sizing: border-box;
|
|
|
- -webkit-font-smoothing: auto;
|
|
|
-
|
|
|
- -moz-appearance: none;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $color-teal;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- &.yes {
|
|
|
- background-color: $color-button-yes;
|
|
|
- border: 1px solid $color-button-yes;
|
|
|
-
|
|
|
- &.button-secondary {
|
|
|
- border: 1px solid $color-button-yes;
|
|
|
- color: $color-button-yes;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $color-white;
|
|
|
- border-color: transparent;
|
|
|
- background-color: $color-button-yes-hover;
|
|
|
- }
|
|
|
-
|
|
|
- &.button-nobg:hover {
|
|
|
- color: $color-button-yes;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.warning {
|
|
|
- background-color: $color-button-warning;
|
|
|
- border: 1px solid $color-button-warning;
|
|
|
-
|
|
|
- &.button-secondary {
|
|
|
- border: 1px solid $color-button-warning;
|
|
|
- color: $color-button-warning;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $color-white;
|
|
|
- border-color: transparent;
|
|
|
- background-color: $color-button-warning-hover;
|
|
|
- }
|
|
|
-
|
|
|
- &.button-nobg:hover {
|
|
|
- color: $color-button-warning;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- &.no,
|
|
|
- &.serious {
|
|
|
- background-color: $color-button-no;
|
|
|
- border: 1px solid $color-button-no;
|
|
|
-
|
|
|
- &.button-secondary {
|
|
|
- border: 1px solid $color-button-no;
|
|
|
- color: $color-button-no;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $color-white;
|
|
|
- border-color: transparent;
|
|
|
- background-color: $color-button-no-hover;
|
|
|
- }
|
|
|
-
|
|
|
- &.button-nobg:hover {
|
|
|
- color: $color-button-no;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.button-nobg {
|
|
|
- border: 0;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
-
|
|
|
- &.bicolor {
|
|
|
- border: 0;
|
|
|
- padding-left: 3.5em;
|
|
|
-
|
|
|
- &:before {
|
|
|
- font-size: 1rem;
|
|
|
- position: absolute;
|
|
|
- left: 0;
|
|
|
- top: 0;
|
|
|
- width: 2em;
|
|
|
- line-height: 1.85em;
|
|
|
- height: 100%;
|
|
|
- text-align: center;
|
|
|
- background-color: rgba(0, 0, 0, 0.2);
|
|
|
- display: block;
|
|
|
- border-top-left-radius: inherit;
|
|
|
- border-bottom-left-radius: inherit;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.button-small.bicolor {
|
|
|
- padding-left: 3.5em;
|
|
|
-
|
|
|
- &:before {
|
|
|
- width: 2em;
|
|
|
- font-size: 0.9rem;
|
|
|
- line-height: 1.65em;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- + .button {
|
|
|
-
|
|
|
- margin-left: 1em;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- &.unbutton {
|
|
|
- border-radius: 0;
|
|
|
- width: auto;
|
|
|
- height: auto;
|
|
|
- padding: 0;
|
|
|
- font-size: inherit;
|
|
|
- font-weight: normal;
|
|
|
- vertical-align: middle;
|
|
|
- display: inline;
|
|
|
- background-color: transparent;
|
|
|
- border: 0;
|
|
|
- color: inherit;
|
|
|
- text-decoration: none;
|
|
|
- text-transform: uppercase;
|
|
|
- white-space: nowrap;
|
|
|
- position: relative;
|
|
|
- overflow: hidden;
|
|
|
- outline: none;
|
|
|
- box-sizing: border-box;
|
|
|
- -webkit-font-smoothing: auto;
|
|
|
-
|
|
|
- -moz-appearance: none;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- background-color: $color-button-hover;
|
|
|
- color: $color-white;
|
|
|
- border-color: transparent;
|
|
|
-
|
|
|
- &.hover-no {
|
|
|
- background-color: $color-button-no;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.button-longrunning {
|
|
|
- span {
|
|
|
- @include transition(all 0.3s ease);
|
|
|
- transform: scale(0.9);
|
|
|
- display: inline-block;
|
|
|
- height: 0.9em;
|
|
|
- position: relative;
|
|
|
- opacity: 0;
|
|
|
- width: 0;
|
|
|
- visibility: hidden;
|
|
|
- text-align: center;
|
|
|
- padding-right: 0;
|
|
|
- }
|
|
|
-
|
|
|
- em {
|
|
|
- font-style: normal;
|
|
|
- }
|
|
|
-
|
|
|
- &.button-longrunning-active span {
|
|
|
- transform: scale(1);
|
|
|
- visibility: visible;
|
|
|
- width: 1em;
|
|
|
- opacity: 0.8;
|
|
|
- padding-right: 0.5em;
|
|
|
- }
|
|
|
-
|
|
|
- .icon-spinner:after {
|
|
|
- text-align: center;
|
|
|
- position: absolute;
|
|
|
- left: 0;
|
|
|
- margin: 0;
|
|
|
- line-height: 1em;
|
|
|
- display: inline-block;
|
|
|
- font-size: 1em;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &:disabled,
|
|
|
- &[disabled],
|
|
|
- &.disabled {
|
|
|
- background-color: $color-grey-3;
|
|
|
- border-color: $color-grey-3;
|
|
|
- color: lighten($color-grey-2, 15%);
|
|
|
- cursor: default;
|
|
|
- }
|
|
|
-
|
|
|
- &.button-secondary:disabled,
|
|
|
- &.button-secondary[disabled],
|
|
|
- &.button-secondary.disabled {
|
|
|
- background-color: $color-white;
|
|
|
- border-color: $color-grey-3;
|
|
|
- color: $color-grey-3;
|
|
|
- }
|
|
|
-
|
|
|
- &.button-nostroke {
|
|
|
- border: 0;
|
|
|
- }
|
|
|
-
|
|
|
- @include media-breakpoint-up(sm) {
|
|
|
- font-size: 0.95em;
|
|
|
- padding: 0 1.4em;
|
|
|
- height: 3em;
|
|
|
-
|
|
|
- &.icon.text-replace {
|
|
|
- width: 2.2rem;
|
|
|
- height: 2.2rem;
|
|
|
-
|
|
|
- &:before {
|
|
|
- line-height: 2.1em;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.button-small {
|
|
|
- &.icon.text-replace {
|
|
|
- height: 1.8rem;
|
|
|
- width: 1.8rem;
|
|
|
-
|
|
|
-
|
|
|
- &:before {
|
|
|
- line-height: 1.7em;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.bicolor {
|
|
|
- padding-left: 3.7em;
|
|
|
-
|
|
|
- &:before {
|
|
|
- width: 2em;
|
|
|
- line-height: 2.2em;
|
|
|
- font-size: 1.1rem;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.button-small.bicolor {
|
|
|
-
|
|
|
- padding-left: 3em;
|
|
|
-
|
|
|
- &:before {
|
|
|
- width: 1.8em;
|
|
|
- line-height: 1.65em;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.button-small {
|
|
|
- padding: 0 0.8em;
|
|
|
- height: 2em;
|
|
|
- font-size: 0.95em;
|
|
|
-}
|
|
|
-
|
|
|
-.button-secondary {
|
|
|
- color: $color-button;
|
|
|
- background-color: transparent;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.button.icon.text-replace {
|
|
|
- font-size: 0;
|
|
|
- width: 1.8rem;
|
|
|
- height: 1.8rem;
|
|
|
-
|
|
|
- &:before {
|
|
|
- line-height: 1.7em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.button-neutral {
|
|
|
- color: $color-grey-2;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $color-teal;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.yes {
|
|
|
- background-color: $color-button-yes;
|
|
|
- border: 1px solid $color-button-yes;
|
|
|
-
|
|
|
- &.button-secondary {
|
|
|
- border: 1px solid $color-button-yes;
|
|
|
- color: $color-button-yes;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $color-white;
|
|
|
- border-color: transparent;
|
|
|
- background-color: $color-button-yes-hover;
|
|
|
- }
|
|
|
-
|
|
|
- &.button-nobg:hover {
|
|
|
- color: $color-button-yes;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.no,
|
|
|
-.serious {
|
|
|
- background-color: $color-button-no;
|
|
|
- border: 1px solid $color-button-no;
|
|
|
-
|
|
|
- &.button-secondary {
|
|
|
- border: 1px solid $color-button-no;
|
|
|
- color: $color-button-no;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: $color-white;
|
|
|
- border-color: transparent;
|
|
|
- background-color: $color-button-no-hover;
|
|
|
- }
|
|
|
-
|
|
|
- &.button-nobg:hover {
|
|
|
- color: $color-button-no;
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.button-nobg {
|
|
|
- border: 0;
|
|
|
- background-color: transparent;
|
|
|
-}
|
|
|
-
|
|
|
-.bicolor {
|
|
|
- border: 0;
|
|
|
- padding-left: 3.5em;
|
|
|
-
|
|
|
- &:before {
|
|
|
- font-size: 1rem;
|
|
|
- position: absolute;
|
|
|
- left: 0;
|
|
|
- top: 0;
|
|
|
- width: 2em;
|
|
|
- line-height: 1.85em;
|
|
|
- height: 100%;
|
|
|
- text-align: center;
|
|
|
- background-color: rgba(0, 0, 0, 0.2);
|
|
|
- display: block;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.button-small.bicolor {
|
|
|
- padding-left: 3.5em;
|
|
|
-
|
|
|
- &:before {
|
|
|
- width: 2em;
|
|
|
- font-size: 0.8rem;
|
|
|
- line-height: 1.65em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-a.button {
|
|
|
- line-height: 2.4em;
|
|
|
- height: auto;
|
|
|
-
|
|
|
- &.button-small {
|
|
|
- line-height: 1.85em;
|
|
|
- }
|
|
|
-
|
|
|
- @include media-breakpoint-up(sm) {
|
|
|
- line-height: 2.9em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-input[type=submit],
|
|
|
-input[type=reset],
|
|
|
-input[type=button],
|
|
|
-button {
|
|
|
- padding: 0 1em;
|
|
|
-
|
|
|
- @include media-breakpoint-up(sm) {
|
|
|
- &.button-small {
|
|
|
- height: 2em;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.button-group {
|
|
|
- @include clearfix;
|
|
|
-
|
|
|
- input[type=submit],
|
|
|
- input[type=reset],
|
|
|
- input[type=button],
|
|
|
- .button,
|
|
|
- button {
|
|
|
- border-radius: 0;
|
|
|
- float: left;
|
|
|
- margin-right: 1px;
|
|
|
- margin-left: 0;
|
|
|
-
|
|
|
- &:only-child {
|
|
|
- border-radius: 3px;
|
|
|
- }
|
|
|
-
|
|
|
- &:first-child {
|
|
|
- border-radius: 3px 0 0 3px;
|
|
|
- }
|
|
|
-
|
|
|
- &:last-child {
|
|
|
- border-radius: 0 3px 3px 0;
|
|
|
- margin-right: 0;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.button-group-square {
|
|
|
- &,
|
|
|
- input[type=submit],
|
|
|
- input[type=reset],
|
|
|
- input[type=button],
|
|
|
- .button,
|
|
|
- button {
|
|
|
- border-radius: 0;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.multiple {
|
|
|
- padding: 0;
|
|
|
- max-width: 1024px - 50px;
|
|
|
- overflow: hidden;
|
|
|
-
|
|
|
- > li {
|
|
|
- @include row();
|
|
|
- border-radius: 2px;
|
|
|
- position: relative;
|
|
|
- overflow: hidden;
|
|
|
- background-color: $color-white;
|
|
|
- padding: 1em 10em 1em 1.5em;
|
|
|
- margin-bottom: 1em;
|
|
|
- border: 1px solid lighten($color-grey-4, 3%);
|
|
|
- }
|
|
|
-
|
|
|
- &.moving {
|
|
|
- position: relative;
|
|
|
- }
|
|
|
-
|
|
|
- li.moving {
|
|
|
- position: absolute;
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
-
|
|
|
- fieldset {
|
|
|
- padding-top: 0;
|
|
|
- padding-bottom: 0;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- .controls {
|
|
|
- position: absolute;
|
|
|
- z-index: 1;
|
|
|
- right: 1em;
|
|
|
- top: 1em;
|
|
|
- color: $color-white;
|
|
|
-
|
|
|
- li {
|
|
|
- float: left;
|
|
|
- margin-right: 1px;
|
|
|
-
|
|
|
- &:last-child {
|
|
|
- margin-right: 0;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .disabled {
|
|
|
- display: none;
|
|
|
- visibility: hidden;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.add {
|
|
|
- font-weight: 700;
|
|
|
- cursor: pointer;
|
|
|
- margin-top: 0;
|
|
|
- margin-bottom: 0;
|
|
|
- padding-top: 1em;
|
|
|
- padding-bottom: 2em;
|
|
|
- clear: both;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.help,
|
|
|
-.error-message {
|
|
|
- font-size: 0.85em;
|
|
|
- font-weight: normal;
|
|
|
- margin: 0.5em 0 0;
|
|
|
-}
|
|
|
-
|
|
|
-.error-message {
|
|
|
- color: $color-red;
|
|
|
-}
|
|
|
-
|
|
|
-.help {
|
|
|
- color: $color-grey-2;
|
|
|
-}
|
|
|
-
|
|
|
-fieldset:hover > .help,
|
|
|
-.field.focused + .help,
|
|
|
-.field:focus + .help,
|
|
|
-.field:hover + .help,
|
|
|
-li.focused > .help {
|
|
|
- opacity: 1;
|
|
|
-}
|
|
|
-
|
|
|
-.required .field > label:after {
|
|
|
- content: '*';
|
|
|
- color: $color-red;
|
|
|
- font-weight: bold;
|
|
|
- display: inline-block;
|
|
|
- margin-left: 0.5em;
|
|
|
- line-height: 1em;
|
|
|
- font-size: 13px;
|
|
|
-}
|
|
|
-
|
|
|
-.error input,
|
|
|
-.error textarea,
|
|
|
-.error select,
|
|
|
-.error .tagit {
|
|
|
- border-color: $color-red;
|
|
|
- background-color: $color-input-error-bg;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.boolean_field .help,
|
|
|
-.radio .help {
|
|
|
- opacity: 1;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.iconfield,
|
|
|
-.date_field,
|
|
|
-.time_field,
|
|
|
-.date_time_field,
|
|
|
-.url_field {
|
|
|
- .input {
|
|
|
- position: relative;
|
|
|
-
|
|
|
- &:before,
|
|
|
- &:after {
|
|
|
- font-family: wagtail;
|
|
|
- position: absolute;
|
|
|
- top: 0.5em;
|
|
|
- line-height: 100%;
|
|
|
- font-size: 2em;
|
|
|
- color: $color-grey-3;
|
|
|
- }
|
|
|
-
|
|
|
- &:before {
|
|
|
- left: 0.3em;
|
|
|
- }
|
|
|
-
|
|
|
- &:after {
|
|
|
- right: 0.5em;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- input:not([type=radio]),
|
|
|
- input:not([type=checkbox]),
|
|
|
- input:not([type=submit]),
|
|
|
- input:not([type=button]) {
|
|
|
- padding-left: 2.5em;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- &.field-small {
|
|
|
- .input {
|
|
|
- &:before,
|
|
|
- &:after {
|
|
|
- font-size: 1.3rem;
|
|
|
- top: 0.3em;
|
|
|
- }
|
|
|
-
|
|
|
- &:before {
|
|
|
- left: 0.5em;
|
|
|
- }
|
|
|
-
|
|
|
- &:after {
|
|
|
- right: 0.5em;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- &.icon-spinner:after {
|
|
|
- color: $color-teal;
|
|
|
- opacity: 0.8;
|
|
|
- text-align: center;
|
|
|
- top: 0.3em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.date_field,
|
|
|
-.date_time_field {
|
|
|
- .input:before {
|
|
|
- @extend .icon-date:before;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.time_field {
|
|
|
- .input:before {
|
|
|
- @extend .icon-time:before;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.url_field {
|
|
|
- .input:before {
|
|
|
- @extend .icon-link:before;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.model_multiple_choice_field .input li,
|
|
|
-.choice_field .input li {
|
|
|
- label {
|
|
|
- display: block;
|
|
|
- width: auto;
|
|
|
- float: none;
|
|
|
- padding-top: 0;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.fields > li,
|
|
|
-.field-col {
|
|
|
- @include clearfix();
|
|
|
- padding-top: 0.5em;
|
|
|
- padding-bottom: 1.2em;
|
|
|
-}
|
|
|
-
|
|
|
-.field-row {
|
|
|
- @include clearfix();
|
|
|
-
|
|
|
-
|
|
|
- margin-bottom: -1.2em;
|
|
|
-}
|
|
|
-
|
|
|
-.input {
|
|
|
- clear: both;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.field-small {
|
|
|
- input,
|
|
|
- textarea,
|
|
|
- select,
|
|
|
- .halloeditor,
|
|
|
- .tagit {
|
|
|
- border-radius: 3px;
|
|
|
- padding: 0.4em 1em;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.field {
|
|
|
- &.col1,
|
|
|
- &.col2,
|
|
|
- &.col3,
|
|
|
- &.col4,
|
|
|
- &.col5,
|
|
|
- &.col6,
|
|
|
- &.col7,
|
|
|
- &.col8,
|
|
|
- &.col9,
|
|
|
- &.col10,
|
|
|
- &.col11,
|
|
|
- &.col12 { clear: both;}
|
|
|
-}
|
|
|
-
|
|
|
-li.inline .field {
|
|
|
- &.col1,
|
|
|
- &.col2,
|
|
|
- &.col3,
|
|
|
- &.col4,
|
|
|
- &.col5,
|
|
|
- &.col6,
|
|
|
- &.col7,
|
|
|
- &.col8,
|
|
|
- &.col9,
|
|
|
- &.col10,
|
|
|
- &.col11,
|
|
|
- &.col12 { clear: none;}
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-ul.inline li:first-child,
|
|
|
-li.inline:first-child {
|
|
|
- margin-left: -$grid-gutter-width / 2;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.chooser {
|
|
|
-
|
|
|
- @include clearfix();
|
|
|
-
|
|
|
- input[type=text] {
|
|
|
- float: left;
|
|
|
- width: 50%;
|
|
|
- margin-right: 1em;
|
|
|
- }
|
|
|
-
|
|
|
- .chosen {
|
|
|
- display: block;
|
|
|
- }
|
|
|
-
|
|
|
- .unchosen,
|
|
|
- .chosen {
|
|
|
- position: relative;
|
|
|
-
|
|
|
- &:before {
|
|
|
- vertical-align: middle;
|
|
|
- font-family: wagtail;
|
|
|
- content: '';
|
|
|
-
|
|
|
- display: inline-block;
|
|
|
-
|
|
|
- color: $color-grey-3;
|
|
|
- line-height: 1em;
|
|
|
- font-size: 2.5em;
|
|
|
- margin-right: 0.3em;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .unchosen {
|
|
|
- display: none;
|
|
|
- }
|
|
|
-
|
|
|
- .actions {
|
|
|
- @include clearfix;
|
|
|
- overflow: hidden;
|
|
|
-
|
|
|
- li {
|
|
|
- float: left;
|
|
|
- margin: 0.3em;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- &.blank {
|
|
|
- .chosen { display: none; }
|
|
|
-
|
|
|
- .unchosen { display: block; }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.page-chooser,
|
|
|
-.snippet-chooser,
|
|
|
-.document-chooser {
|
|
|
- .chosen {
|
|
|
- .title {
|
|
|
- color: $color-grey-1;
|
|
|
-
|
|
|
- padding-left: 1em;
|
|
|
- display: inline-block;
|
|
|
- }
|
|
|
-
|
|
|
- .actions {
|
|
|
- clear: both;
|
|
|
- padding-top: 0.6em;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.page-chooser {
|
|
|
- .unchosen,
|
|
|
- .chosen {
|
|
|
- &:before {
|
|
|
- content: 'b';
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.snippet-chooser {
|
|
|
- .unchosen,
|
|
|
- .chosen {
|
|
|
- &:before {
|
|
|
- content: 'D';
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.document-chooser {
|
|
|
- .unchosen,
|
|
|
- .chosen {
|
|
|
- &:before {
|
|
|
- content: 'r';
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.image-chooser {
|
|
|
- .unchosen,
|
|
|
- .chosen {
|
|
|
- &:before {
|
|
|
- content: 'o';
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .chosen {
|
|
|
- padding-left: $thumbnail-width;
|
|
|
-
|
|
|
- &:before {
|
|
|
- content: '';
|
|
|
- }
|
|
|
-
|
|
|
- .preview-image {
|
|
|
- float: left;
|
|
|
- margin-left: -($thumbnail-width);
|
|
|
- margin-right: 1em;
|
|
|
- max-width: $thumbnail-width;
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- img {
|
|
|
- max-width: $thumbnail-width;
|
|
|
- max-height: $thumbnail-width;
|
|
|
- height: auto;
|
|
|
- width: auto;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.tagit {
|
|
|
- padding: 0.6em 1.2em;
|
|
|
-
|
|
|
- .tagit-choice {
|
|
|
- border: 0;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.admin_tag_widget ul.tagit input[type='text'] {
|
|
|
- padding: 0.2em 0.5em;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.admin_tag_widget ul.tagit li.tagit-choice-editable {
|
|
|
- padding: 0 23px 0 0;
|
|
|
-}
|
|
|
-
|
|
|
-.ui-front {
|
|
|
- z-index: 1000;
|
|
|
-}
|
|
|
-
|
|
|
-.tagit-close {
|
|
|
- .ui-icon-close {
|
|
|
- margin-left: 1em;
|
|
|
- text-indent: 0;
|
|
|
- background: none;
|
|
|
- }
|
|
|
-
|
|
|
- .ui-icon-close:before {
|
|
|
- font-family: wagtail;
|
|
|
- display: block;
|
|
|
- color: $color-grey-3;
|
|
|
- content: 'g';
|
|
|
- }
|
|
|
-
|
|
|
- .ui-icon-close:hover:before {
|
|
|
- color: $color-red;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.search-bar {
|
|
|
- .required .field > label:after {
|
|
|
- display: none;
|
|
|
- }
|
|
|
-
|
|
|
- .button-filter {
|
|
|
- height: 2.71em;
|
|
|
- border-color: transparent;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.drop-zone {
|
|
|
- border-radius: 5px;
|
|
|
- border: 2px dashed $color-grey-4;
|
|
|
- padding: $mobile-nice-padding;
|
|
|
- background-color: $color-grey-5;
|
|
|
- margin-bottom: 1em;
|
|
|
- text-align: center;
|
|
|
-
|
|
|
- .drop-zone-help {
|
|
|
- border: 0;
|
|
|
- }
|
|
|
-
|
|
|
- &.hovered {
|
|
|
- border-color: $color-teal;
|
|
|
- background-color: $color-input-focus;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-fieldset,
|
|
|
-input,
|
|
|
-textarea,
|
|
|
-select {
|
|
|
- @include transition(background-color 0.2s ease);
|
|
|
-}
|
|
|
-
|
|
|
-.help {
|
|
|
- @include transition(opacity 0.2s ease);
|
|
|
-}
|
|
|
-
|
|
|
-.label-uppercase {
|
|
|
- .field > label {
|
|
|
- text-transform: uppercase;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-@include media-breakpoint-up(sm) {
|
|
|
- label {
|
|
|
- @include column(2);
|
|
|
- padding-top: 1.2em;
|
|
|
- padding-left: 0;
|
|
|
-
|
|
|
- .radio_select &,
|
|
|
- .model_multiple_choice_field &,
|
|
|
- .boolean_field &,
|
|
|
- .model_choice_field &,
|
|
|
- .image_field & {
|
|
|
- padding-top: 0;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- .model_choice_field.select & {
|
|
|
- padding-top: 1.2em;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .help {
|
|
|
- opacity: 1;
|
|
|
- }
|
|
|
-
|
|
|
- .fields {
|
|
|
- max-width: 800px;
|
|
|
- }
|
|
|
-
|
|
|
- .field {
|
|
|
- @include row();
|
|
|
- }
|
|
|
-
|
|
|
- .field-content {
|
|
|
- @include column(10, 0);
|
|
|
- }
|
|
|
-
|
|
|
- .field-col {
|
|
|
- float: left;
|
|
|
- padding-left: 0;
|
|
|
-
|
|
|
-
|
|
|
- &.col4 {
|
|
|
- label {
|
|
|
- @include column(2, 0, 4);
|
|
|
- }
|
|
|
-
|
|
|
- .field-content {
|
|
|
- @include column(2, $padding, 4);
|
|
|
- padding-left: 0;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- &.col6 {
|
|
|
- label {
|
|
|
- @include column(2, 0, 6);
|
|
|
- }
|
|
|
-
|
|
|
- .field-content {
|
|
|
- @include column(4, $padding, 6);
|
|
|
- padding-left: 0;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .label-above {
|
|
|
- .field > label,
|
|
|
- .field > .field-content {
|
|
|
- display: block;
|
|
|
- padding: 0 0 0.8em;
|
|
|
- float: none;
|
|
|
- width: auto;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|