File: /var/www/iq.affiliate/src/scss/iti.scss
@import 'media';
.iti__flag {
background-image: url(../../../flags_sprite.png);
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.iti__flag {
background-image: url(../../../flags_sprite.png);
}
}
.iti__flag-box {
width: max-content;
}
.iti__flag {
border-radius: 100%;
}
.iti {
width: 100%;
z-index: 9;
display: flex;
justify-content: flex-end;
.iti__selected-dial-code {
color: #313236;
margin: 0 !important;
width: 40px;
}
.iti__country-list {
background: #fafafa;
border-radius: 16px;
border: 1px solid transparent;
max-width: 376px;
min-width: 376px;
min-height: 304px;
overflow-x: hidden;
padding: 8px 0;
@include breakpoint-down('tabM') {
top: initial;
max-width: 289px;
min-width: 289px;
min-height: auto;
}
}
.iti__country {
padding: 12px 16px;
.iti__flag-box {
margin-right: 10px;
}
&.iti__highlight {
background: transparent !important;
}
&:hover {
background: #f0ede8 !important;
.iti__country-name {
color: #313236;
}
}
&.iti__active {
.iti__country-name {
color: #fe4d0d;
}
}
}
.iti__country-name {
color: #313236;
display: inline-flex;
white-space: initial;
}
.iti__dial-code {
color: #313236;
}
.iti__arrow {
border: none;
width: 20px;
height: 20px;
background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23313236' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
margin: 0 !important;
}
.iti__arrow--up {
transform: rotate(180deg);
background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23313236' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.iti__selected-flag {
padding-left: 16px;
padding-right: 16px;
gap: 10px;
justify-content: space-between;
background: transparent !important;
}
.iti__flag-container {
width: 130px;
border-radius: 16px;
background: #fafafa;
}
.iti__dropdown-content {
background: transparent !important;
border: none !important;
box-shadow: none !important;
width: auto !important;
margin-top: 12px;
}
.inputInput {
padding: 30px 56px 12px 16px !important;
margin-inline-end: auto;
width: calc(100% - 138px) !important;
background: #fafafa !important;
}
&.iti--container {
z-index: 101;
@include breakpoint-down('tabM') {
width: auto;
}
}
&.iti--fullscreen-popup {
z-index: 201;
padding: 16px;
.iti__country-list {
min-width: 0;
max-width: none;
}
}
}
.formItemPhone {
.input {
&.error {
.inputContainer {
outline: none !important;
.inputInput {
outline: thin solid #fe150d !important;
&:hover {
background: #faeded !important;
border: thin solid transparent !important;
}
}
}
}
}
.inputContainer {
background: transparent !important;
&:hover {
.inputInput {
border: thin solid transparent !important;
}
}
.iti__flag-container {
&:hover {
.inputInput {
border: thin solid transparent !important;
}
}
}
.inputInput {
&:hover {
border: thin solid #d9d7cc !important;
}
&:focus {
border: thin solid #d9d7cc;
+ .inputPlaceholder {
top: 12px;
font-size: 12px;
font-weight: 400;
line-height: 18px;
color: #73726c;
}
}
}
}
.inputPlaceholder {
z-index: 9;
left: 154px !important;
}
}