open-consul/ui-v2/app/styles/base/components/tabs/layout.scss
Kenia 093c353c4b ui: Redesign - Instance Detail Proxy Info tab (#7745)
* Fix clickFirstAnchor bug

* Create Proxy Info Tab for Instance Detail Page

* Create tests for ProxyInfo and update other scenarios with Proxy data

* ui: Refactors our app-view/%app-view component (#7752)

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2020-05-12 17:14:46 +00:00

34 lines
684 B
SCSS

%tab-nav {
clear: both;
}
%tab-nav ul {
display: inline-flex;
align-items: center;
position: relative;
padding: 0;
margin: 0;
}
%with-animated-tab-selection ul::after {
@extend %as-pseudo, %with-transition-500;
position: absolute;
bottom: 0;
height: 0;
border-top: 0;
width: calc(var(--selected-width, 0) * 1px);
transform: translate(calc(var(--selected-left, 0) * 1px), 0);
transition-property: transform, width;
}
%tab-button {
display: inline-block;
padding: 16px 13px;
}
%tab-section section {
padding-bottom: 24px;
}
%tab-section section:not(:last-child) {
border-bottom: 1px solid $gray-200;
}
%tab-section section > h3 {
margin: 24px 0;
}