Systemtags scss optimisation

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-01-11 14:38:35 +01:00
parent bc26f78eb1
commit dfee6ffaca
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
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
* or later.
*
* See the COPYING-README file.
* @license GNU AGPL version 3 or any later version
*
*/
@ -44,17 +41,16 @@
width: calc(100% - 40px);
}
}
}
.systemtags-select2-container {
width: 100%;
}
#select2-drop.systemtags-select2-dropdown .select2-results li.select2-result {
padding: 5px;
}
.systemtags-select2-dropdown {
.label {
width: 85%;
display: -moz-inline-box;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
&.hidden {
display: none;
}
}
span {
line-height: 25px;
}
@ -68,17 +64,13 @@
}
}
.systemtags-select2-container .select2-choices .select2-search-choice.select2-locked .label {
opacity: 0.5;
}
.systemtags-select2-dropdown .label {
width: 85%;
display: -moz-inline-box;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
&.hidden {
display: none;
.systemtags-select2-container {
width: 100%;
.select2-choices .select2-search-choice.select2-locked .label {
opacity: 0.5;
}
}
#select2-drop.systemtags-select2-dropdown .select2-results li.select2-result {
padding: 5px;
}