From db3a6101f6900b022f43dfd9e8e2d107542ba33c Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 14 Jul 2016 15:47:10 +0530 Subject: [PATCH] [style] fixed autocomplete widget --- frappe/public/css/desk.css | 11 ++++++++--- frappe/public/less/desk.less | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/frappe/public/css/desk.css b/frappe/public/css/desk.css index 16bcfb4198..789390e5fb 100644 --- a/frappe/public/css/desk.css +++ b/frappe/public/css/desk.css @@ -385,15 +385,20 @@ fieldset[disabled] .form-control { } .ui-datepicker .ui-state-active, .ui-autocomplete .ui-state-active { - background-color: #5E64FF !important; - color: #fff !important; + background-color: #F0F4F7 !important; + color: #36414C !important; text-shadow: none !important; + border: none; +} +.ui-datepicker .ui-state-active .small, +.ui-autocomplete .ui-state-active .small { + color: #555 !important; } .ui-menu .ui-menu-item { - padding: 7px; font-size: 12px; } .ui-menu .ui-menu-item a { + padding: 9px 11.8px !important; text-decoration: none; } @media (min-width: 768px) { diff --git a/frappe/public/less/desk.less b/frappe/public/less/desk.less index 82b39b38f1..78daf63451 100644 --- a/frappe/public/less/desk.less +++ b/frappe/public/less/desk.less @@ -198,16 +198,21 @@ textarea.form-control { } .ui-state-active { - background-color: @brand-primary !important; - color: #fff !important; + background-color: @btn-bg !important; + color: @text-color !important; text-shadow: none !important; + border: none; + + .small { + color: #555 !important; + } } } .ui-menu .ui-menu-item { - padding: 7px; font-size: @text-medium; a { + padding: 9px 11.8px !important; text-decoration: none; } }