From a6efffda451f6466f157056941175a201f012ade Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 28 Nov 2018 01:14:43 +0900 Subject: [PATCH] =?UTF-8?q?selector=EC=97=90=20=EA=B2=80=EC=9D=80=EC=83=89?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/css/common.css | 8 ++++++++ hwe/js/currentCity.js | 7 ++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/hwe/css/common.css b/hwe/css/common.css index e069cd5f..e4e82438 100644 --- a/hwe/css/common.css +++ b/hwe/css/common.css @@ -225,4 +225,12 @@ div.bar_out div.bar_in{ .select2-dropdown.simple-select2-align-center li.select2-results__option{ text-align: center; +} + +.select2-container--bootstrap4 .select2-selection--single.text-secondary .select2-selection__rendered{ + color:white; +} + +.select2-container--bootstrap4 .text-secondary .select2-results__option[aria-selected=false]{ + color:white; } \ No newline at end of file diff --git a/hwe/js/currentCity.js b/hwe/js/currentCity.js index 33d8541b..68e7876e 100644 --- a/hwe/js/currentCity.js +++ b/hwe/js/currentCity.js @@ -5,10 +5,11 @@ $(function() { allowClear: false, language: "ko", containerCss: { - display: "inline-block !important" + display: "inline-block !important", + color: 'white !important' }, - containerCssClass: 'simple-select2-align-center', - dropdownCssClass: 'simple-select2-align-center', + containerCssClass: 'simple-select2-align-center bg-secondary text-secondary', + dropdownCssClass: 'simple-select2-align-center bg-secondary text-secondary', }); $('#citySelector').on('select2:select', function(e){ var data = e.params.data;