tabItemContainer.tsx 650 B

1234567891011121314151617181920212223242526
  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. display: grid;
  9. .beforeHoverTime + .afterHoverTime {
  10. border-top-color: ${p => p.theme.purple200};
  11. }
  12. .beforeHoverTime:last-child {
  13. border-bottom-color: ${p => p.theme.purple200};
  14. }
  15. .beforeCurrentTime + .afterCurrentTime {
  16. border-top-color: ${p => p.theme.purple300};
  17. }
  18. .beforeCurrentTime:last-child {
  19. border-bottom-color: ${p => p.theme.purple300};
  20. }
  21. `;
  22. export default TabItemContainer;