]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add proper scope to files external CSS 557/head
authorMorris Jobke <hey@morrisjobke.de>
Mon, 25 Jul 2016 15:08:33 +0000 (17:08 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 25 Jul 2016 15:55:05 +0000 (17:55 +0200)
* for select2

apps/files_external/css/settings.css
apps/files_external/js/settings.js

index 6dfb012b15ebf65895467b63e2dd3b9d6cb241c9..4d5dc69a4e7896f32ca185a9d9d8ecfe68effa3e 100644 (file)
@@ -68,23 +68,23 @@ td.mountPoint, td.backend { width:160px; }
        padding-left: 25px;
 }
 
-#body-settings .select2-results .select2-result-label {
+.files-external-select2 .select2-results .select2-result-label {
        height: 32px;
        padding: 3px;
 }
-.select2-results .select2-result-label > span {
+.files-external-select2 .select2-results .select2-result-label > span {
        display: block;
        position: relative;
 }
-.select2-results .select2-result-label .avatardiv {
+.files-external-select2 .select2-results .select2-result-label .avatardiv {
        display:inline-block;
 }
-.select2-results .select2-result-label .avatardiv + span {
+.files-external-select2 .select2-results .select2-result-label .avatardiv + span {
        position: absolute;
        top: 5px;
        margin-left: 10px;
 }
-.select2-results .select2-result-label .avatardiv[data-type="group"] + span {
+.files-external-select2 .select2-results .select2-result-label .avatardiv[data-type="group"] + span {
        vertical-align: top;
        top: 6px;
        position: absolute;
index 921bf92e775eff00ceeb6c5eb054d8b4dbbbb57b..fc6edefc64808894e050661e2e4068639a0b8233 100644 (file)
@@ -93,6 +93,7 @@ function addSelect2 ($elements, userListLimit) {
                placeholder: t('files_external', 'All users. Type to select user or group.'),
                allowClear: true,
                multiple: true,
+               dropdownCssClass: 'files-external-select2',
                //minimumInputLength: 1,
                ajax: {
                        url: OC.generateUrl('apps/files_external/applicable'),