tabItemContainer.tsx 633 B

12345678910111213141516171819202122232425
  1. import styled from '@emotion/styled';
  2. const TabItemContainer = styled('div')`
  3. position: relative;
  4. height: 100%;
  5. overflow: hidden;
  6. border: 1px solid ${p => p.theme.border};
  7. border-radius: ${p => p.theme.borderRadius};
  8. .beforeHoverTime + .afterHoverTime {
  9. border-top-color: ${p => p.theme.purple200};
  10. }
  11. .beforeHoverTime:last-child {
  12. border-bottom-color: ${p => p.theme.purple200};
  13. }
  14. .beforeCurrentTime + .afterCurrentTime {
  15. border-top-color: ${p => p.theme.purple300};
  16. }
  17. .beforeCurrentTime:last-child {
  18. border-bottom-color: ${p => p.theme.purple300};
  19. }
  20. `;
  21. export default TabItemContainer;