From 4bcf09709a5f3f68ae7431f6f5554e1e2717ab02 Mon Sep 17 00:00:00 2001 From: Jura Khrapunov Date: Tue, 24 Dec 2024 16:36:01 -0500 Subject: [PATCH] Closes #1464 --- docs/css/templates/generic-page.min.css | 2 +- stories/Templates/GenericPage/generic-page.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/css/templates/generic-page.min.css b/docs/css/templates/generic-page.min.css index 7e624b4d8..a339b2d15 100644 --- a/docs/css/templates/generic-page.min.css +++ b/docs/css/templates/generic-page.min.css @@ -1 +1 @@ -.generic-page .progress-container{position:fixed;top:4.7rem;z-index:5}@media(min-width:64em){.generic-page .progress-container{top:7.1875rem}}.publication-menu .menu li a{background-image:linear-gradient(var(--undpds-color-dark-red),var(--undpds-color-dark-red)),linear-gradient(var(--undpds-color-dark-red),var(--undpds-color-dark-red));background-position:100% 100%,-30px 100%;background-repeat:no-repeat;background-size:100% 2px,0 1px}.publication-menu .menu li a:hover{animation:lineLoop-animation 2s linear infinite}.border-top-2{border-top:2px solid #000}.related-publication{margin-top:2rem}.related-publication .cell.medium-4{padding:.75rem 0;width:100%}@media(min-width:48em){.related-publication .cell.medium-4{width:calc(50% - 1.5rem)}}.related-publication .content-card{border:none;margin-bottom:0;padding-top:.5rem}.related-publication h2{margin-bottom:.75rem;margin-top:3rem}@media(min-width:64em){.related-publication h2{margin-bottom:2.25rem;margin-top:5rem}}@media(max-width:47.9375em){.related-publication .grid-x.grid-margin-x{padding:0 .75rem .75rem 0}}.margin-top-24{margin-top:1.5rem}.margin-top-36{margin-top:2.25rem}.margin-top-40{margin-top:2.5rem}.margin-top-48{margin-top:3rem}.margin-top-64{margin-top:4rem}.margin-top-72{margin-top:4.5rem}.margin-top-80{margin-top:5rem}.margin-top-136{margin-top:8.5rem}.margin-bottom-24{margin-bottom:1.5rem}.margin-bottom-36{margin-bottom:2.25rem}.margin-bottom-40{margin-bottom:2.5rem}.margin-bottom-48{margin-bottom:3rem}.margin-bottom-64{margin-bottom:4rem}.margin-bottom-72{margin-bottom:4.5rem}.margin-bottom-80{margin-bottom:5rem}.margin-bottom-136{margin-bottom:8.5rem}.content-bottom{margin-bottom:3rem}@media(min-width:64em){.content-bottom{margin-bottom:6rem}}.publication-card__title h2{display:none}@media(min-width:64em){.publication-card__title h2{display:block;margin-bottom:1.5rem}}.publication-card__title h2>p{margin-top:2.25rem}.publication-card__title h6{margin-top:2.5rem}@media(min-width:64em){.publication-card__title h6{margin-top:.5rem}}.publication-page{margin-bottom:3.313rem}@media(min-width:90em){.publication-page{margin-bottom:4.688rem}}.publication-page .breadcrumb{margin-top:1.063rem}@media(min-width:64em){.publication-page .breadcrumb{margin-top:4.563rem}}.publication-block{margin-top:2.563rem;scroll-behavior:auto}@media(min-width:64em){.publication-block{margin-top:3.625rem}}.publication .download-card{margin-bottom:2.5rem}.publication-menu{margin-top:3.125rem}@media(min-width:64em){.publication-menu{margin-top:5rem}}.publication-menu h6{margin-top:.75rem}@media(min-width:64em){.publication-menu h6{margin-top:1rem}}.publication-menu .menu-item{margin-top:.125rem}@media(min-width:64em){.publication-menu .menu-item{margin-top:0}}.publication-menu .menu li{margin-right:1.25rem;margin-top:.375rem}.publication-menu .menu li a{font-size:1rem;text-transform:none}.sticky{position:relative;z-index:1}@media(max-width:47.9375em){.sticky{display:flex;justify-content:center}}@media(max-width:63.9375em){.sticky{text-align:center}}.title-mobile{display:block}@media(min-width:64em){.title-mobile{display:none}}.title-mobile h2{margin-bottom:1.5rem}@media(min-width:64em){[dir=rtl] .related-publication .large-offset-6{margin-left:0;margin-right:calc(50% + .5rem)}}@media(max-width:47.9375em){[dir=rtl] .related-publication .grid-x.grid-margin-x{padding:0 0 .75rem .75rem}}@media(min-width:64em){[dir=rtl] .publication-page .large-offset-1{margin-left:0;margin-right:calc(8.33333% + .75rem)}}[dir=rtl] .publication-page .menu li{margin-left:1.25rem;margin-right:0;padding-right:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.publication-post-header{margin-top:1.813rem}@media(min-width:64em){.publication-post-header{margin-top:5rem}}@media(min-width:48em){.generic-page .button-secondary{margin-left:.75rem}.generic-page .sidebar-width .sidebar-accordion{margin-top:.8rem;width:90%}}.generic-page .sidebar-width .sidebar-accordion.show-medium{display:block}.generic-page .sidebar-width .sidebar-accordion.scrollbar{height:calc(100vh - 9.375rem);overflow-y:auto}.generic-page .sidebar-width ul{list-style:none}.generic-page .sidebar-mobile{display:none;margin-bottom:.75rem;margin-top:1rem}@media(max-width:1023px){.generic-page .sidebar-mobile{display:block}.generic-page .sidebar-mobile .sidebar-accordion{width:100%}.generic-page .sidebar-mobile .sidebar-accordion ul{display:none}.generic-page .sidebar-mobile .sidebar-accordion.show-medium ul{display:block}}.generic-page .sidebar-desktop{display:block}@media(max-width:1023px){.generic-page .sidebar-desktop{display:none}}@media(min-width:64em){.generic-page .sidebar-desktop .sidebar-accordion h6{display:none}}.generic-page .margin-top-32{margin-top:2rem}.generic-page .margin-top-72{margin-top:4.5rem}.generic-page .progress-top{top:inherit}.generic-page .progress-bar{width:0}@media(min-width:90em){.generic-page .pagehero-full{margin-top:0}}.generic-page .pagehero-full .content-box{width:auto}@media(max-width:47.9375em){.generic-page .pagehero-full .breadcrumb{padding-top:.75rem}}@media(min-width:90em){.generic-page .fluid-carousel .slide-content{flex:1 0 40%;max-width:100%}}.generic-page .genric-slider{margin-right:-.75rem}@media(max-width:47.9375em){.generic-page .genric-slider .swiper-initialized .swiper-scrollbar{padding-right:0}}@media(min-width:48em){[dir=rtl] .generic-page .button-secondary{margin-left:unset;margin-right:.75rem}}[dir=rtl] .generic-page .genric-slider{margin-left:-.75rem;margin-right:0}@media(max-width:47.9375em){[dir=rtl] .generic-page .genric-slider{margin-left:-1.5rem;margin-right:0}[dir=rtl] .generic-page .genric-slider .swiper-initialized .swiper-scrollbar{padding-left:0}} \ No newline at end of file +.generic-page .progress-container{position:fixed;top:4.7rem;z-index:5}@media(min-width:64em){.generic-page .progress-container{top:7.1875rem}}.publication-menu .menu li a{background-image:linear-gradient(var(--undpds-color-dark-red),var(--undpds-color-dark-red)),linear-gradient(var(--undpds-color-dark-red),var(--undpds-color-dark-red));background-position:100% 100%,-30px 100%;background-repeat:no-repeat;background-size:100% 2px,0 1px}.publication-menu .menu li a:hover{animation:lineLoop-animation 2s linear infinite}.border-top-2{border-top:2px solid #000}.related-publication{margin-top:2rem}.related-publication .cell.medium-4{padding:.75rem 0;width:100%}@media(min-width:48em){.related-publication .cell.medium-4{width:calc(50% - 1.5rem)}}.related-publication .content-card{border:none;margin-bottom:0;padding-top:.5rem}.related-publication h2{margin-bottom:.75rem;margin-top:3rem}@media(min-width:64em){.related-publication h2{margin-bottom:2.25rem;margin-top:5rem}}@media(max-width:47.9375em){.related-publication .grid-x.grid-margin-x{padding:0 .75rem .75rem 0}}.margin-top-24{margin-top:1.5rem}.margin-top-36{margin-top:2.25rem}.margin-top-40{margin-top:2.5rem}.margin-top-48{margin-top:3rem}.margin-top-64{margin-top:4rem}.margin-top-72{margin-top:4.5rem}.margin-top-80{margin-top:5rem}.margin-top-136{margin-top:8.5rem}.margin-bottom-24{margin-bottom:1.5rem}.margin-bottom-36{margin-bottom:2.25rem}.margin-bottom-40{margin-bottom:2.5rem}.margin-bottom-48{margin-bottom:3rem}.margin-bottom-64{margin-bottom:4rem}.margin-bottom-72{margin-bottom:4.5rem}.margin-bottom-80{margin-bottom:5rem}.margin-bottom-136{margin-bottom:8.5rem}.content-bottom{margin-bottom:3rem}@media(min-width:64em){.content-bottom{margin-bottom:6rem}}.publication-card__title h2{display:none}@media(min-width:64em){.publication-card__title h2{display:block;margin-bottom:1.5rem}}.publication-card__title h2>p{margin-top:2.25rem}.publication-card__title h6{margin-top:2.5rem}@media(min-width:64em){.publication-card__title h6{margin-top:.5rem}}.publication-page{margin-bottom:3.313rem}@media(min-width:90em){.publication-page{margin-bottom:4.688rem}}.publication-page .breadcrumb{margin-top:1.063rem}@media(min-width:64em){.publication-page .breadcrumb{margin-top:4.563rem}}.publication-block{margin-top:2.563rem;scroll-behavior:auto}@media(min-width:64em){.publication-block{margin-top:3.625rem}}.publication .download-card{margin-bottom:2.5rem}.publication-menu{margin-top:3.125rem}@media(min-width:64em){.publication-menu{margin-top:5rem}}.publication-menu h6{margin-top:.75rem}@media(min-width:64em){.publication-menu h6{margin-top:1rem}}.publication-menu .menu-item{margin-top:.125rem}@media(min-width:64em){.publication-menu .menu-item{margin-top:0}}.publication-menu .menu li{margin-right:1.25rem;margin-top:.375rem}.publication-menu .menu li a{font-size:1rem;text-transform:none}.sticky{position:relative;z-index:1}@media(max-width:47.9375em){.sticky{display:flex;justify-content:center}}@media(max-width:63.9375em){.sticky{text-align:center}}.title-mobile{display:block}@media(min-width:64em){.title-mobile{display:none}}.title-mobile h2{margin-bottom:1.5rem}@media(min-width:64em){[dir=rtl] .related-publication .large-offset-6{margin-left:0;margin-right:calc(50% + .5rem)}}@media(max-width:47.9375em){[dir=rtl] .related-publication .grid-x.grid-margin-x{padding:0 0 .75rem .75rem}}@media(min-width:64em){[dir=rtl] .publication-page .large-offset-1{margin-left:0;margin-right:calc(8.33333% + .75rem)}}[dir=rtl] .publication-page .menu li{margin-left:1.25rem;margin-right:0;padding-right:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.publication-post-header{margin-top:1.813rem}@media(min-width:64em){.publication-post-header{margin-top:5rem}}@media(min-width:48em){.generic-page .button-secondary{margin-left:.75rem}.generic-page .sidebar-width .sidebar-accordion{margin-top:.8rem;width:90%}}.generic-page .sidebar-width .sidebar-accordion.show-medium{display:block}.generic-page .sidebar-width .sidebar-accordion.scrollbar{height:calc(100vh - 9.375rem);overflow-y:auto}.generic-page .sidebar-width ul{list-style:none}.generic-page .sidebar-mobile{display:none;margin-bottom:.75rem;margin-top:1rem}@media(max-width:1023px){.generic-page .sidebar-mobile{display:block}.generic-page .sidebar-mobile .sidebar-accordion{width:100%}.generic-page .sidebar-mobile .sidebar-accordion ul{display:none}.generic-page .sidebar-mobile .sidebar-accordion.show-medium ul:not(.accordion__panel){display:block}}.generic-page .sidebar-desktop{display:block}@media(max-width:1023px){.generic-page .sidebar-desktop{display:none}}@media(min-width:64em){.generic-page .sidebar-desktop .sidebar-accordion h6{display:none}}.generic-page .margin-top-32{margin-top:2rem}.generic-page .margin-top-72{margin-top:4.5rem}.generic-page .progress-top{top:inherit}.generic-page .progress-bar{width:0}@media(min-width:90em){.generic-page .pagehero-full{margin-top:0}}.generic-page .pagehero-full .content-box{width:auto}@media(max-width:47.9375em){.generic-page .pagehero-full .breadcrumb{padding-top:.75rem}}@media(min-width:90em){.generic-page .fluid-carousel .slide-content{flex:1 0 40%;max-width:100%}}.generic-page .genric-slider{margin-right:-.75rem}@media(max-width:47.9375em){.generic-page .genric-slider .swiper-initialized .swiper-scrollbar{padding-right:0}}@media(min-width:48em){[dir=rtl] .generic-page .button-secondary{margin-left:unset;margin-right:.75rem}}[dir=rtl] .generic-page .genric-slider{margin-left:-.75rem;margin-right:0}@media(max-width:47.9375em){[dir=rtl] .generic-page .genric-slider{margin-left:-1.5rem;margin-right:0}[dir=rtl] .generic-page .genric-slider .swiper-initialized .swiper-scrollbar{padding-left:0}} \ No newline at end of file diff --git a/stories/Templates/GenericPage/generic-page.scss b/stories/Templates/GenericPage/generic-page.scss index 641ec0fe5..6508c321a 100644 --- a/stories/Templates/GenericPage/generic-page.scss +++ b/stories/Templates/GenericPage/generic-page.scss @@ -49,7 +49,7 @@ } &.show-medium { - ul { + ul:not(.accordion__panel) { display: block; } }