42 lines
872 B
SCSS
42 lines
872 B
SCSS
@import './skin';
|
|
@import './layout';
|
|
.tab-nav {
|
|
@extend %tab-nav;
|
|
}
|
|
%tab-nav.animatable {
|
|
@extend %with-animated-tab-selection;
|
|
}
|
|
.tab-section {
|
|
@extend %tab-section;
|
|
/* this keeps in-tab-section toolbars flush to the top, see Node Detail > Services */
|
|
margin-top: 0 !important;
|
|
}
|
|
%with-animated-tab-selection ul::after,
|
|
%tab-button-selected {
|
|
@extend %frame-brand-300;
|
|
}
|
|
%tab-nav li a {
|
|
@extend %tab-button;
|
|
}
|
|
%tab-nav li:not(.selected) a:hover,
|
|
%tab-nav li:not(.selected) a:focus {
|
|
@extend %tab-button-intent;
|
|
}
|
|
%tab-nav li:not(.selected) a:active {
|
|
@extend %tab-button-active;
|
|
}
|
|
/* TODO: need to add an empty class here */
|
|
%tab-nav .selected a {
|
|
@extend %tab-button-selected;
|
|
}
|
|
%display-state,
|
|
%display-state + * {
|
|
display: none;
|
|
}
|
|
%display-state:checked + * {
|
|
display: block;
|
|
}
|
|
%tab-section > input[type='radio'] {
|
|
@extend %display-state;
|
|
}
|