From: Maciej Tronowski Date: Fri, 6 Mar 2015 16:09:44 +0000 (+0100) Subject: fix selectize controls styling X-Git-Tag: v1.0~128 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=1c02b178e1d34cc4c768ea12b55a8d5e1f7abe8d;hp=869ec8280e71fcb13d507111c87028f8f6a6a286;p=qcg-portal.git fix selectize controls styling --- diff --git a/qcg/static/qcg/selectize/selectize.bootstrap3.css b/qcg/static/qcg/selectize/selectize.bootstrap3.css index 6f981c6..62682f9 100644 --- a/qcg/static/qcg/selectize/selectize.bootstrap3.css +++ b/qcg/static/qcg/selectize/selectize.bootstrap3.css @@ -137,8 +137,8 @@ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; - -webkit-box-shadow: none; - box-shadow: none; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; @@ -369,6 +369,16 @@ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); } +.has-success .selectize-input { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); +} +.has-success .selectize-input.focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; +} .has-error .selectize-input { border-color: #a94442; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);