- .wpcf7 {
- //================== Registration Contact Form //==================
- position: relative;
- display: block;
- margin: 3rem 0;
- form {
- p {
- margin: 0 0 20px 0;
- }
- .kontakt, .tasting-anmeldung {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- width: 100%;
- margin: 2rem 0 4rem 0;
- div{
- width: 100%;
- }
- }
- .tasting_drop_down {
- span {
- position: relative;
- display: inline-block;
- width: 100%;
- }
- span select {
- appearance: none;
- -webkit-appearance: none;
- -moz-appearance: none;
- width: 100%;
- padding: 10px 30px 10px 10px;
- background: white no-repeat right center;
- border: 1px solid @rustic_clay;
- }
- span::after {
- content: '▼';
- position: absolute;
- right: 10px;
- top: 50%;
- transform: translateY(-50%);
- pointer-events: none;
- color: @rustic_clay;
- }
- select {
- option {
- border: none;
- }
- }
- }
- p {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- label {
- text-align: left;
- width: 100%;
- margin: 1rem 0;
- .f1();
- }
- span {
- position: relative;
- width: 100%;
- input {
- width: 100%;
- border: 1px solid @rustic_clay;
- padding: 10px;
- .f2();
- .box-sizing;
- }
- input[readonly] {
- .readonly-bg();
- }
- #message {
- border: 1px solid @rustic_clay;
- .f2();
- background: @w;
- }
- }
- span input:focus,
- span textarea:focus {
- outline: none; /* Removes the default focus outline */
- border-color: @b; /* Replace 'desiredColor' with the color you want or 'transparent' */
- }
- }
- .wpcf7-response-output {
- border-color: unset !important;
- margin: 2rem auto;
- text-align: center;
- }
- .wpcf7-checkbox, .wpcf7-acceptance {
- //================== Registration Contact Form //==================
- .wpcf7-list-item {
- label {
- .wpcf7-list-item-label {
- position: relative;
- display: block;
- padding: 8px 5px 5px 30px;
- cursor: pointer;
- .transition;
- &:hover {
- //color: @c1;
- }
- &:before {
- position: absolute;
- top: 50%;
- left: 1px;
- .translate(0, -50%);
- display: block;
- .far(20px, inherit, '\f111');
- }
- }
- }
- input {
- &[type=checkbox] {
- display: none;
- }
- &[type=checkbox]:checked + span:before {
- display: block;
- .far(20px, inherit, '\f058');
- }
- }
- }
- }
- textarea.wpcf7-textarea {
- width: 100%;
- padding: 6px 12px;
- background: @g0;
- border: none;
- .box-sizing;
- }
- input[type="submit"] {
- border: none;
- padding: 10px 40px;
- color: @w;
- text-transform: uppercase;
- .f1;
- cursor: pointer;
- background: @espresso_brown;
- .transition;
- &:disabled {
- cursor: not-allowed;
- color: @g4;
- background: @g2;
- }
- &:not(:disabled):hover {
- color: @w;
- background: @rustic_clay;
- }
- }
- }
- }
Recent Pastes