| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- /* Contact form */
- .select-style {
- select {
- background-image: url("../images/contact-form-down-arrow.jpg");
- background-repeat: no-repeat;
- background-position: top 25px right 30px;
- cursor: pointer;
- -webkit-appearance: none;
- background-color: transparent;
- }
- }
- .terms-condition-box {
- label {
- display: block;
- }
- input[type="checkbox"] {
- opacity: 0;
- visibility: hidden;
- position: absolute;
- top: 4px;
- left: 0;
- &:checked {
- + .box {
- &:after {
- display: block;
- }
- }
- }
- &.is-invalid {
- + .box {
- &:before {
- border-color: #dc3545;
- }
- }
- }
- }
- .box {
- position: relative;
- padding-left: 30px;
- cursor: pointer;
- display:inline-block;
- &:before {
- content: '';
- width: 20px;
- height: 20px;
- background-color: transparent;
- border: 1px solid var(--extra-medium-gray);
- position: absolute;
- top: 5px;
- left: 0;
- @include prefix(border-radius, 4px, webkit);
- }
- &:after {
- position: absolute;
- left: 7px;
- top: 9px;
- content: '';
- width: 6px;
- height: 10px;
- display: none;
- border: solid var(--dark-gray);
- border-width: 0 2px 2px 0;
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- transform: rotate(45deg);
- }
- }
- }
- /* Contact form style 01 */
- .contact-form-style-01 {
- input, textarea {
- padding-left: 55px;
- }
- .form-group {
- .form-icon {
- position: absolute;
- top: 50%;
- @include prefix(transform, translateY(-50%), webkit);
- padding-top: 2px;
- left: 25px;
- }
- &.form-textarea {
- .form-icon {
- top: 12px;
- @include prefix(transform, translateY(0), webkit);
- }
- }
- }
- }
- /* Contact form style 03 */
- .contact-form-style-03 {
- input, textarea {
- outline: none;
- border: none;
- border-bottom: 1px solid;
- background: transparent;
- }
- select {
- outline: none;
- border: none;
- border-bottom: 1px solid;
- }
- input, select, textarea, .form-control {
- &:focus {
- border: 0;
- border-bottom: 1px solid #c2c2c2;
- }
- }
- textarea {
- resize: none;
- }
- .form-group {
- .form-icon {
- position: absolute;
- top: 50%;
- right: 5px;
- @include prefix(transform, translateY(-50%), webkit);
- }
- &.form-textarea {
- .form-icon {
- top: 10px;
- @include prefix(transform, translateY(0), webkit);
- }
- }
- }
- .form-control, .form-control.is-invalid, .was-validated .form-control:invalid {
- background-position: right 35px center !important;
- }
- }
- /* Contact form style 06 */
- .contact-form-style-06 {
- input, textarea {
- color: var(--white);
- &:focus {
- color: var(--white);
- }
- }
- input::placeholder, textarea::placeholder {
- color: var(--light-medium-gray);
- }
- .select-style {
- select {
- color: var(--light-medium-gray);
- background-image: url("../images/contact-form-arrow-white.png");
- background-position: top 25px right 20px;
- padding-right: 45px;
- option {
- color: var(--dark-gray);
- }
- }
- }
- }
- /* Contact form style 07 */
- .contact-form-style-07 {
- input, textarea {
- outline: none;
- border: none;
- border-bottom: 1px solid;
- background: transparent;
- }
- select {
- outline: none;
- border: none;
- border-bottom: 1px solid;
- }
- input, select, textarea, .form-control {
- &:focus {
- border: 0;
- border-bottom: 1px solid #c2c2c2;
- }
- }
- textarea {
- resize: none;
- }
- .form-group {
- .form-icon {
- position: absolute;
- top: 50%;
- right: 5px;
- @include prefix(transform, translateY(-50%), webkit);
- }
- &.form-textarea {
- .form-icon {
- top: 10px;
- @include prefix(transform, translateY(0), webkit);
- }
- }
- }
- .form-control, .form-control.is-invalid, .was-validated .form-control:invalid {
- background-position: right 35px center !important;
- }
- }
|