|
|
|
@ -56,6 +56,12 @@ export const TabsGroup = styled.div.attrs({ role: 'tablist' })<TabsGroupProps>` |
|
|
|
: ''}; |
|
|
|
: ''}; |
|
|
|
` |
|
|
|
` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const TabTitle = styled(T9n)` |
|
|
|
|
|
|
|
font-size: 8px; |
|
|
|
|
|
|
|
text-transform: uppercase; |
|
|
|
|
|
|
|
color: ${({ theme }) => theme.colors.white}; |
|
|
|
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
|
|
export const Tab = styled.button.attrs({ role: 'tab' })` |
|
|
|
export const Tab = styled.button.attrs({ role: 'tab' })` |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
@ -69,6 +75,11 @@ export const Tab = styled.button.attrs({ role: 'tab' })` |
|
|
|
|
|
|
|
|
|
|
|
&[aria-pressed="true"], :hover { |
|
|
|
&[aria-pressed="true"], :hover { |
|
|
|
opacity: 1; |
|
|
|
opacity: 1; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
${TabTitle} { |
|
|
|
|
|
|
|
font-size: 9px; |
|
|
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
` |
|
|
|
` |
|
|
|
|
|
|
|
|
|
|
|
@ -91,12 +102,6 @@ export const TabIcon = styled.div<TabIconProps>` |
|
|
|
: '')} |
|
|
|
: '')} |
|
|
|
` |
|
|
|
` |
|
|
|
|
|
|
|
|
|
|
|
export const TabTitle = styled(T9n)` |
|
|
|
|
|
|
|
font-size: 8px; |
|
|
|
|
|
|
|
text-transform: uppercase; |
|
|
|
|
|
|
|
color: ${({ theme }) => theme.colors.white}; |
|
|
|
|
|
|
|
` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type TContainer = { |
|
|
|
type TContainer = { |
|
|
|
forWatchTab?: boolean, |
|
|
|
forWatchTab?: boolean, |
|
|
|
hasScroll: boolean, |
|
|
|
hasScroll: boolean, |
|
|
|
|