Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
185 lines
4.3 KiB
Plaintext
185 lines
4.3 KiB
Plaintext
.iti {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
.iti * {
|
|
box-sizing: border-box;
|
|
}
|
|
.iti__hide {
|
|
display: none;
|
|
}
|
|
.iti__v-hide {
|
|
visibility: hidden;
|
|
}
|
|
.iti input,
|
|
.iti input[type=text],
|
|
.iti input[type=tel] {
|
|
position: relative;
|
|
z-index: 0;
|
|
margin-top: 0 !important;
|
|
margin-bottom: 0 !important;
|
|
padding-right: var(--36px);
|
|
margin-right: 0;
|
|
}
|
|
.iti__flag-container {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
padding: 1px;
|
|
}
|
|
.iti__selected-flag {
|
|
z-index: 1;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
padding: 0 var(--6px) 0 var(--8px);
|
|
font-variant-numeric: tabular-nums; // Espo
|
|
}
|
|
.iti__arrow {
|
|
margin-left: var(--6px);
|
|
width: 0;
|
|
height: 0;
|
|
border-left: var(--3px) solid transparent;
|
|
border-right: var(--3px) solid transparent;
|
|
border-top: var(--4px) solid #555;
|
|
}
|
|
[dir=rtl] .iti__arrow {
|
|
margin-right: var(--6px);
|
|
margin-left: 0;
|
|
}
|
|
.iti__arrow--up {
|
|
border-top: none;
|
|
border-bottom: var(--4px) solid #555;
|
|
}
|
|
.iti__country-list {
|
|
position: absolute;
|
|
z-index: 2;
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0 0 0 var(--minus-1px);
|
|
box-shadow: var(--1px) var(--1px) var(--4px) rgba(0, 0, 0, 0.2);
|
|
background-color: white;
|
|
border: 1px solid #ccc;
|
|
white-space: nowrap;
|
|
max-height: var(--200px);
|
|
overflow-y: scroll;
|
|
-webkit-overflow-scrolling: touch;
|
|
font-variant-numeric: tabular-nums; // Espo
|
|
}
|
|
.iti__country-list--dropup {
|
|
bottom: 100%;
|
|
margin-bottom: var(--minus-1px);
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.iti__country-list {
|
|
white-space: normal;
|
|
}
|
|
}
|
|
.iti__flag-box {
|
|
display: inline-block;
|
|
width: var(--20px);
|
|
}
|
|
.iti__divider {
|
|
padding-bottom: var(--5px);
|
|
margin-bottom: var(--5px);
|
|
border-bottom: var(--1px) solid #ccc;
|
|
}
|
|
.iti__country {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: var(--5px) var(--10px);
|
|
outline: none;
|
|
}
|
|
.iti__dial-code {
|
|
color: #999;
|
|
}
|
|
.iti__country.iti__highlight {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
.iti__flag-box, .iti__country-name {
|
|
margin-right: var(--6px);
|
|
}
|
|
[dir=rtl] .iti__flag-box, [dir=rtl] .iti__country-name {
|
|
margin-right: 0;
|
|
margin-left: var(--6px);
|
|
}
|
|
.iti--allow-dropdown input,
|
|
.iti--allow-dropdown input[type=text],
|
|
.iti--allow-dropdown input[type=tel], .iti--separate-dial-code input,
|
|
.iti--separate-dial-code input[type=text],
|
|
.iti--separate-dial-code input[type=tel] {
|
|
padding-right: var(--6px);
|
|
padding-left: var(--50px);
|
|
margin-left: 0;
|
|
}
|
|
[dir=rtl] .iti--allow-dropdown input,
|
|
[dir=rtl] .iti--allow-dropdown input[type=text],
|
|
[dir=rtl] .iti--allow-dropdown input[type=tel], [dir=rtl] .iti--separate-dial-code input,
|
|
[dir=rtl] .iti--separate-dial-code input[type=text],
|
|
[dir=rtl] .iti--separate-dial-code input[type=tel] {
|
|
padding-right: var(--50px);
|
|
padding-left: var(--6px);
|
|
margin-right: 0;
|
|
}
|
|
.iti--allow-dropdown .iti__flag-container, .iti--separate-dial-code .iti__flag-container {
|
|
right: auto;
|
|
left: 0;
|
|
}
|
|
[dir=rtl] .iti--allow-dropdown .iti__flag-container, [dir=rtl] .iti--separate-dial-code .iti__flag-container {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
.iti--allow-dropdown .iti__flag-container:hover {
|
|
cursor: pointer;
|
|
}
|
|
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
.iti--allow-dropdown input[disabled] + .iti__flag-container:hover,
|
|
.iti--allow-dropdown input[readonly] + .iti__flag-container:hover {
|
|
cursor: default;
|
|
}
|
|
.iti--allow-dropdown input[disabled] + .iti__flag-container:hover .iti__selected-flag,
|
|
.iti--allow-dropdown input[readonly] + .iti__flag-container:hover .iti__selected-flag {
|
|
background-color: transparent;
|
|
}
|
|
.iti--separate-dial-code .iti__selected-flag {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
.iti--separate-dial-code.iti--show-flags .iti__selected-dial-code {
|
|
margin-left: var(--6px);
|
|
}
|
|
[dir=rtl] .iti--separate-dial-code.iti--show-flags .iti__selected-dial-code {
|
|
margin-left: 0;
|
|
margin-right: var(--6px);
|
|
}
|
|
.iti--container {
|
|
position: absolute;
|
|
top: -1000px;
|
|
left: -1000px;
|
|
z-index: 1060;
|
|
padding: 1px;
|
|
}
|
|
.iti--container:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.iti-mobile .iti--container {
|
|
top: var(--30px);
|
|
bottom: var(--30px);
|
|
left: var(--30px);
|
|
right: var(--30px);
|
|
position: fixed;
|
|
}
|
|
.iti-mobile .iti__country-list {
|
|
max-height: 100%;
|
|
width: 100%;
|
|
}
|
|
.iti-mobile .iti__country {
|
|
padding: 10px 10px;
|
|
line-height: 1.5em;
|
|
}
|