1
0
mirror of synced 2025-02-10 17:19:23 +03:00

More RTL style fixes, now for the multiple select

This commit is contained in:
Robert-Jan Bijl 2014-05-13 08:44:20 +02:00
parent 06b93b2703
commit fb91adaa57

View File

@ -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;
} }