From b3ccabcde0214dd2c8c849e26478364d3d69cc5d Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Mon, 13 Oct 2014 17:43:11 +0300 Subject: [PATCH] fix css --- frontend/client/css/select2-bootstrap.css | 8 ++++---- frontend/client/css/select2.css | 14 ++++++-------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/frontend/client/css/select2-bootstrap.css b/frontend/client/css/select2-bootstrap.css index ecaa92c687..d71680b1af 100644 --- a/frontend/client/css/select2-bootstrap.css +++ b/frontend/client/css/select2-bootstrap.css @@ -84,7 +84,7 @@ div.select2-container { .input-group-sm .select2-container .select2-choice { height: 30px; line-height: 1.5; - border-radius: 3px; + border-radius: 0px; } .select2-container.input-lg .select2-choice, @@ -335,8 +335,8 @@ div.select2-container { .select2-dropdown-open.select2-drop-above [class^="select2-choice"] { border-top-right-radius: 0 !important; border-top-left-radius: 0 !important; - border-bottom-right-radius: 4px !important; - border-bottom-left-radius: 4px !important; + border-bottom-right-radius: 0px !important; + border-bottom-left-radius: 0px !important; } .input-group.select2-bootstrap-prepend .select2-dropdown-open.select2-drop-above [class^="select2-choice"] { border-bottom-left-radius: 0 !important; @@ -356,7 +356,7 @@ div.select2-container { border-bottom-left-radius: 3px !important; } .input-group.input-group-lg.select2-bootstrap-append .select2-dropdown-open.select2-drop-above [class^="select2-choice"] { - border-bottom-left-radius: 6px !important; + border-bottom-left-radius: 0px !important; } /** diff --git a/frontend/client/css/select2.css b/frontend/client/css/select2.css index cb4e89627e..770694c9f6 100644 --- a/frontend/client/css/select2.css +++ b/frontend/client/css/select2.css @@ -38,7 +38,7 @@ Version: 3.5.1 Timestamp: Tue Jul 22 18:58:56 EDT 2014 color: #444; text-decoration: none; - border-radius: 4px; + border-radius: 0px; background-clip: padding-box; @@ -63,7 +63,7 @@ html[dir="rtl"] .select2-container .select2-choice { .select2-container.select2-drop-above .select2-choice { border-bottom-color: #d1d5d6; - border-radius: 0 0 4px 4px; + border-radius: 0 0 0px 0px; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.9, #fff)); background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%); @@ -149,10 +149,9 @@ html[dir="rtl"] .select2-container .select2-choice > .select2-chosen { border: 1px solid #d1d5d6; border-top: 0; - border-radius: 0 0 4px 4px; + border-radius: 0 0 0px 0px; + - -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15); - box-shadow: 0 4px 5px rgba(0, 0, 0, .15); } .select2-drop.select2-drop-above { @@ -160,10 +159,9 @@ html[dir="rtl"] .select2-container .select2-choice > .select2-chosen { border-top: 1px solid #d1d5d6; border-bottom: 0; - border-radius: 4px 4px 0 0; + border-radius: 0px 0px 0 0; + - -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15); - box-shadow: 0 -4px 5px rgba(0, 0, 0, .15); } .select2-drop-active {