UNPKG

@randstad-design/orbit-multitheme

Version:

multitheme Front-end code based on Randstad Human Forward components

131 lines (129 loc) 4.02 kB
.tab-bar { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; overflow: scroll; scroll-behavior: smooth; width: 100%; scrollbar-width: none; -ms-overflow-style: -ms-autohiding-scrollbar; } .tab-bar::-webkit-scrollbar { display: none; } .tab-bar__item:not(:first-child) { margin: 0 15px; } .tab-bar__item:first-child { margin-right: 15px; } .tab-bar__item { -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; border-bottom: 3px solid transparent; color: rgba(0, 0, 0, 0.7); cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; height: 80px; padding: 10px 0; text-decoration: none; -webkit-transition: 0.3s; transition: 0.3s; white-space: nowrap; } .tab-bar__item:hover, .tab-bar__item.active { color: #2e2e2e; -webkit-transition: 0.3s; transition: 0.3s; text-decoration: none; } .tab-bar__item.active { border-bottom: 3px solid #2e2e2e; } .tab-bar__line { margin-top: -1px; } .tab-bar .hide { display: none; } .tab-bar .fade-element { height: 80px; position: absolute; width: 50px; z-index: 1; } .tab-bar .fade-element--right { background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, white 30%); background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 30%); } .tab-bar .fade-element--left { background: -webkit-linear-gradient(right, rgba(255, 255, 255, 0) 0%, white 30%); background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, white 30%); left: 0; } .tab-bar .fade-element .icon { height: 75px; top: 1px; } .tab-bar .fade-element .icon svg { color: #97999b; fill: #97999b; -webkit-transition: 0.3s; transition: 0.3s; } .tab-bar .fade-element .icon:hover { cursor: pointer; } .tab-bar .fade-element .icon:hover svg { fill: #000000; -webkit-transition: 0.3s; transition: 0.3s; } .tab-bar .fade-element .icon__left { left: 20px; } .tab-bar .fade-element .icon__left svg { padding-right: 3px; padding-top: 1px; } .tab-bar .fade-element .icon__right { right: 20px; } .tab-bar .fade-element .icon__right svg { padding-left: 3px; padding-top: 1px; } .tab-bar--icon .tab-bar__item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; margin: 0 10px; font-family: Montserrat, arial, sans-serif; font-size: 12px; text-transform: none; line-height: 15px; } @media (min-width: 501px) { .tab-bar--icon .tab-bar__item { font-size: inherit; margin: 0 15px; } } .tab-bar--icon .tab-bar__item:first-child { margin-left: 0; } @media (min-width: 501px) { .tab-bar--icon .tab-bar__item { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; } } .tab-bar--icon .tab-bar__item .icon { -webkit-align-self: center; -ms-flex-item-align: center; align-self: center; color: inherit; margin-bottom: 6px; position: relative; } @media (min-width: 501px) { .tab-bar--icon .tab-bar__item .icon { margin-right: 10px; margin-bottom: 0; } } /*# sourceMappingURL=tab-bar.css.map */