@randstad-design/orbit-multitheme
Version:
multitheme Front-end code based on Randstad Human Forward components
148 lines (139 loc) • 4.35 kB
CSS
.scroll-gradient::after {
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0, white 100%) ;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, white 100%) ;
bottom: 0;
content: '';
height: 50px;
left: 0;
opacity: 1 ;
position: absolute;
width: 100%;
-webkit-transition: opacity 0.3s;
transition: opacity 0.3s; }
.scroll-divider:after {
border-bottom: 1px solid #d7d7d7;
bottom: 0;
content: '';
height: 1px;
left: -25px;
opacity: 1 ;
position: absolute;
width: 100vw;
-webkit-transition: opacity 0.3s;
transition: opacity 0.3s; }
@media (min-width: 501px) {
.scroll-divider:after {
left: -50px; } }
.bg-variant-brand-tertiary .scroll-gradient::after {
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0, #f7f5f0 85%) ;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #f7f5f0 85%) ; }
.side-nav-sticky {
background: #fff;
margin: 0 -25px;
padding: 0 25px;
top: 0;
z-index: 1;
position: relative; }
@media (min-width: 501px) {
.side-nav-sticky {
margin: 0 -50px;
padding: 0 50px; } }
@media (min-width: 941px) {
.side-nav-sticky {
margin: 0;
padding: 0;
top: 40px;
position: -webkit-sticky;
position: sticky; } }
.side-nav-sticky--is-sticky {
position: fixed;
width: 100%; }
.side-nav-sticky__header {
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
min-height: 50px;
-webkit-transition: opacity 0.3s;
transition: opacity 0.3s;
z-index: 1; }
@media (min-width: 941px) {
.side-nav-sticky__header {
min-height: 30px;
padding-bottom: 20px; } }
.side-nav-sticky__header svg {
fill: #2175d9; }
.side-nav-sticky__header:after {
-webkit-transition: opacity 0.3s;
transition: opacity 0.3s;
content: '';
opacity: 0; }
.side-nav-sticky__list {
counter-reset: li;
list-style: none;
-ms-overflow-style: -ms-autohiding-scrollbar;
overflow-y: scroll;
scrollbar-width: none;
z-index: 1; }
.side-nav-sticky__list::-webkit-scrollbar {
display: none; }
.side-nav-sticky__list[data-rs-collapsible-content='expanded'] {
max-height: 300px ; }
@media (min-width: 941px) {
.side-nav-sticky__list[data-rs-collapsible-content='expanded'] {
max-height: unset; } }
.side-nav-sticky__list:after {
-webkit-transition: opacity 0.3s linear;
transition: opacity 0.3s linear;
content: '';
opacity: 0; }
.side-nav-sticky__list-item {
border-bottom: 1px solid var(--color-brand-tertiary-tint-80);
cursor: pointer;
counter-increment: li;
min-height: 40px;
padding: 15px 5px 15px 23px;
position: relative; }
@media (min-width: 941px) {
.side-nav-sticky__list-item {
padding: 10px 5px 9px 27px; } }
.side-nav-sticky__list-item:last-child {
border-bottom: none;
margin-bottom: 10px; }
@media (min-width: 941px) {
.side-nav-sticky__list-item:last-child {
margin-bottom: unset; } }
.side-nav-sticky__list-item:before {
color: var(--color-brand-primary);
content: counter(li) "." " ";
display: inline-block;
left: 0;
position: absolute; }
.side-nav-sticky__list-item a {
text-decoration: none;
-webkit-transition: all 0.3s;
transition: all 0.3s; }
.side-nav-sticky__list-item:hover a, .side-nav-sticky__list-item:hover:before {
color: var(--color-brand-secondary);
-webkit-transition: all 0.3s;
transition: all 0.3s; }
.side-nav-sticky__list-item.is-active a, .side-nav-sticky__list-item.is-active:before {
color: var(--color-brand-secondary);
-webkit-transition: all 0.3s;
transition: all 0.3s; }
.side-nav-sticky__list-item--unordered {
padding: 15px 5px 15px 5px; }
@media (min-width: 941px) {
.side-nav-sticky__list-item--unordered {
padding: 10px 5px 9px 3px; } }
.side-nav-sticky__list-item--unordered:before {
content: none; }
/*# sourceMappingURL=side-nav-sticky.css.map */