From 76fd77d3b6f864b3f904105afec1d4bb5a1512b1 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Tue, 18 Oct 2016 14:55:53 +0200
Subject: jquery UI fixes

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
---
 core/css/inputs.css | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

(limited to 'core')

diff --git a/core/css/inputs.css b/core/css/inputs.css
index 21778cd0ee4..94b705752e9 100644
--- a/core/css/inputs.css
+++ b/core/css/inputs.css
@@ -5,7 +5,8 @@ input, textarea, select, button {
 	font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
 }
 
-.select2-container-multi .select2-choices .select2-search-field input {
+.select2-container-multi .select2-choices .select2-search-field input,
+.ui-widget {
 	font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif !important;
 }
 
@@ -219,6 +220,7 @@ select:hover {
 	background-color: #fefefe;
 }
 
+
 .select2-choices {
 	border: 1px solid #ddd;
 	border-radius: 3px;
@@ -231,6 +233,30 @@ select:hover {
 	border: 1px solid #3875d7;
 }
 
+
+/* jQuery UI fixes */
+.ui-menu {
+	padding: 0 !important;
+}
+.ui-menu .ui-menu-item a.ui-state-focus, .ui-menu .ui-menu-item a.ui-state-active {
+    font-weight: inherit !important;
+    margin: 0 !important;
+}
+.ui-widget-content {
+	background: #fff !important;
+	border-top: none !important;
+}
+.ui-corner-all {
+	border-radius: 0 !important;
+	border-bottom-left-radius: 3px !important;
+	border-bottom-right-radius: 3px !important;
+}
+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
+    border: none !important;
+    background: #f8f8f8 !important;
+}
+
+
 /* correctly align images inside of buttons */
 input img, button img, .button img {
 	vertical-align: text-bottom;
-- 
cgit v1.2.3