1234567891011121314151617181920212223242526272829303132 |
- import styled from '@emotion/styled';
- const TabItemContainer = styled('div')`
- position: relative;
- height: 100%;
- overflow: hidden;
- border: 1px solid ${p => p.theme.border};
- border-radius: ${p => p.theme.borderRadius};
- display: grid;
- .beforeCurrentTime,
- .afterCurrentTime {
- border-top: 1px solid transparent;
- border-bottom: 1px solid transparent;
- }
- .beforeHoverTime + .afterHoverTime {
- border-top-color: ${p => p.theme.purple200};
- }
- .beforeHoverTime:last-child {
- border-bottom-color: ${p => p.theme.purple200};
- }
- .beforeCurrentTime + .afterCurrentTime {
- border-top-color: ${p => p.theme.purple300};
- }
- .beforeCurrentTime:last-child {
- border-bottom-color: ${p => p.theme.purple300};
- }
- `;
- export default TabItemContainer;
|