More RTL style fixes, now for the multiple select
This commit is contained in:
parent
06b93b2703
commit
fb91adaa57
13
select2.css
13
select2.css
@ -499,6 +499,10 @@ disabled look for disabled choices in the results dropdown
|
|||||||
background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
|
background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] .select2-container-multi .select2-choices {
|
||||||
|
padding: 0 0 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.select2-locked {
|
.select2-locked {
|
||||||
padding: 3px 5px 3px 5px !important;
|
padding: 3px 5px 3px 5px !important;
|
||||||
}
|
}
|
||||||
@ -582,8 +586,8 @@ html[dir="rtl"] .select2-container-multi .select2-choices li
|
|||||||
}
|
}
|
||||||
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
|
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
|
||||||
{
|
{
|
||||||
margin-left: 0;
|
margin: 3px 5px 3px 0;
|
||||||
margin-right: 5px;
|
padding: 3px 18px 3px 5px;
|
||||||
}
|
}
|
||||||
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
|
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
@ -613,6 +617,11 @@ html[dir="rtl"] .select2-search-choice-close {
|
|||||||
left: 3px;
|
left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
|
||||||
|
left: auto;
|
||||||
|
right: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
|
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
|
||||||
background-position: right -11px;
|
background-position: right -11px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user