From 986b5bdd606bfc35dcb871efc1ddbe506d41eb1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 10 Dec 2019 15:42:19 +0100 Subject: [PATCH] cnil: use bold for required fields labels (#38343) --- static/cnil/_custom.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/static/cnil/_custom.scss b/static/cnil/_custom.scss index e274dc18..6c6cb696 100644 --- a/static/cnil/_custom.scss +++ b/static/cnil/_custom.scss @@ -336,3 +336,19 @@ div.form-validation div.page { div#rub_service #steps ~ form { margin-right: #{0 - $grid-gutter}; } + +.widget-required { + div.title label { + font-weight: bold; + span.required { // sr-only + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0,0,0,0); + border: 0; + } + } +}