@import '../../../../assets/styles/variables'; .tabs { display:flex; flex: 0 0 auto; flex-direction:row; } .tab { flex: 1 0 auto; cursor: pointer; padding: .5em; } .tab-content-container { flex: 1; height: 100%; overflow: hidden; width:100%; } .tab-content { height:100%; } /*Tab styles*/ .tabs{ &.round-tabs .tab{ background-color: #f8f8f8; color: #959595; border: solid 1px #d2d2d2; border-bottom:none; border-left:none; position:relative; &:first-child { border-top-left-radius: 8px; border-left:solid 1px #d2d2d2; } &:last-child { border-top-right-radius: 8px; } &.active { background-color:#009fdb; color:#e9e9e9; border-color:#009fdb; } .tab-indication { position: absolute; top: -10px; background-color: #009fdb; right: 10px; padding: 2px 0; border-radius: 15px; border: solid 1px #d2d2d2; color:white; width: 25px; height: 25px; text-align: center; } } &.simple-tabs .tab { font-size: 12px; color: @main_color_n; &:after { display:block; content: ''; border-bottom: 2px solid @main_color_a; transform: scaleX(0); transition: transform 200ms ease-in-out; } &.active { color: @main_color_a; &:after { transform: scaleX(1); } } } }