From 345c05838c6fae4dacbde3102a337fd1c9507992 Mon Sep 17 00:00:00 2001 From: denisbaranov Date: Mon, 27 Jan 2020 19:09:54 +0200 Subject: [PATCH] Multi-select field style --- assets/css/um-styles.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/assets/css/um-styles.css b/assets/css/um-styles.css index 2485a183..4d9905b4 100644 --- a/assets/css/um-styles.css +++ b/assets/css/um-styles.css @@ -962,4 +962,31 @@ small.um-max-filesize span{ } .um-field-multiselect .um-field-area.um-field-area-has-icon ul:first-child{ margin-left: 30px !important; +} + +/* + - Multi-select +*/ +.um-field .select2-selection--multiple .select2-search{ + clear: both; + float: none; + margin-right: 12px; + padding-top: 0.5rem; + position: relative; +} +.um-field .select2-selection--multiple .select2-search:first-of-type{ + padding-top: 12px; +} +.um-field .select2-selection--multiple .select2-search::before { + content: "\f21f"; + font-family: "Ionicons"; + font-size: 1.4rem; + line-height: 2rem; + right: 0.3rem; + position: absolute; +} +.um-field .select2-selection--multiple .select2-search input.select2-search__field{ + background-color: rgba(128,128,128,0.1) !important; + height: 2rem !important; + width: 100% !important; } \ No newline at end of file