Merge pull request #3029 from nextcloud/systemtags-scss-optimisation

Systemtags scss optimisation
This commit is contained in:
John Molakvoæ 2017-01-11 18:41:14 +01:00 committed by GitHub
commit fab82e9780
1 changed files with 21 additions and 29 deletions

View File

@ -1,10 +1,7 @@
/* /**
* Copyright (c) 2016 * @copyright Copyright (c) 2017
* *
* This file is licensed under the Affero General Public License version 3 * @license GNU AGPL version 3 or any later version
* or later.
*
* See the COPYING-README file.
* *
*/ */
@ -44,17 +41,16 @@
width: calc(100% - 40px); width: calc(100% - 40px);
} }
} }
.label {
width: 85%;
display: -moz-inline-box;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
&.hidden {
display: none;
} }
.systemtags-select2-container {
width: 100%;
} }
#select2-drop.systemtags-select2-dropdown .select2-results li.select2-result {
padding: 5px;
}
.systemtags-select2-dropdown {
span { span {
line-height: 25px; line-height: 25px;
} }
@ -68,17 +64,13 @@
} }
} }
.systemtags-select2-container .select2-choices .select2-search-choice.select2-locked .label { .systemtags-select2-container {
width: 100%;
.select2-choices .select2-search-choice.select2-locked .label {
opacity: 0.5; opacity: 0.5;
} }
}
.systemtags-select2-dropdown .label { #select2-drop.systemtags-select2-dropdown .select2-results li.select2-result {
width: 85%; padding: 5px;
display: -moz-inline-box;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
&.hidden {
display: none;
}
} }