2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
*/
|
|
|
|
|
2019-06-14 17:27:37 +00:00
|
|
|
@import './skin';
|
|
|
|
@import './layout';
|
2020-12-02 15:48:06 +00:00
|
|
|
.tab-nav {
|
|
|
|
@extend %tab-nav;
|
|
|
|
}
|
|
|
|
%tab-nav.animatable {
|
|
|
|
@extend %with-animated-tab-selection;
|
|
|
|
}
|
2020-05-05 16:31:18 +00:00
|
|
|
%with-animated-tab-selection ul::after,
|
|
|
|
%tab-button-selected {
|
2021-05-24 10:51:16 +00:00
|
|
|
@extend %frame-blue-300;
|
2020-05-05 16:31:18 +00:00
|
|
|
}
|
2021-11-24 14:53:12 +00:00
|
|
|
%tab-nav li > * {
|
2019-06-14 17:27:37 +00:00
|
|
|
@extend %tab-button;
|
|
|
|
}
|
2021-11-24 14:53:12 +00:00
|
|
|
%tab-nav li:not(.selected) > *:hover,
|
|
|
|
%tab-nav li:not(.selected) > *:focus {
|
2019-06-14 17:27:37 +00:00
|
|
|
@extend %tab-button-intent;
|
|
|
|
}
|
2021-11-24 14:53:12 +00:00
|
|
|
%tab-nav li:not(.selected) > *:active {
|
2019-06-14 17:27:37 +00:00
|
|
|
@extend %tab-button-active;
|
|
|
|
}
|
|
|
|
/* TODO: need to add an empty class here */
|
2021-11-24 14:53:12 +00:00
|
|
|
%tab-nav .selected > * {
|
2019-06-14 17:27:37 +00:00
|
|
|
@extend %tab-button-selected;
|
|
|
|
}
|