mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-23 20:55:41 +00:00
31 lines
722 B
JavaScript
31 lines
722 B
JavaScript
import styled from 'styled-components';
|
|
|
|
const StyledWrapper = styled.div`
|
|
div.tabs {
|
|
div.tab {
|
|
padding: 6px 0px;
|
|
border: none;
|
|
border-bottom: solid 2px transparent;
|
|
margin-right: ${(props) => props.theme.tabs.marginRight};;
|
|
color: var(--color-tab-inactive);
|
|
cursor: pointer;
|
|
|
|
&:focus,
|
|
&:active,
|
|
&:focus-within,
|
|
&:focus-visible,
|
|
&:target {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
&.active {
|
|
color: ${(props) => props.theme.tabs.active.color} !important;
|
|
border-bottom: solid 2px ${(props) => props.theme.tabs.active.border} !important;
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
|
|
export default StyledWrapper;
|