Forráskód Böngészése

Add bootstrap-chosen.css

jmontoyaa 8 éve
szülő
commit
f775f17be1

+ 33 - 0
main/inc/lib/javascript/chosen/bootstrap-chosen.css

@@ -0,0 +1,33 @@
+ .chosen-container-multi .chosen-choices {
+     border-radius: 4px !important;
+     padding: 3px 11px !important;
+ }
+
+ .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
+    height:auto;
+    padding:5px 0 !important;
+
+    color: #333 !important;
+    font-family: inherit !important;
+    font-size: 14px !important;
+        border-radius: 4px !important;
+
+}
+ .chosen-container-multi.chosen-container-active .chosen-choices,
+.chosen-container.chosen-container-single.chosen-container-active .chosen-single,
+.chosen-container .chosen-search input[type=text]:focus{
+    border-color: #66AFE9;
+    outline: 0;
+    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(102, 175, 233, 0.6);
+    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(102, 175, 233, 0.6);
+
+     border-radius: 4px !important;
+}
+
+ .chosen-container-multi .chosen-results li.result-selected{
+    display: list-item;
+    color: #ccc;
+    cursor: default;
+    background-color: white;
+}
+

+ 2 - 0
main/inc/lib/template.lib.php

@@ -554,7 +554,9 @@ class Template
             $css[] = api_get_path(WEB_PATH).'web/assets/'.$file;
         }
         $css[] = api_get_path(WEB_LIBRARY_PATH) . 'javascript/bootstrap-select/css/bootstrap-select.min.css';
+        $css[] = api_get_path(WEB_LIBRARY_PATH) . 'javascript/chosen/bootstrap-chosen.css';
         $css[] = api_get_path(WEB_LIBRARY_PATH) . 'javascript/chosen/chosen.css';
+
         $css[] = api_get_path(WEB_LIBRARY_PATH) . 'javascript/tag/style.css';
 
         if (api_is_global_chat_enabled()) {