2022-07-08 06:53:01 +00:00
|
|
|
.tabs--container {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs--container--with-border {
|
|
|
|
@include border-normal-bottom;
|
|
|
|
}
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.tabs {
|
|
|
|
@include padding($zero $space-normal);
|
2019-10-07 20:01:09 +00:00
|
|
|
border-left-width: 0;
|
|
|
|
border-right-width: 0;
|
|
|
|
border-top-width: 0;
|
2022-07-08 06:53:01 +00:00
|
|
|
display: flex;
|
|
|
|
min-width: var(--space-mega);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs--with-scroll {
|
|
|
|
max-width: calc(100% - 64px);
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 var(--space-smaller);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs--scroll-button {
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
height: auto;
|
|
|
|
justify-content: center;
|
|
|
|
min-width: var(--space-large);
|
2019-10-07 20:01:09 +00:00
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2019-10-07 20:01:09 +00:00
|
|
|
// Tab chat type
|
|
|
|
.tab--chat-type {
|
|
|
|
@include flex;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2019-10-07 20:01:09 +00:00
|
|
|
.tabs-title {
|
2019-08-14 09:48:44 +00:00
|
|
|
a {
|
2019-10-07 20:01:09 +00:00
|
|
|
font-size: $font-size-default;
|
2020-02-16 10:16:26 +00:00
|
|
|
font-weight: $font-weight-medium;
|
2019-10-07 20:01:09 +00:00
|
|
|
padding-bottom: $space-slab;
|
|
|
|
padding-top: $space-slab;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
2019-10-07 20:01:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-title {
|
2020-03-22 06:14:40 +00:00
|
|
|
@include margin($zero $space-slab);
|
2022-07-08 06:53:01 +00:00
|
|
|
flex-shrink: 0;
|
2020-03-22 06:14:40 +00:00
|
|
|
|
|
|
|
.badge {
|
|
|
|
background: $color-background;
|
|
|
|
border-radius: $space-small;
|
|
|
|
color: $color-gray;
|
|
|
|
font-size: $font-size-micro;
|
|
|
|
font-weight: $font-weight-black;
|
|
|
|
margin-left: $space-smaller;
|
|
|
|
padding: $space-smaller;
|
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2019-10-07 20:01:09 +00:00
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
a {
|
|
|
|
color: darken($medium-gray, 20%);
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-07 20:01:09 +00:00
|
|
|
a {
|
|
|
|
@include position(relative, 1px null null null);
|
2020-03-22 06:14:40 +00:00
|
|
|
align-items: center;
|
2019-10-07 20:01:09 +00:00
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
color: $medium-gray;
|
2020-03-22 06:14:40 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-10-07 20:01:09 +00:00
|
|
|
font-size: $font-size-small;
|
2020-11-29 07:58:36 +00:00
|
|
|
transition: border-color .15s $swift-ease-out-function;
|
2019-10-07 20:01:09 +00:00
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2019-10-07 20:01:09 +00:00
|
|
|
&.is-active {
|
|
|
|
a {
|
|
|
|
border-bottom-color: $color-woot;
|
|
|
|
color: $color-woot;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
2020-03-22 06:14:40 +00:00
|
|
|
|
|
|
|
.badge {
|
|
|
|
background: $color-extra-light-blue;
|
|
|
|
color: $color-woot;
|
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
2019-10-07 20:01:09 +00:00
|
|
|
}
|