From 967c67f9facb49f45d7b2126e5184361cf3a5fc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 11 Jan 2021 14:11:58 +0100 Subject: [PATCH] style: lighten text colour of disabled radio items (#50036) --- gadjo/static/css/_forms.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gadjo/static/css/_forms.scss b/gadjo/static/css/_forms.scss index 2ff37eb..dbc0aeb 100644 --- a/gadjo/static/css/_forms.scss +++ b/gadjo/static/css/_forms.scss @@ -212,6 +212,12 @@ input[type="radio"]:focus, input[type="checkbox"]:focus { box-shadow: none; } +label input[type="radio"], label input[type="checkbox"] { + &[disabled] + span { + color: lighten($font-color, 30%); + } +} + input[readonly], select[readonly], textarea[readonly] { border-width: 0 0 1px 0; }