Skip to content

Commit ef46ba1

Browse files
author
Simon L. Lange
committed
QJZ-996-32754: Form styles
1 parent 2b83a7d commit ef46ba1

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

web/themes/custom/subsites/fds_ringsted_theme/dist/stylesheets/stylesheet.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/themes/custom/subsites/fds_ringsted_theme/src/styles/theme/components/_form.scss

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ $custom-input-left-right-padding: 20px;
7676
.form-label,
7777
.form-composite > legend,
7878
.label {
79-
font-size: 1.3rem;
79+
font-size: 18px;
8080
font-weight: initial;
8181
color: $color-black;
82-
margin: 12px 0 0 10px;
82+
margin: 12px 0 0 0px;
83+
font-family: "Museo 500", Helvetica, Arial, sans-serif;
8384
}
8485
.form-group {
8586
margin-top: 0;
@@ -155,6 +156,9 @@ body {
155156
.form-hint.description {
156157
font-size: $base-font-size;
157158
}
159+
.form-label.option {
160+
font-size: 14px !important;
161+
}
158162
}
159163

160164
.form-select {
@@ -342,6 +346,18 @@ form {
342346
}
343347
}
344348

349+
.form-required:after {
350+
content: '*';
351+
display: inline-block;
352+
width: 6px;
353+
height: 6px;
354+
margin: 0 0.3em;
355+
vertical-align: super;
356+
/* Use a background image to prevent screen readers from announcing the text. */
357+
background-repeat: no-repeat;
358+
background-size: 6px 6px;
359+
}
360+
345361
// --------------------------------------------------
346362
// Responsive
347363
// --------------------------------------------------

0 commit comments

Comments
 (0)