mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 14:08:38 +00:00
59 lines
1.3 KiB
JavaScript
59 lines
1.3 KiB
JavaScript
import styled from 'styled-components';
|
|
|
|
const StyledWrapper = styled.div`
|
|
height: 100%;
|
|
overflow: hidden;
|
|
border-radius: 4px;
|
|
|
|
div.tabs {
|
|
div.tab {
|
|
padding: 6px 0px;
|
|
border: none;
|
|
border-bottom: solid 2px transparent;
|
|
margin-right: ${(props) => props.theme.tabs.marginRight};
|
|
color: ${(props) => props.theme.colors.text.subtext0};
|
|
cursor: pointer;
|
|
|
|
&:focus,
|
|
&:active,
|
|
&:focus-within,
|
|
&:focus-visible,
|
|
&:target {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
&.active {
|
|
font-weight: ${(props) => props.theme.tabs.active.fontWeight} !important;
|
|
color: ${(props) => props.theme.tabs.active.color} !important;
|
|
border-bottom: solid 2px ${(props) => props.theme.tabs.active.border} !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.stream-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
|
|
&.complete {
|
|
color: ${(props) => props.theme.colors.text.green};
|
|
}
|
|
|
|
&.cancelled {
|
|
color: ${(props) => props.theme.colors.text.danger};
|
|
}
|
|
|
|
&.streaming {
|
|
color: ${(props) => props.theme.colors.text.blue};
|
|
}
|
|
}
|
|
|
|
.message-counter {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-left: 10px;
|
|
}
|
|
`;
|
|
|
|
export default StyledWrapper;
|