changeset 7078:0b18670d5864

less: fixes for select2 - highlight .match - use .input-sm for select2 .input-sm
author domruf <dominikruf@gmail.com>
date Sat, 28 Oct 2017 19:08:54 +0200
parents b9e280001526
children a0da4cb92760
files kallithea/public/less/kallithea-select2.less
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/less/kallithea-select2.less	Fri Oct 27 20:34:16 2017 +0200
+++ b/kallithea/public/less/kallithea-select2.less	Sat Oct 28 19:08:54 2017 +0200
@@ -59,3 +59,13 @@
     }
   }
 }
+
+/* highlight query in user autocomplete search results */
+.select2-results .match {
+  font-weight: 700;
+}
+
+/* fix select2 input style if input-sm is used */
+.select2-container.input-sm input {
+  .input-sm;
+}