You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

417 regels
8.6 KiB

  1. @charset "UTF-8";
  2. webforms-component{
  3. .form-progress {
  4. position: relative;
  5. display: flex;
  6. list-style: none;
  7. margin: calc(2% + 20px) -2px;
  8. padding: 0;
  9. counter-reset: progress;
  10. > li {
  11. flex: 1 1 100%;
  12. font-family: "Korb", sans-serif;
  13. margin: 0;
  14. padding: 14px 24px;
  15. background-color: $color-secondary-light;
  16. background-color: var(--theme-color-secondary-dimmed, $color-secondary-light);
  17. @media(max-width: 567px) {
  18. padding: 12px 6px 12px 12px;
  19. white-space: nowrap;
  20. overflow: hidden;
  21. text-overflow: ellipsis;
  22. font-size: 16px;
  23. }
  24. &:before {
  25. counter-increment: progress;
  26. content: counter(progress) ". ";
  27. }
  28. + li {
  29. margin-left: 6px;
  30. @media(max-width: 567px) {
  31. margin-left: 2px;
  32. }
  33. }
  34. &.active {
  35. background-color: $color-secondary;
  36. background-color: var(--theme-color-secondary, $color-secondary);
  37. }
  38. &:first-child {
  39. border-radius: 24px 0 0 24px;
  40. }
  41. &:last-child {
  42. border-radius: 0 24px 24px 0;
  43. }
  44. }
  45. }
  46. input[type="checkbox"].form-control {
  47. width: 20px;
  48. padding: 0;
  49. }
  50. input[type="checkbox"], input[type="radio"] {
  51. appearance: none;
  52. -webkit-appearance: none;
  53. background-color: $color-white;
  54. border: 1px solid $color-primary;
  55. border: 1px solid var(--theme-color-primary, $color-primary);
  56. width: 20px;
  57. height: 20px;
  58. border-radius: 4px;
  59. display: inline-block;
  60. vertical-align: top;
  61. top: 2px;
  62. margin-right: 6px;
  63. position: relative;
  64. background-size: 20px;
  65. background-position: center;
  66. background-repeat: no-repeat;
  67. background-image: url("../../../img/check.svg");
  68. transition: 0.25s ease;
  69. //@media (prefers-color-scheme: dark) {
  70. // background-image: url("../../../img/check-dark.svg");
  71. //}
  72. @media(max-width: 1199px) {
  73. top: 0;
  74. }
  75. &:checked {
  76. background-color: $color-primary;
  77. background-color: var(--theme-color-primary, $color-primary);
  78. }
  79. &.half-checked {
  80. background-color: $color-secondary;
  81. background-color: var(--theme-color-secondary, $color-secondary);
  82. background-image: url("../../../img/half-check.svg");
  83. //@media (prefers-color-scheme: dark) {
  84. // background-image: url("../../../img/half-check-dark.svg");
  85. //}
  86. }
  87. ~ label {
  88. display: inline-block;
  89. vertical-align: top;
  90. max-width: calc(100% - 40px);
  91. margin-top: 4px;
  92. @media(min-width: 1200px) {
  93. font-size: 22px;
  94. line-height: 1.2;
  95. }
  96. @media(max-width: 767px) {
  97. margin-top: 2px;
  98. }
  99. }
  100. }
  101. input[type="radio"] {
  102. border-radius: 50%;
  103. top: 1px;
  104. margin-left: -1px;
  105. width: 22px;
  106. height: 22px;
  107. @media(max-width: 1199px) {
  108. top: -1px;
  109. }
  110. }
  111. fieldset {
  112. margin: 0;
  113. }
  114. 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 {
  115. position: relative;
  116. display: block;
  117. width: 100%;
  118. height: 60px;
  119. background-color: $color-white;
  120. border: 1px solid $color-primary;
  121. border: 1px solid var(--theme-color-primary, $color-primary);
  122. border-radius: 4px;
  123. padding: 10px 15px;
  124. font-family: 'Source Sans Pro', sans-serif;
  125. font-size: 22px;
  126. line-height: 1.5;
  127. transition: 0.3s ease;
  128. &:focus {
  129. box-shadow: 0 0 0 2px $color-secondary-dark, 0 0 8px 2px lighten($color-secondary-dark, 20);
  130. 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));
  131. outline: 0;
  132. }
  133. &::-webkit-input-placeholder {
  134. color: $color-secondary-dark;
  135. color: var(--theme-color-secondary-intensed, $color-secondary-dark);
  136. }
  137. &:-ms-input-placeholder {
  138. color: $color-secondary-dark;
  139. color: var(--theme-color-secondary-intensed, $color-secondary-dark);
  140. }
  141. &::placeholder {
  142. color: $color-secondary-dark;
  143. color: var(--theme-color-secondary-intensed, $color-secondary-dark);
  144. }
  145. @media(max-width: 1199px) {
  146. height: 50px;
  147. font-size: 20px;
  148. }
  149. @media(max-width: 767px) {
  150. height: 44px;
  151. font-size: 18px;
  152. }
  153. }
  154. select, select.form-control {
  155. -webkit-appearance: none;
  156. -moz-appearance: none;
  157. appearance: none;
  158. background-image: url('../../../img/dropdown-arrow.svg');
  159. background-repeat: no-repeat;
  160. background-position: right center;
  161. color: $color-primary;
  162. color: var(--theme-color-primary, $color-primary);
  163. background-size: 38px;
  164. padding-right: 42px;
  165. @media(max-width: 1199px) {
  166. background-size: 30px;
  167. padding-right: 34px;
  168. }
  169. }
  170. select::-ms-expand {
  171. display: none;
  172. }
  173. select[multiple] {
  174. background-image: none;
  175. }
  176. textarea, textarea.form-control {
  177. height: auto;
  178. }
  179. [data-browser="chrome"] {
  180. select {
  181. padding-left: 10px;
  182. }
  183. }
  184. label {
  185. font-size: 18px;
  186. font-weight: 400;
  187. margin: 0;
  188. a:hover {
  189. color: $color-link-hover;
  190. color: var(--theme-color-link-hover, $color-link-hover);
  191. }
  192. }
  193. .contact-form {
  194. label {
  195. margin-top: 20px;
  196. @media(max-width: 767px) {
  197. margin-top: 16px;
  198. }
  199. }
  200. .form-title {
  201. margin-bottom: 10px;
  202. }
  203. input[type="checkbox"] {
  204. margin-top: 20px;
  205. }
  206. }
  207. .mwf-option {
  208. display: block;
  209. margin-right: 24px;
  210. white-space: nowrap;
  211. }
  212. .mfw-s, .mfw-l {
  213. .mwf-input fieldset .mwf-option {
  214. display: table-cell;
  215. padding-right: 20px;
  216. }
  217. }
  218. .mwf-option label {
  219. white-space: initial;
  220. }
  221. .row.mwf-field, .mwf-form .row {
  222. margin-bottom: 20px;
  223. margin-left: -15px;
  224. margin-right: -15px;
  225. .input-wrapper:not([class^="col-"]) {
  226. position: relative;
  227. min-height: 1px;
  228. padding-right: 15px;
  229. padding-left: 15px;
  230. }
  231. }
  232. .mwf-s{
  233. .input-wrapper:not(.for-input){
  234. display: table-cell;
  235. .mwf-label{
  236. float: left;
  237. display: table-cell;
  238. }
  239. }
  240. .mwf-label{
  241. padding-right: 20px;
  242. }
  243. .for-input{
  244. .mwf-label{
  245. display: table-cell;
  246. white-space: nowrap;
  247. }
  248. }
  249. .mwf-input{
  250. display: table-cell;
  251. width: 100%;
  252. }
  253. }
  254. .mwf-m{
  255. display: block;
  256. .mwf-option{
  257. float: left;
  258. }
  259. }
  260. label p {
  261. margin: 0;
  262. }
  263. .mwf-hint, .mwf-hint ~ p {
  264. position: relative;
  265. margin: 0;
  266. font-size: 16px;
  267. text-align: right;
  268. font-weight: 600;
  269. top: 14px;
  270. }
  271. .mwf-hint {
  272. margin-bottom: -10px;
  273. }
  274. .webform-buttons {
  275. padding-top: 30px;
  276. position: relative;
  277. border-top: 1px solid $color-primary-light-03;
  278. display: flex;
  279. flex-wrap: wrap;
  280. > .mwf-button {
  281. margin: 0 6px;
  282. &:first-child {
  283. margin-left: 0;
  284. }
  285. }
  286. .mwf-next {
  287. order: 1;
  288. margin-left: auto !important;
  289. margin-right: 0;
  290. }
  291. .btn {
  292. transition: 0.3s ease;
  293. &[data-type="back"], &[data-type="cancel"] {
  294. @extend .icon-pfeil-links;
  295. padding-left: 58px;
  296. &:before {
  297. font-family: "Icons";
  298. position: absolute;
  299. left: 16px;
  300. top: 50%;
  301. font-size: 30px;
  302. line-height: 1;
  303. margin-top: -15px;
  304. @media(max-width: 767px) {
  305. font-size: 24px;
  306. margin-top: -12px;
  307. }
  308. }
  309. }
  310. &[data-type="cancel"] {
  311. @extend .icon-schliessen;
  312. }
  313. &[data-type="next"] {
  314. @extend .icon-pfeil-rechts;
  315. background-color: $color-primary;
  316. background-color: var(--theme-color-primary, $color-primary);
  317. color: white;
  318. &:hover {
  319. box-shadow: 0 0 0 5px rgba($color-primary, 0.3);
  320. box-shadow: 0 0 0 5px rgba(var(--theme-color-primary-rgb, $color-primary-rgb), 0.3);
  321. color: white;
  322. }
  323. }
  324. }
  325. }
  326. .review-wrapper .webform-buttons .submit {
  327. float: none;
  328. }
  329. }
  330. /*
  331. .mwf-button.mwf-next {
  332. position: relative;
  333. border-top: 1px solid $color-primary-light-03;
  334. @extend .icon-pfeil-rechts;
  335. padding-top: 30px;
  336. &:before {
  337. z-index: 1;
  338. position: absolute;
  339. right: 20px;
  340. font-family: "Icons";
  341. font-size: 30px;
  342. line-height: 1;
  343. top: 46px;
  344. pointer-events: none;
  345. @media(max-width: 767px) {
  346. font-size: 24px;
  347. top: 40px;
  348. }
  349. }
  350. &:after {
  351. content: "";
  352. position: relative;
  353. display: block;
  354. clear: both;
  355. }
  356. }
  357. */