From 6298da057246442e1afd3cc52241b4f41e499a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 11 Dec 2022 16:43:30 +0100 Subject: [PATCH] Show a small dot next to required fields to improve usability. --- assets/css/app.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/assets/css/app.css b/assets/css/app.css index fef6fb86..b367abfc 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -882,3 +882,17 @@ table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selecte background-color: var(--bs-success); border-color: var(--bs-success); } + +/*********************************************** + * Form required dots + ***********************************************/ + +form .col-form-label.required:after, form label.required:after { + bottom: 4px; + color: var(--bs-dark); + content: "\2022"; + filter: opacity(75%); + position: relative; + right: -2px; + z-index: 700; +} \ No newline at end of file