Chatwoot/app/javascript/dashboard/assets/scss/widgets/_tabs.scss

55 lines
882 B
SCSS
Raw Normal View History

.tabs {
@include padding($zero $space-normal);
@include border-normal-bottom;
border-left-width: 0;
border-right-width: 0;
border-top-width: 0;
}
// Tab chat type
.tab--chat-type {
@include flex;
.tabs-title {
a {
font-size: $font-size-default;
padding-bottom: $space-slab;
padding-top: $space-slab;
}
}
}
.tabs-title {
@include margin($zero $space-one);
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
&:hover,
&:focus {
a {
color: darken($medium-gray, 20%);
}
}
a {
@include position(relative, 1px null null null);
2019-10-20 08:04:19 +00:00
transition: all .15s $ease-in-out-cubic;
border-bottom: 2px solid transparent;
color: $medium-gray;
font-size: $font-size-small;
}
&.is-active {
a {
border-bottom-color: $color-woot;
color: $color-woot;
}
}
}