Ga direct naar inhoud
Waarschuwing:

Lorem ipsum dolor sit amet.

Pagina-notificatie waarschuwing voorbeeld

Voor het weergeven van notificaties op paginaniveau.

Voorbeelden

Visueel voorbeeld:

Voor het voorbeeld zie bovenaan deze pagina.

HTML-voorbeeld:

section

<p class="warning" role="group" aria-label="waarschuwing"><span>Waarschuwing:</span> Lorem ipsum dolor sit.</p>

Bijbehorende bestanden

Voor meer informatie over importeren en instellen van componenten. Zie: Componenten gebruiken en styling toevoegen

Importeer component via npm

CSS-voorbeeld:

@use "@minvws/manon/notification";
@use "@minvws/manon/notification-warning-message";
@use "@minvws/manon/notification-warning-page";

Instelbare variabelen

Beschikbare instelbare variabelen:
VariabeleCSS-attribuutManon ingestelde waardeBreekpuntClass
--notification-warning-page-background-colorbackground-colorvar(--warning-background-color)-warning
--notification-warning-page-text-colorcolorvar(--warning-text-color)-
--notification-warning-page-border-widthborder-widthvar(--notification-border-width)-
--notification-warning-page-border-styleborder-stylevar(--notification-border-style)-
--notification-warning-page-border-colorborder-colorvar(--warning-border-color)-
--notification-warning-page-padding-toppadding-top0.5rem-
--notification-warning-page-padding-rightpadding-rightvar(--page-whitespace-right)-
--notification-warning-page-padding-bottompadding-bottom0.5rem-
--notification-warning-page-padding-leftpadding-leftvar(--page-whitespace-left)-
--notification-warning-page-gapgap0.5rem-
--notification-warning-page-span-font-weightspan-font-weightvar(--notification-span-font-weight)-
--notification-warning-pagecontent-wrapper-padding-toppadding-top0.5rem-
--notification-warning-pagecontent-wrapper-padding-rightpadding-rightvar(--content-padding-right)-
--notification-warning-pagecontent-wrapper-padding-bottompadding-bottom0.5rem-
--notification-warning-pagecontent-wrapper-padding-leftpadding-leftvar(--content-padding-left)-
--notification-warning-pagecontent-wrapper-gapgap0.5rem-
--notification-warning-pagecontent-wrapper-span-font-weightfont-weight0.5rem-
--notification-warning-page-icon-font-familyfont-familyvar(--notification-icon-font-family)-
--notification-warning-page-icon-font-sizefont-sizevar(--notification-icon-font-size)-
--notification-warning-page-icon-text-colorcolorvar(--notification-icon-text-color)-
--notification-warning-page-icon-padding-rightpadding-rightvar(--notification-icon-padding-right)-
--notification-warning-page-icon-padding-leftpadding-leftvar(--notification-icon-padding-left)-
--notification-warning-page-icon-margin-rightmargin-rightvar(--notification-icon-margin-right)-
--notification-warning-page-iconcontentvar(--notification-icon)-

CSS

Overzicht van de beschikbare variabelen om te kunnen gebruiken binnen de CSS van jouw project. Kies en gebruik de benodigde variabelen.

:root {
    --notification-warning-page-background-color: ;
    --notification-warning-page-text-color: ;
    --notification-warning-page-border-width: ;
    --notification-warning-page-border-style: ;
    --notification-warning-page-border-color: ;
    --notification-warning-page-padding-top: ;
    --notification-warning-page-padding-right: ;
    --notification-warning-page-padding-bottom: ;
    --notification-warning-page-padding-left: ;
    --notification-warning-page-gap: ;

    /* First span */
    --notification-warning-page-span-font-weight: ;


    /* Content wrapper */
    --notification-warning-page-content-wrapper-padding-top: ;
    --notification-warning-page-content-wrapper-padding-right: ;
    --notification-warning-page-content-wrapper-padding-bottom: ;
    --notification-warning-page-content-wrapper-padding-left: ;
    --notification-warning-page-content-wrapper-gap: ;

    /* First span */
    --notification-warning-page-content-wrapper-span-font-weight: ;

    /* Icon */
    --notification-warning-page-icon-font-family: ;
    --notification-warning-page-icon-font-size: ;
    --notification-warning-page-icon-text-color: ;
    --notification-warning-page-icon-padding-right: ;
    --notification-warning-page-icon-padding-left: ;
    --notification-warning-page-icon-margin-right: ;
    --notification-warning-page-icon: ;
}