mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Add a placeholder icon when no country is selected in Et2-SelectCountry widget
This commit is contained in:
parent
86baaad9d0
commit
feb476b8cd
@ -8,7 +8,14 @@ et2-select-country sl-menu-item::part(prefix), et2-select-country .flag {
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
/* No country selected*/
|
||||||
|
et2-select-country[value=""] .flag, et2-select-country [value=""]::part(prefix) {
|
||||||
|
background-image: url(../images/internet.png);
|
||||||
|
background-position: center;
|
||||||
|
background-size: 20px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
/* First selector is for the current value, second for the option */
|
/* First selector is for the current value, second for the option */
|
||||||
et2-select-country[value="BE"] .flag, et2-select-country [value="BE"]::part(prefix) {
|
et2-select-country[value="BE"] .flag, et2-select-country [value="BE"]::part(prefix) {
|
||||||
width: 18px
|
width: 18px
|
||||||
|
Loading…
Reference in New Issue
Block a user