Jelajahi Sumber

优化变更归档搜索按钮

ellisran 1 tahun lalu
induk
melakukan
8a9814eedf
1 mengubah file dengan 11 tambahan dan 5 penghapusan
  1. 11 5
      app/view/report/index_archive.ejs

+ 11 - 5
app/view/report/index_archive.ejs

@@ -39,27 +39,33 @@
                     <style>
                         .select2-container {
                             display: inline-block!important;
+                            height: 27px;
                         }
                         .select2-container--bootstrap4 .select2-selection--single {
-                            height: calc(0.9em + 0.75rem + 2px) !important;
+                            height: calc(.84em + .75rem + 2px) !important;
                         }
                         .select2-container--bootstrap4 .select2-selection {
                             background-color: #f8f9fa;
                             /*border-color: #f8f9fa;*/
                             border: 1px solid #f8f9fa;
                         }
-                        .select2-container--bootstrap4 .select2-selection:hover {
+                        .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered:focus{
+                            box-shadow: 0 0 0 0.2rem rgba(216,217,219,.5);
+                        }
+                        .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered:hover {
                             background-color: #e2e6ea;
                             border-color: #dae0e5;
                         }
                         .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
-                            line-height: calc(0.9em + .75rem);
+                            line-height: calc(.84em + .75rem);
                             color: #007bff!important;
-                            background-color: #f8f9fa;
-                            border-color: #f8f9fa;
+                            border-radius: 0.2rem;
+                            /*background-color: #f8f9fa;*/
+                            /*border-color: #f8f9fa;*/
                         }
                         .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
                             border-color: #007bff transparent transparent transparent;
+                            border-width: 4px 3.7px 0;
                         }
                         .select2-search--dropdown .select2-search__field {
                             padding: 0.175rem 0.5rem;