Quellcode durchsuchen

BS5 Migration to CMS - Adding the new styling for form labels (#20582)

* adding styling for form label under bs5 styling

* moving label color to website-redesign

* adding spacing-02

* fixing a linting error

* adding label styling within website-redesign

GitOrigin-RevId: bc99c13e5d60dc68c3557db752292faf5eb5a34e
Davinder Singh vor 2 Jahren
Ursprung
Commit
610e3839ae
1 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. 11 0
      services/web/frontend/stylesheets/bootstrap-5/components/form.scss

+ 11 - 0
services/web/frontend/stylesheets/bootstrap-5/components/form.scss

@@ -169,3 +169,14 @@
     box-shadow: $input-focus-box-shadow;
   }
 }
+
+.website-redesign {
+  label {
+    color: $form-text-color;
+    display: inline-block;
+    margin-bottom: var(--spacing-02);
+    font-weight: bold;
+
+    @include body-sm;
+  }
+}