/*--SCROLL--*/ /*::-webkit-scrollbar { width: 0px; } ::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:hover { background: transparent; }*/ .scroll { --dashoffset: 0; --dasharray: 1; height: 100%; padding: 0; position: absolute; right: 0; top: 50%; transform: translate(0, -50%); z-index: 0; } .scroll svg { width: auto; height: 100%; } .scroll .line { fill: none; stroke-linecap: round; stroke-miterlimit: 40; stroke-width: .2rem; stroke: #3ad1d1; stroke-linecap: round; stroke-dasharray: var(--dasharray) 4800; stroke-dashoffset: var(--dashoffset); transitioon: stroke-dashoffset .1s; } .dropdown-month .scroll svg { display: none; } .dropdown-month .boxes { height: auto; } .boxes { width: 100%; overflow: hidden; overflow-y: scroll; height: 253px; overflow: auto; scrollbar-width: none; scrollbar-color: #dfe3ea #fff; position: relative; z-index: 2; } /* the code below is for the dropdown menu */ .wrapper-dropdown { position: relative; display: flex; align-items: center; justify-content: space-between; /*min-width: 230px;*/ width: 100%; padding: 3px 7px; border-radius: 7px; background: #ffffff; color: #575a5d; border: 1px solid #DADADA; font-size: 12px; font-weight: 400; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .scrollable-menu { height: auto; max-height: 200px; overflow-x: hidden; } .arrow { width: 20px; float: right; rotate: 180deg; } svg { transition: all 0.3s; } .wrapper-dropdown::before { position: absolute; top: 50%; right: 16px; margin-top: -2px; border-width: 6px 6px 0 6px; border-style: solid; border-color: #fff transparent; } .rotated { transform: rotate(-180deg); } .wrapper-dropdown .dropdown { transition: 0.3s; position: absolute; top: 120%; right: 0; left: 0; margin: 0; padding: 0; list-style: none; z-index: 99; border-radius: 15px; background: inherit; -webkit-transform-origin: top; -moz-transform-origin: top; -ms-transform-origin: top; transform-origin: top; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; opacity: 0; visibility: hidden; } .wrapper-dropdown .dropdown li { padding: 0 10px; line-height: 36px; overflow: hidden; transition: all .1s ease; margin: 2px 0; white-space: nowrap; } .wrapper-dropdown .dropdown li:last-child { border-bottom: none; } .dropdown { /*padding: 0.5rem !important;*/ } .wrapper-dropdown .dropdown li:hover { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown .dropdown .active { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown.active .dropdown { opacity: 1; visibility: visible; border-radius: 15px; } /* -------------------------------------------------------------------------------- Normal -------------------------------------------------------------------------------------- */ /* the code below is for the dropdown menu */ .wrapper-dropdown-normal { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 3px 7px; border-radius: 7px; background: #ffffff; color: #575a5d; border: 1px solid #DADADA; font-size: 12px; font-weight: 400; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .wrapper-dropdown-normal::before { position: absolute; top: 50%; right: 16px; margin-top: -2px; border-width: 6px 6px 0 6px; border-style: solid; border-color: #fff transparent; } .wrapper-dropdown-normal .dropdown-normal { transition: 0.3s; position: absolute; top: 120%; right: 0; left: 0; margin: 0; padding: 0; list-style: none; z-index: 99; border-radius: 15px; background: inherit; -webkit-transform-origin: top; -moz-transform-origin: top; -ms-transform-origin: top; transform-origin: top; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; opacity: 0; visibility: hidden; height: auto; overflow: auto; scrollbar-width: none; scrollbar-color: #dfe3ea #fff; border: 1px solid #DADADA; } .wrapper-dropdown-normal .dropdown-normal li { padding: 0 10px; line-height: 36px; overflow: hidden; transition: all .1s ease; margin: 2px 0; white-space: nowrap; } .wrapper-dropdown-normal .dropdown-normal li:last-child { border-bottom: none; } .dropdown-normal { padding: 0.5rem !important; } .wrapper-dropdown-normal .dropdown-normal li:hover { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown-normal .dropdown-normal .active { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown-normal.active .dropdown-normal { opacity: 1; visibility: visible; border-radius: 15px; } /* --------------------------------------------------------------------------------Year-------------------------------------------------------------------------------------- */ /* the code below is for the dropdown menu */ .wrapper-dropdown-year { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 3px 7px; border-radius: 7px; background: #ffffff; color: #575a5d; border: 1px solid #DADADA; font-size: 12px; font-weight: 400; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .wrapper-dropdown-year::before { position: absolute; top: 50%; right: 16px; margin-top: -2px; border-width: 6px 6px 0 6px; border-style: solid; border-color: #fff transparent; } .wrapper-dropdown-year .dropdown-year { transition: 0.3s; position: absolute; top: 120%; right: 0; left: 0; margin: 0; padding: 0; list-style: none; z-index: 99; border-radius: 15px; background: inherit; -webkit-transform-origin: top; -moz-transform-origin: top; -ms-transform-origin: top; transform-origin: top; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; opacity: 0; visibility: hidden; height: auto; overflow: auto; scrollbar-width: none; scrollbar-color: #dfe3ea #fff; border: 1px solid #DADADA; } .wrapper-dropdown-year .dropdown-year li { padding: 0 10px; line-height: 36px; overflow: hidden; transition: all .1s ease; margin: 2px 0; white-space: nowrap; } .wrapper-dropdown-year .dropdown-year li:last-child { border-bottom: none; } .dropdown-year { padding: 0.5rem !important; } .wrapper-dropdown-year .dropdown-year li:hover { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown-year .dropdown-year .active { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown-year.active .dropdown-year { opacity: 1; visibility: visible; border-radius: 15px; } /* --------------------------------------------------------------------------------Month-------------------------------------------------------------------------------------- */ /* the code below is for the dropdown menu */ .wrapper-dropdown-month { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 3px 7px; border-radius: 7px; background: #ffffff; color: #575a5d; border: 1px solid #DADADA; font-size: 12px; font-weight: 400; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .wrapper-dropdown-month::before { position: absolute; top: 50%; right: 16px; margin-top: -2px; border-width: 6px 6px 0 6px; border-style: solid; border-color: #fff transparent; } .wrapper-dropdown-month .dropdown-month { transition: 0.3s; position: absolute; top: 120%; right: 0; left: 0; margin: 0; padding: 0; list-style: none; z-index: 99; border-radius: 15px; background: inherit; -webkit-transform-origin: top; -moz-transform-origin: top; -ms-transform-origin: top; transform-origin: top; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; opacity: 0; visibility: hidden; height: auto; overflow: auto; scrollbar-width: none; scrollbar-color: #dfe3ea #fff; border: 1px solid #DADADA; } .wrapper-dropdown-month .dropdown-month li { padding: 0 10px; line-height: 36px; overflow: hidden; transition: all .1s ease; margin: 2px 0; white-space: nowrap; } .wrapper-dropdown-month .dropdown-month li:last-child { border-bottom: none; } .dropdown-month { padding: 0.5rem !important; } .wrapper-dropdown-month .dropdown-month li:hover { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown-month .dropdown-month .active { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown-month.active .dropdown-month { opacity: 1; visibility: visible; border-radius: 15px; } @media screen and (max-width: 1366px) { .wrapper-dropdown .selected-display { width: 130px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } } @media screen and (max-width: 1024px) { .wrapper-dropdown-year .dropdown-year { width: 120px; } .wrapper-dropdown-month .dropdown-month { width: 120px; } .scroll { width: 0; } .wrapper-dropdown-month .dropdown-month li { padding: 0px 3px; } } @media screen and (max-width: 768px) { .wrapper-dropdown-year { font-size: 10px; } .wrapper-dropdown-year .dropdown-year { right: initial; } } /*-------------------------------------------------------------------------------------------------- DropDown Global */ .dropdown-global { position: relative; } .dropdown-global-btn { padding: 5px 10px 5px 0; border-radius: 6px; font-size: 15px; cursor: pointer; -webkit-transition: .3s; -o-transition: .3s; transition: .3s; background: #FFF; gap: 10px; color: #000000; font-weight: 400; width: 100%; border: 1px solid #ddd; display: flex; align-items: center; justify-content: space-between; -moz-font-feature-settings: "ss02"; -webkit-font-feature-settings: "ss02"; font-feature-settings: "ss02"; } .dropdown-global-content { display: none; position: absolute; top: calc(100% + 5px); border: 1px solid #E8EDF9; background: #ffffff; padding: 5px; left: 0; border-radius: 6px; right: auto; box-shadow: 1px 6px 18px -12px #0000006e; flex-direction: column; gap: 10px 0; min-width: 100%; z-index: 50; height: 220px; overflow: hidden; } .dropdown-global-item { padding: 4px 10px; cursor: pointer; border-radius: 5px; transition: all 0.3s ease-in } .dropdown-global-item.active { background-color: #3ad1d1; color: #fff; } .dropdown-global-item:hover { background-color: #3ad1d1; color: #fff; } .dropdown-global.active .dropdown-global-content { display: flex; } /* --------------------------------------------------------------------------------Invalid-------------------------------------------------------------------------------------- */ /* the code below is for the dropdown menu */ .wrapper-dropdown-invalid { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 3px 7px; border-radius: 7px; background: #ffffff; color: #575a5d; border: 1px solid #DADADA; font-size: 12px; font-weight: 400; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .wrapper-dropdown-invalid::before { position: absolute; top: 50%; right: 16px; margin-top: -2px; border-width: 6px 6px 0 6px; border-style: solid; border-color: #fff transparent; } .wrapper-dropdown-invalid .dropdown-invalid { transition: 0.3s; position: absolute; top: 120%; right: 0; left: 0; margin: 0; padding: 0; list-style: none; z-index: 99; border-radius: 15px; background: inherit; -webkit-transform-origin: top; -moz-transform-origin: top; -ms-transform-origin: top; transform-origin: top; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; opacity: 0; visibility: hidden; height: auto; overflow: auto; scrollbar-width: none; scrollbar-color: #dfe3ea #fff; border: 1px solid #DADADA; } .wrapper-dropdown-invalid .dropdown-invalid li { padding: 0 10px; line-height: 36px; overflow: hidden; transition: all .1s ease; margin: 2px 0; white-space: nowrap; } .wrapper-dropdown-invalid .dropdown-invalid li:last-child { border-bottom: none; } .dropdown-invalid { padding: 0.5rem !important; } .wrapper-dropdown-invalid .dropdown-invalid li:hover { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown-invalid .dropdown-invalid .active { background-color: #3ad1d1; color: #fff; border-radius: 10px; } .wrapper-dropdown-invalid.active .dropdown-invalid { opacity: 1; visibility: visible; border-radius: 15px; }