@import './config.scss'; .theme__dark .tab-item { &.is-active { background: $dark-theme-gray; .tab-item__icon { margin-left: -4px; } } &.is-disabled .tab-item__icon { filter: grayscale(100%) opacity(0.2); } .tab-item__icon { width: 34px; } } .tabs { display: flex; flex-direction: column; flex-shrink: 1; .placeholder { height: 40px; width: 100%; } } .tab-item { align-items: center; display: flex; height: 65px; justify-content: center; min-height: 50px; position: relative; @media (prefers-reduced-motion: no-preference) { transition: background $theme-transition-time; } width: $theme-sidebar-width; &.is-active { background: change-color( $theme-brand-primary, $lightness: min(lightness($theme-brand-primary) * 1.35, 100) ); border-left-width: 4px; border-left-style: solid; color: $theme-brand-primary; .tab-item__icon { margin-left: -4px; } } &.is-disabled .tab-item__icon { filter: grayscale(100%) opacity(0.2); } &.has-custom-icon .tab-item__icon { border-radius: $theme-border-radius; } &:active .tab-item__icon { opacity: 0.7; } .tab-item__icon { height: auto; width: 30px; } .tab-item__message-count { align-items: center; background: $theme-brand-danger; border-radius: 20px; bottom: 8px; color: #fff; display: flex; font-size: 11px; justify-content: center; min-height: 17px; min-width: 17px; padding: 0px 5px; position: absolute; right: 8px; &.is-indirect { padding-top: 0; background: #0088cc; } &.hibernating { padding-top: 0; background: $theme-gray; font-size: 0px; min-height: 10px; min-width: 10px; right: auto; left: 8px; } } .tab-item__info-badge { align-items: center; background: $theme-gray-light; bottom: 8px; border-radius: 20px; color: $theme-gray-lighter; display: flex; font-size: 11px; height: 17px; justify-content: center; padding: 0px 5px; position: absolute; right: 8px; width: 17px; &.is-indirect { padding-top: 0; background: #0088cc; } } &.is-reordering { z-index: 99999; } }