diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-01-11 14:38:35 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-01-11 14:38:35 +0100 |
commit | dfee6ffaca9e2f9c09d1c3bca32b6d2649d1c110 (patch) | |
tree | c63846ae041ac1e8e49c1ab00be7d2fcf356f77c | |
parent | bc26f78eb1d87e7e9dfa62cf97e8a0cb81f79fa2 (diff) | |
download | nextcloud-server-dfee6ffaca9e2f9c09d1c3bca32b6d2649d1c110.tar.gz nextcloud-server-dfee6ffaca9e2f9c09d1c3bca32b6d2649d1c110.zip |
Systemtags scss optimisation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | core/css/systemtags.scss | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/core/css/systemtags.scss b/core/css/systemtags.scss index adbd36ebab1..1ae26710108 100644 --- a/core/css/systemtags.scss +++ b/core/css/systemtags.scss @@ -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-container { + width: 100%; + .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; - } +#select2-drop.systemtags-select2-dropdown .select2-results li.select2-result { + padding: 5px; } |