2019-08-14 09:48:44 +00:00
|
|
|
.tabs {
|
|
|
|
@include padding($zero $space-normal);
|
|
|
|
@include border-normal-bottom;
|
2019-10-07 20:01:09 +00:00
|
|
|
border-left-width: 0;
|
|
|
|
border-right-width: 0;
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
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
|
|
|
|
|
|
|
.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
|
|
|
|
2021-12-03 15:16:49 +00:00
|
|
|
a,
|
|
|
|
.button {
|
2019-10-07 20:01:09 +00:00
|
|
|
@include position(relative, 1px null null null);
|
2021-12-03 15:46:45 +00:00
|
|
|
height: var(--space-large);
|
2019-10-07 20:01:09 +00:00
|
|
|
border-bottom: 2px solid transparent;
|
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 {
|
2021-12-03 15:16:49 +00:00
|
|
|
|
|
|
|
a,
|
|
|
|
.button {
|
2019-10-07 20:01:09 +00:00
|
|
|
border-bottom-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
|
|
|
}
|
2021-12-03 15:16:49 +00:00
|
|
|
|
|
|
|
// Sleek tabs
|
|
|
|
&.smooth {
|
|
|
|
|
|
|
|
a,
|
|
|
|
.button {
|
|
|
|
border-bottom: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
.badge {
|
|
|
|
background: var(--s-100);
|
|
|
|
color: var(--s-600);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-07 20:01:09 +00:00
|
|
|
}
|