UNPKG

skipper-organisms

Version:
398 lines (381 loc) 8.7 kB
@import url("https://fonts.cdnfonts.com/css/questrial"); :root { --primary-accommodation-search-form: #ffffff; --secondary-accommodation-search-form: #e3e200; --primary-text-color: #253745; --bg-accommodation-search-form: #253745; --bg-accommodation-search-form-input-box: #253745; --border-accommodation-search-form: #617c87; } .pod_container { display: block; position: relative; width: 100%; height: 100vh; overflow: hidden; } .banner_image { width: auto; height: auto; min-width: 100%; min-height: 100%; } .booking_form { font-family: "Questrial", sans-serif; display: flex; background: var(--bg-accommodation-search-form); padding: 0 25px; } .form_label { display: block; color: var(--primary-accommodation-search-form); font-size: 12px; line-height: 28px; /* padding-bottom: 4px; */ padding-top: 6px; } .booking_form select { min-width: 60px; max-width: 250px; padding: 7px 14px; font-size: 16px; line-height: 28px; color: var(--secondary-accommodation-search-form); background: var(--bg-accommodation-search-form-input-box); border-radius: 0.25em; cursor: pointer; -moz-appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' role='img' width='1em' height='1em' preserveAspectRatio='xMidYMid meet' viewBox='0 0 24 24'%3E%3Cpath fill='%23E3E200' fill-rule='evenodd' d='m6 7l6 6l6-6l2 2l-8 8l-8-8z'/%3E%3C/svg%3E"); background-repeat: no-repeat, repeat; background-position: right 0.7em top 50%, 0 0; background-size: 0.65em auto, 100%; } .booking_form .promo-code { width: 80px; /* padding: 7px; */ font-size: 16px; line-height: 28px; color: var(--secondary-accommodation-search-form); background: var(--bg-accommodation-search-form-input-box); /* border-radius: 0.25em; */ border: 2px solid var(--border-accommodation-search-form); } .datepicker { width: 50px; padding: 0 7px; color: var(--secondary-accommodation-search-form); background: var(--bg-accommodation-search-form-input-box); display: block; border: none; font-weight: 500; font-size: 24px; line-height: 28px; cursor: pointer; } .datepicker small { display: block; font-size: 12px; line-height: 14px; text-transform: uppercase; } .booking_form .submit_button { width: 154px; height: 40px; align-self: center; background: var(--secondary-accommodation-search-form); border: none; border-radius: 9px; font-size: 14px; line-height: 100%; cursor: pointer; margin-left: 12px; } .grid { display: grid; } .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .p-6 { padding: 24px; } .pr-4 { padding-right: 16px; } .px-2 { padding-left: 8px; padding-right: 8px; } .px-4 { padding-left: 16px; padding-right: 16px; } .pt-4 { padding-top: 16px; } .pb-1 { padding-bottom: 4px; } .pb-7 { padding-bottom: 28px; } .text-center { text-align: center; } .hidden { display: none; } option { margin: 20px; color: white; font-size: 16px; line-height: 28px; cursor: pointer; } * { margin: 0; box-sizing: border-box; } .select-box { /* display: flex; */ min-width: 42px; /* flex-direction: column; */ position: relative; } .select-box.hotel { min-width: 200px; } .select-box .options-container { background: var(--bg-accommodation-search-form); color: var(--primary-accommodation-search-form); max-height: 0; width: 100%; opacity: 0; transition: all 0.4s; border-radius: 0 0 8px 8px; overflow: hidden; position: absolute; top: 55px; /* order: 1; */ } .selected { /* border-radius: 8px; */ /* margin-bottom: 8px; */ color: var(--secondary-accommodation-search-form); position: relative; font-size: 18px; line-height: 28px; cursor: pointer; padding: 4px 0 22px 0; /* order: 0; */ } .selected::after { content: ""; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' role='img' width='1em' height='1em' preserveAspectRatio='xMidYMid meet' viewBox='0 0 24 24'%3E%3Cpath fill='%239DBFC8' fill-rule='evenodd' d='m6 7l6 6l6-6l2 2l-8 8l-8-8z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; position: absolute; height: 14px; width: 14px; right: 10px; top: 10px; transition: all 0.4s; } .select-box .options-container.active { min-width: 50px; max-height: 800px; opacity: 1; overflow-y: auto; } .select-box .options-container.active + .selected::after { transform: rotate(180deg); /* top: -6px; */ } .select-box .option > label { display: block; padding: 12px; cursor: pointer; } .select-box .option:hover { background: var(--border-accommodation-search-form); } .select-box label { cursor: pointer; } .select-box .option .radio { display: none; } .mobile_submit_button { display: block; position: fixed; width: 100%; width: 100%; height: 40px; bottom: 0; font-size: 16px; line-height: 1 !important; text-align: center; border: 0px; color: var(--primary-text-color) !important; background-color: var(--secondary-accommodation-search-form) !important; box-sizing: border-box; /* z-index: 4; */ } .\!z-1 { z-index: -1; } .bg-white { background-color: white; } .border-0 { border-width: 0px; } .error-msg{ font-size: 12px; line-height: 16px; color: #F99400; font-weight: 600; } .btn-close{ border-radius: 50%; height: 32px; width: 32px; padding: 0; margin-bottom: -12px; margin-right: -12px; padding-top: 2px; } @media (max-width: 767px) { .booking_form { flex-direction: column; padding: 0; min-width: 320px; } .selected { padding: 4px 0 12px 0; } .hotel .selected { padding: 15px 14px; font-size: 14px; line-height: 140%; } .select-box .options-container { top: 62px; z-index: 9; } .hotel .selected::after { top: 20px; right: 20px; } .datepicker small { font-size: 18px; line-height: 140%; } .form_label { font-size: 16px; line-height: 140%; } .booking_form .promo-code { width: 182px; margin-left: 16px; } .submit_button { margin-bottom: 20px; } .sm\:hidden { display: none; } .sm\:border { border: 1px solid #ffffff; } .sm\:border-t-r { border-top-width: 1px; border-right-width: 1px; border-color: #ffffff; border-style: solid; border-bottom-width: 0px; border-left-width: 0px; } .sm\:border-t { border-top-width: 1px; border-color: #ffffff; border-style: solid; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; } .sm\:flex { display: flex; } .sm\:grid { display: grid; } .sm\:flex-row-reverse { flex-direction: row-reverse; } .sm\:justify-between { justify-content: space-between; } .sm\:items-center { align-items: center; } .sm\:text-center { text-align: center; } .sm\:w-10 { width: 40px; } .sm\:mx-auto { margin-left: auto; margin-right: auto; } .sm\:py-2 { padding-top: 8px; padding-bottom: 8px; } .sm\:py-5 { padding-top: 20px; padding-bottom: 20px; } .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; } .form_container { /* display: block; */ position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow-y: auto; padding: 16px; background-color: rgba(0, 0, 0, 0.7); -webkit-justify-content: center; justify-content: center; } } @media (min-width: 768px) { .md\:pr-4 { padding-right: 1rem; } .md\:px-4 { padding-left: 1rem; padding-right: 1rem; } .md\:hidden { display: none; } .form_container { display: flex; position: absolute; bottom: 30vh; width: 100%; -webkit-justify-content: center; justify-content: center; } .mobile_submit_button { display: none; } }