-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: UIG-3123 - vl-title-next, vl-form-label-next - styling stuurbaa…
…r gemaakt De CSS van vl-form-label-next gemigreerd. Custom variables voorzien voor de h2 van de `vl-title-next` om gepaste styling te kunnen aanbieden. Cypress testen uitgebreid.
- Loading branch information
Showing
5 changed files
with
89 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { css } from 'lit'; | ||
|
||
export const formLabelStyles = css` | ||
.vl-form__label { | ||
font-size: var(--vl-label-font-size); | ||
font-weight: var(--vl-label-font-weight); | ||
color: #4d4d4b; | ||
display: inline-block; | ||
line-height: 1; | ||
margin-right: 0.5rem; | ||
margin-bottom: 0.7rem; | ||
} | ||
@media screen and (max-width: 767px) { | ||
.vl-form__label { | ||
/* font-size is hetzelfde als de body font-size; overgenomen van DV */ | ||
font-size: var(--vl-label-font-size); | ||
} | ||
} | ||
.vl-form__label--block { | ||
display: block; | ||
margin-right: 0; | ||
margin-bottom: 0.7rem; | ||
} | ||
.vl-form__label--offset { | ||
margin-top: 1rem; | ||
} | ||
.vl-form__label--light { | ||
color: #687483; | ||
} | ||
.vl-form__label__message { | ||
font-weight: normal; | ||
color: #687483; | ||
font-size: var(--vl-label-font-size-small); | ||
line-height: 2rem; | ||
} | ||
.vl-form__label--standalone { | ||
margin-bottom: 0; | ||
} | ||
`; |