@@ -424,12 +424,7 @@ fieldset {
424424
425425.contentInteraction {
426426 display : flex ;
427- justify-content : space-between ;
428427 margin-top : 20px ;
429-
430- @include screen-xs {
431- flex-wrap : wrap ;
432- }
433428}
434429
435430.contentInteractionPagination {
@@ -520,6 +515,9 @@ fieldset {
520515}
521516
522517.content {
518+ container-type : inline-size ;
519+ container-name : content ;
520+
523521 .contentInteraction + .section ,
524522 .contentInteraction + form {
525523 margin-top : 20px ;
@@ -571,3 +569,61 @@ fieldset {
571569 }
572570 }
573571}
572+
573+ .contentInteraction--withTabs {
574+ border-bottom : solid 1px var (--wcfContentBorderInner );
575+ }
576+
577+ .contentInteractionTabs {
578+ display : flex ;
579+ gap : 10px ;
580+ }
581+
582+ .contentInteractionTab {
583+ display : flex ;
584+ white-space : nowrap ;
585+ }
586+
587+ .contentInteractionTab__link {
588+ display : flex ;
589+ padding : 5px 10px ;
590+ color : var (--wcfContentDimmedText );
591+ font-size : var (--wcfFontSizeSection );
592+ font-weight : 600 ;
593+ position : relative ;
594+ }
595+
596+ .contentInteractionTab__link ::after {
597+ content : " " ;
598+ left : 0 ;
599+ right : 0 ;
600+ bottom : -1px ;
601+ position : absolute ;
602+ height : 3px ;
603+ }
604+
605+ .contentInteractionTab--active .contentInteractionTab__link {
606+ color : var (--wcfContentText );
607+ }
608+
609+ .contentInteractionTab__link :hover {
610+ color : var (--wcfContentText );
611+ }
612+
613+ .contentInteractionTab__link :hover ::after {
614+ background-color : var (--wcfContentBorderInner );
615+ }
616+
617+ .contentInteractionTab--active .contentInteractionTab__link ::after {
618+ background-color : var (--wcfTabularBoxHeadline );
619+ }
620+
621+ @container content (width < 800px) {
622+ .contentInteraction {
623+ flex-direction : column ;
624+ }
625+
626+ .contentInteractionButtonContainer {
627+ order : -1 ;
628+ }
629+ }
0 commit comments