|
- @charset "UTF-8";
- webforms-component{
- .form-progress {
- position: relative;
- display: flex;
- list-style: none;
- margin: calc(2% + 20px) -2px;
- padding: 0;
- counter-reset: progress;
-
- > li {
- flex: 1 1 100%;
- font-family: "Korb", sans-serif;
- margin: 0;
- padding: 14px 24px;
- background-color: $color-secondary-light;
- background-color: var(--theme-color-secondary-dimmed, $color-secondary-light);
-
- @media(max-width: 567px) {
- padding: 12px 6px 12px 12px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-size: 16px;
- }
-
- &:before {
- counter-increment: progress;
- content: counter(progress) ". ";
- }
-
- + li {
- margin-left: 6px;
-
- @media(max-width: 567px) {
- margin-left: 2px;
- }
- }
-
- &.active {
- background-color: $color-secondary;
- background-color: var(--theme-color-secondary, $color-secondary);
- }
-
- &:first-child {
- border-radius: 24px 0 0 24px;
- }
- &:last-child {
- border-radius: 0 24px 24px 0;
- }
- }
- }
-
- input[type="checkbox"].form-control {
- width: 20px;
- padding: 0;
- }
-
- input[type="checkbox"], input[type="radio"] {
- appearance: none;
- -webkit-appearance: none;
- background-color: $color-white;
- border: 1px solid $color-primary;
- border: 1px solid var(--theme-color-primary, $color-primary);
- width: 20px;
- height: 20px;
- border-radius: 4px;
- display: inline-block;
- vertical-align: top;
- top: 2px;
- margin-right: 6px;
- position: relative;
- background-size: 20px;
- background-position: center;
- background-repeat: no-repeat;
- background-image: url("../../../img/check.svg");
- transition: 0.25s ease;
- //@media (prefers-color-scheme: dark) {
- // background-image: url("../../../img/check-dark.svg");
- //}
- @media(max-width: 1199px) {
- top: 0;
- }
-
- &:checked {
- background-color: $color-primary;
- background-color: var(--theme-color-primary, $color-primary);
- }
-
- &.half-checked {
- background-color: $color-secondary;
- background-color: var(--theme-color-secondary, $color-secondary);
- background-image: url("../../../img/half-check.svg");
- //@media (prefers-color-scheme: dark) {
- // background-image: url("../../../img/half-check-dark.svg");
- //}
- }
-
- ~ label {
- display: inline-block;
- vertical-align: top;
- max-width: calc(100% - 40px);
- margin-top: 4px;
-
- @media(min-width: 1200px) {
- font-size: 22px;
- line-height: 1.2;
- }
-
- @media(max-width: 767px) {
- margin-top: 2px;
- }
- }
- }
-
- input[type="radio"] {
- border-radius: 50%;
- top: 1px;
- margin-left: -1px;
- width: 22px;
- height: 22px;
-
- @media(max-width: 1199px) {
- top: -1px;
- }
- }
-
- fieldset {
- margin: 0;
- }
-
- input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="datetime"],input[type="tel"], select, select.form-control, textarea, textarea.form-control {
- position: relative;
- display: block;
- width: 100%;
- height: 60px;
- background-color: $color-white;
- border: 1px solid $color-primary;
- border: 1px solid var(--theme-color-primary, $color-primary);
- border-radius: 4px;
- padding: 10px 15px;
- font-family: 'Source Sans Pro', sans-serif;
- font-size: 22px;
- line-height: 1.5;
- transition: 0.3s ease;
-
- &:focus {
- box-shadow: 0 0 0 2px $color-secondary-dark, 0 0 8px 2px lighten($color-secondary-dark, 20);
- box-shadow: 0 0 0 2px var(--theme-color-secondary-intensed, $color-secondary-dark), 0 0 8px 2px var(--theme-color-secondary-intensed, lighten($color-secondary-dark, 20));
- outline: 0;
- }
-
- &::-webkit-input-placeholder {
- color: $color-secondary-dark;
- color: var(--theme-color-secondary-intensed, $color-secondary-dark);
- }
- &:-ms-input-placeholder {
- color: $color-secondary-dark;
- color: var(--theme-color-secondary-intensed, $color-secondary-dark);
- }
- &::placeholder {
- color: $color-secondary-dark;
- color: var(--theme-color-secondary-intensed, $color-secondary-dark);
- }
-
- @media(max-width: 1199px) {
- height: 50px;
- font-size: 20px;
- }
- @media(max-width: 767px) {
- height: 44px;
- font-size: 18px;
- }
- }
-
- select, select.form-control {
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- background-image: url('../../../img/dropdown-arrow.svg');
- background-repeat: no-repeat;
- background-position: right center;
- color: $color-primary;
- color: var(--theme-color-primary, $color-primary);
- background-size: 38px;
- padding-right: 42px;
-
- @media(max-width: 1199px) {
- background-size: 30px;
- padding-right: 34px;
- }
- }
-
- select::-ms-expand {
- display: none;
- }
-
- select[multiple] {
- background-image: none;
- }
-
- textarea, textarea.form-control {
- height: auto;
- }
-
- [data-browser="chrome"] {
- select {
- padding-left: 10px;
- }
- }
-
- label {
- font-size: 18px;
- font-weight: 400;
- margin: 0;
-
- a:hover {
- color: $color-link-hover;
- color: var(--theme-color-link-hover, $color-link-hover);
- }
- }
-
- .contact-form {
- label {
- margin-top: 20px;
-
- @media(max-width: 767px) {
- margin-top: 16px;
- }
- }
-
- .form-title {
- margin-bottom: 10px;
- }
-
- input[type="checkbox"] {
- margin-top: 20px;
- }
- }
-
- .mwf-option {
- display: block;
- margin-right: 24px;
- white-space: nowrap;
- }
- .mfw-s, .mfw-l {
- .mwf-input fieldset .mwf-option {
- display: table-cell;
- padding-right: 20px;
- }
- }
- .mwf-option label {
- white-space: initial;
- }
-
- .row.mwf-field, .mwf-form .row {
- margin-bottom: 20px;
- margin-left: -15px;
- margin-right: -15px;
- .input-wrapper:not([class^="col-"]) {
- position: relative;
- min-height: 1px;
- padding-right: 15px;
- padding-left: 15px;
- }
- }
-
- .mwf-s{
- .input-wrapper:not(.for-input){
- display: table-cell;
- .mwf-label{
- float: left;
- display: table-cell;
- }
- }
-
- .mwf-label{
- padding-right: 20px;
- }
- .for-input{
- .mwf-label{
- display: table-cell;
- white-space: nowrap;
- }
- }
- .mwf-input{
- display: table-cell;
- width: 100%;
- }
- }
-
- .mwf-m{
- display: block;
- .mwf-option{
- float: left;
- }
- }
-
- label p {
- margin: 0;
- }
-
- .mwf-hint, .mwf-hint ~ p {
- position: relative;
- margin: 0;
- font-size: 16px;
- text-align: right;
- font-weight: 600;
- top: 14px;
- }
-
- .mwf-hint {
- margin-bottom: -10px;
- }
-
- .webform-buttons {
- padding-top: 30px;
- position: relative;
- border-top: 1px solid $color-primary-light-03;
- display: flex;
- flex-wrap: wrap;
-
- > .mwf-button {
- margin: 0 6px;
-
- &:first-child {
- margin-left: 0;
- }
- }
-
- .mwf-next {
- order: 1;
- margin-left: auto !important;
- margin-right: 0;
- }
-
- .btn {
- transition: 0.3s ease;
-
- &[data-type="back"], &[data-type="cancel"] {
- @extend .icon-pfeil-links;
- padding-left: 58px;
-
- &:before {
- font-family: "Icons";
- position: absolute;
- left: 16px;
- top: 50%;
- font-size: 30px;
- line-height: 1;
- margin-top: -15px;
-
- @media(max-width: 767px) {
- font-size: 24px;
- margin-top: -12px;
- }
- }
- }
-
- &[data-type="cancel"] {
- @extend .icon-schliessen;
- }
-
- &[data-type="next"] {
- @extend .icon-pfeil-rechts;
- background-color: $color-primary;
- background-color: var(--theme-color-primary, $color-primary);
- color: white;
-
- &:hover {
- box-shadow: 0 0 0 5px rgba($color-primary, 0.3);
- box-shadow: 0 0 0 5px rgba(var(--theme-color-primary-rgb, $color-primary-rgb), 0.3);
- color: white;
- }
- }
- }
- }
-
- .review-wrapper .webform-buttons .submit {
- float: none;
- }
-
- }
-
-
- /*
- .mwf-button.mwf-next {
- position: relative;
- border-top: 1px solid $color-primary-light-03;
- @extend .icon-pfeil-rechts;
- padding-top: 30px;
-
- &:before {
- z-index: 1;
- position: absolute;
- right: 20px;
- font-family: "Icons";
- font-size: 30px;
- line-height: 1;
- top: 46px;
- pointer-events: none;
-
- @media(max-width: 767px) {
- font-size: 24px;
- top: 40px;
- }
- }
-
- &:after {
- content: "";
- position: relative;
- display: block;
- clear: both;
- }
- }
- */
|