From f5801632f4e73bd76cb86c9a607b07ea897371a4 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Thu, 20 Aug 2020 15:34:53 +0530 Subject: [PATCH] fix: Make disabled input look disabled --- frappe/public/less/form.less | 14 -------------- frappe/public/scss/form.scss | 3 ++- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/frappe/public/less/form.less b/frappe/public/less/form.less index 3ec542a473..e7f46c5839 100644 --- a/frappe/public/less/form.less +++ b/frappe/public/less/form.less @@ -604,16 +604,6 @@ font-weight: normal; } -.like-disabled-input { - margin-bottom: 7px; - border-radius: 3px; - min-height: 30px; - font-weight: bold; - background-color: @navbar-bg; - padding: 5px 10px; - border-radius: 3px; -} - .disabled-check { color: @navbar-bg; margin-right: 5px; @@ -780,10 +770,6 @@ select.form-control { top: -2px; } - .like-disabled-input { - min-height: 0px !important; - } - &:last-child { margin-bottom: 0px; } diff --git a/frappe/public/scss/form.scss b/frappe/public/scss/form.scss index 2ea4309825..54c0202a79 100644 --- a/frappe/public/scss/form.scss +++ b/frappe/public/scss/form.scss @@ -99,7 +99,8 @@ border-radius: $border-radius; min-height: 30px; font-weight: 400; - background-color: transparent; + color: var(--gray-500); + background-color: var(--control-bg); padding: var(--padding-xs) var(--padding-sm); }