-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
63 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
|
||
# dependencies | ||
node_modules | ||
package-lock.json | ||
|
||
# profiling files | ||
chrome-profiler-events.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 22 additions & 19 deletions
41
projects/ngx-intl-tel-input/src/lib/ngx-intl-tel-input.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,59 @@ | ||
li.country:hover { | ||
li.iti__country:hover { | ||
background-color: rgba(0, 0, 0, 0.05); | ||
} | ||
.selected-flag.dropdown-toggle:after { | ||
.iti__selected-flag.dropdown-toggle:after { | ||
content: none; | ||
} | ||
.flag-container.disabled { | ||
.iti__flag-container.disabled { | ||
cursor: default !important; | ||
} | ||
.intl-tel-input.allow-dropdown .flag-container.disabled:hover .selected-flag { | ||
.iti.iti--allow-dropdown .flag-container.disabled:hover .iti__selected-flag { | ||
background: none; | ||
} | ||
.country-dropdown { | ||
border: 1px solid #CCC; | ||
border: 1px solid #ccc; | ||
width: fit-content; | ||
padding: 1px; | ||
border-collapse: collapse; | ||
} | ||
.search-container { | ||
position: relative; | ||
position: relative; | ||
} | ||
.search-container input { | ||
width: 100%; | ||
border: none; | ||
border-bottom: 1px solid #ccc; | ||
padding-left: 10px; | ||
} | ||
.search-icon{ | ||
.search-icon { | ||
position: absolute; | ||
z-index: 2; | ||
width: 25px; | ||
margin: 1px 10px; | ||
} | ||
.country-list { | ||
.iti__country-list { | ||
position: relative; | ||
border: none; | ||
} | ||
|
||
.intl-tel-input input#country-search-box { | ||
.iti input#country-search-box { | ||
padding-left: 6px; | ||
} | ||
|
||
.intl-tel-input.separate-dial-code .selected-flag, | ||
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 .selected-flag, | ||
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 .selected-flag, | ||
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag { | ||
width: 93px; | ||
.iti .selected-dial-code { | ||
margin-left: 6px; | ||
} | ||
|
||
.iti.separate-dial-code .iti__selected-flag, | ||
.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 .iti__selected-flag, | ||
.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 .iti__selected-flag, | ||
.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 .iti__selected-flag { | ||
width: 93px; | ||
} | ||
|
||
.intl-tel-input.separate-dial-code input, | ||
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input, | ||
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input, | ||
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input { | ||
.iti.separate-dial-code input, | ||
.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-2 input, | ||
.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-3 input, | ||
.iti.separate-dial-code.iti--allow-dropdown.iti-sdc-4 input { | ||
padding-left: 98px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters