Ngx-intl-tel-input выпадающий эффект при наведении, как отключитьCSS

Разбираемся в CSS
Ответить Пред. темаСлед. тема
Anonymous
 Ngx-intl-tel-input выпадающий эффект при наведении, как отключить

Сообщение Anonymous »

Проблема:
Я вижу серый цвет фона при наведении курсора мыши на раскрывающиеся элементы в списке стран. Я хочу отключить этот цвет при наведении, сохранив при этом раскрывающийся список. Я пробовал использовать фоновый цвет: прозрачный !important;, но серый цвет все равно появляется.
Что я пробовал:
Установка фонового цвета: прозрачный !important; в .iti__country-list .iti__country:hover
Использовал разные цвета фона и даже начальный, но ни один из них не сработал.

Код: Выделить всё

Phone Number*


.ngx-tel-input .iti {
width: 99% !important;
}

.ngx-tel-input input {
width: 100% !important;
padding-left: 60px !important; /* Adjust padding-left for alignment with other fields */
height: 74px; /* Matching the height of other form fields */
border-radius: 61px; /* Same border-radius as other inputs */
background-color: rgba(217, 217, 217, 0.23);
border: 1px solid #CDC9C9; /* Consistent border */
}

.ngx-tel-input .iti__flag-container {
width: 60px !important; /* Flag container width */
height: 74px !important; /* Match the height of the input */
}

.ngx-tel-input input::placeholder {
color: rgba(0, 0, 0, 0.507) !important; /* Placeholder color matching */
}

.ngx-tel-input input:focus {
border-color: var(--dark) !important; /* Focus border color for consistency */
box-shadow: none !important; /* Remove shadow on focus */
}
/* Adjust placeholder alignment for the phone number input */
.ngx-tel-input input::placeholder {
padding-left: 30px; /* Add some padding to the left to move the placeholder */
color: rgba(0, 0, 0, 0.507); /* Maintain the existing placeholder color */
}
/* Remove rounded corners of the search input */
.iti__country-list .iti__search input {
border-radius: 0 !important;
border: none !important; /* To remove any borders */
border-bottom: 1px solid #ccc; /* Optional: add a bottom border if needed */
}

.ngx-tel-input input {
padding-left: 83px  !important; /* Adjust left padding to make space for the flag and dial code */
width: 100% !important;
height: 74px;
border-radius: 61px;
background-color: rgba(217, 217, 217, 0.23);
border: 1px solid #CDC9C9;
}
.ngx-tel-input .iti__country .iti__name {
margin-left: 15px; /* Adjust the margin as needed for spacing */
font-size: 16px;   /* You can also adjust the font size if necessary */
}

.ngx-tel-input .iti__flag-container {
width: 90px!important;
height: 54px!important;
padding-left: 14px;
}

.step_1_form {
padding: 50px;
}

.ngx-tel-input .iti__country-list .iti__selected-dial-code:hover {
background-color: hsla(0, 100%, 50%, 0.5);
}
Проблема:
Я вижу серый цвет фона при наведении курсора на раскрывающиеся элементы в списке стран. Я хочу отключить этот цвет при наведении, сохранив при этом раскрывающийся список. Я пробовал использовать фоновый цвет: прозрачный !important;, но серый цвет все равно появляется.
Что я пробовал:
Установка фонового цвета: прозрачный !important; в .iti__country-list .iti__country:hover
Использовал разные цвета фона и даже начальный, но ни один из них не сработал.
Изображение


Подробнее здесь: https://stackoverflow.com/questions/791 ... to-disable
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение
  • Ngx-intl-tel-input выпадающий эффект при наведении, как отключить
    Anonymous » » в форуме CSS
    0 Ответы
    13 Просмотры
    Последнее сообщение Anonymous
  • Html input type = "tel" против inputmode = "tel"
    Anonymous » » в форуме Html
    0 Ответы
    5 Просмотры
    Последнее сообщение Anonymous
  • Выпадающая часть Intl-Tel-Input не работает в мобильном браузере
    Anonymous » » в форуме CSS
    0 Ответы
    2 Просмотры
    Последнее сообщение Anonymous
  • P = int (input ("Введите 1 -е число:")) t = int (input ("Введите 2 -е число:")) s = int (input ()) si = (p*t*s)/10 print
    Anonymous » » в форуме Python
    0 Ответы
    13 Просмотры
    Последнее сообщение Anonymous
  • P = int (input ("Введите 1 -е число:")) t = int (input ("Введите 2 -е число:")) s = int (input ()) si = (p*t*s)/10 print
    Anonymous » » в форуме Python
    0 Ответы
    16 Просмотры
    Последнее сообщение Anonymous

Вернуться в «CSS»