summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-11 14:38:35 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-11 14:38:35 +0100
commitdfee6ffaca9e2f9c09d1c3bca32b6d2649d1c110 (patch)
treec63846ae041ac1e8e49c1ab00be7d2fcf356f77c
parentbc26f78eb1d87e7e9dfa62cf97e8a0cb81f79fa2 (diff)
downloadnextcloud-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.scss48
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;
}