Skip to content

Commit 0a0f539

Browse files
committed
feat(examples): add example content for rules 3.2.2 – 4.1.3
1 parent 4549dcd commit 0a0f539

File tree

2 files changed

+709
-26
lines changed

2 files changed

+709
-26
lines changed

src/App.module.css

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,3 +506,177 @@ video {
506506
.languageOfPage {
507507
color: var(--ubilabs-font-secondary-color);
508508
}
509+
510+
.inconsistentNavigation {
511+
display: grid;
512+
grid-template-columns: repeat(2, auto);
513+
grid-template-rows: auto 1fr;
514+
align-items: start;
515+
justify-content: start;
516+
gap: 1rem 0.5rem;
517+
}
518+
519+
.inconsistentNavigation .page {
520+
grid-column: 1 / -1;
521+
padding: 1rem;
522+
border: 1px solid var(--ubilabs-gray-500);
523+
}
524+
525+
.consistentIdentification {
526+
display: grid;
527+
grid-template-columns: repeat(2, 1fr);
528+
align-items: start;
529+
gap: 1rem;
530+
}
531+
532+
.consistentIdentification .product {
533+
padding: 1rem;
534+
border: 1px solid var(--ubilabs-gray-500);
535+
}
536+
537+
.consistentIdentification dialog {
538+
border: 1px solid var(--ubilabs-gray-500);
539+
}
540+
541+
.consistentIdentification dialog::backdrop {
542+
background-color: var(--ubilabs-anthracite);
543+
opacity: 0.8;
544+
}
545+
546+
.consistentHelp {
547+
display: grid;
548+
gap: 1rem;
549+
}
550+
551+
.consistentHelp .page {
552+
display: grid;
553+
grid-template-columns: 1fr auto;
554+
padding: 1rem;
555+
border: 1px solid var(--ubilabs-gray-500);
556+
}
557+
558+
.consistentHelp .page > p {
559+
grid-column: 1 / -1;
560+
grid-row: 2;
561+
}
562+
563+
.consistentHelp .helpLinkTopRight {
564+
grid-column: 2;
565+
grid-row: 1;
566+
}
567+
568+
.consistentHelp .helpLinkBottomLeft {
569+
grid-column: 1;
570+
grid-row: 3;
571+
}
572+
573+
.errorIdentification {
574+
display: flex;
575+
flex-direction: column;
576+
align-items: start;
577+
gap: 0.25rem;
578+
}
579+
580+
.errorIdentification button {
581+
margin-top: 0.75rem;
582+
}
583+
584+
.labelsOrInstruction {
585+
display: flex;
586+
flex-direction: column;
587+
align-items: start;
588+
gap: 0.25rem;
589+
}
590+
591+
.labelsOrInstruction .visuallyHidden {
592+
position: absolute;
593+
width: 1px;
594+
height: 1px;
595+
padding: 0;
596+
margin: -1px;
597+
overflow: hidden;
598+
clip: rect(0 0 0 0);
599+
white-space: nowrap;
600+
border: 0;
601+
}
602+
603+
.labelsOrInstruction button {
604+
margin-top: 0.75rem;
605+
}
606+
607+
.errorSuggestion {
608+
display: flex;
609+
flex-direction: column;
610+
align-items: start;
611+
gap: 0.25rem;
612+
}
613+
614+
.errorSuggestion [role='alert'] {
615+
color: var(--ubilabs-red);
616+
font-size: 0.875rem;
617+
}
618+
619+
.errorSuggestion button {
620+
margin-top: 0.75rem;
621+
}
622+
623+
.errorPrevention {
624+
display: flex;
625+
flex-direction: column;
626+
align-items: start;
627+
gap: 0.25rem;
628+
}
629+
630+
.errorPrevention button {
631+
margin-top: 0.75rem;
632+
}
633+
634+
.redundantEntry form {
635+
display: flex;
636+
flex-direction: column;
637+
align-items: start;
638+
gap: 0.25rem;
639+
}
640+
641+
.redundantEntry .buttons {
642+
display: flex;
643+
gap: 0.5rem;
644+
}
645+
646+
.redundantEntry button {
647+
margin-top: 0.75rem;
648+
}
649+
650+
.nameRoleValue {
651+
display: flex;
652+
gap: 0.25rem;
653+
}
654+
655+
.nameRoleValue .checkbox {
656+
display: inline-block;
657+
width: 1.5rem;
658+
height: 1.5rem;
659+
border-radius: 2px;
660+
border: 1px solid var(--ubilabs-gray-500);
661+
}
662+
663+
.nameRoleValue .checkbox:hover {
664+
border-color: var(--ubilabs-font-color);
665+
}
666+
667+
.statusMessages form {
668+
display: flex;
669+
flex-direction: column;
670+
align-items: start;
671+
gap: 0.25rem;
672+
}
673+
674+
.statusMessages button {
675+
margin-top: 0.75rem;
676+
}
677+
678+
.statusMessages .message {
679+
margin-top: 0.5rem;
680+
color: var(--ubilabs-green);
681+
font-size: 0.875rem;
682+
}

0 commit comments

Comments
 (0)