mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-11 09:51:30 +00:00
37 lines
877 B
JavaScript
37 lines
877 B
JavaScript
import styled from 'styled-components';
|
|
import { IMPORT_COLLECTION_SELECTION_WIDTH } from 'components/SelectionList/constants';
|
|
|
|
const StyledWrapper = styled.div`
|
|
width: ${IMPORT_COLLECTION_SELECTION_WIDTH};
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
box-sizing: border-box;
|
|
|
|
.tabs {
|
|
.tab {
|
|
padding: 6px 0px;
|
|
border: none;
|
|
border-bottom: solid 2px transparent;
|
|
margin-right: 1.25rem;
|
|
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;
|