@charset "UTF-8";
// Morten Mitchell Larød 2019

@import 'vars';


#workbench-tabs {
    min-width: 0;
    position: relative;
    margin-left: -1px;
}
#workbench-tabs>div {
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
}
#workbench-tab-bar .tab {
    &:first-child {
	    width: 200px;
	    flex-shrink: 0;
	    flex-grow: 0;
    }
}
#workbench-tab-bar .tab {
    -webkit-flex-shrink: 1;
    flex-shrink: 1;
    flex-grow: 1;
    min-width: 0;
    width: 20%;
    position: relative;
    white-space: nowrap;
}
#workbench-tab-bar .tab:first-child .tab-content {
    margin-left: 0;
    padding-left: 10px;
}
#workbench-tab-bar .tab-content {
    user-select: none;
    height: 40px;
    padding: 0 $gap-default;
    margin: 0 0 0 -1px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
}
#workbench-tab-bar .tab-content i {
    padding-top: 12px;
    color: $c-secondary;
    transition: color .2s ease-in;
    &:hover {
	    color: $c-secondary-dark;
    }
}
#workbench-tab-bar .active .tab-content {
    background: $c-white;
    border-bottom: 1px solid $c-white;
}
#workbench-tab-bar .tab:first-child .tab-content {
    border-left: none;
    border-top: none;
    display: block;
}
#workbench-tab-bar .tab:last-child .tab-content {
    border-right: none;
    border-radius: 0 4px 0 0;
}
#workbench-tab-bar .tab:first-child span {
    text-overflow: clip;
}
#workbench-tab-bar .tab span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: $gap-small;
    text-transform: uppercase;
}