List.styled.ts 829 B

1234567891011121314151617181920212223242526272829303132
  1. import { Td } from 'components/common/table/TableHeaderCell/TableHeaderCell.styled';
  2. import { NavLink } from 'react-router-dom';
  3. import styled, { css } from 'styled-components';
  4. export const Link = styled(NavLink)<{
  5. $isInternal?: boolean;
  6. }>(
  7. ({ theme, $isInternal }) => css`
  8. color: ${theme.topicsList.color.normal};
  9. font-weight: 500;
  10. padding-left: ${$isInternal ? '5px' : 0};
  11. &:hover {
  12. background-color: ${theme.topicsList.backgroundColor.hover};
  13. color: ${theme.topicsList.color.hover};
  14. }
  15. &.active {
  16. background-color: ${theme.topicsList.backgroundColor.active};
  17. color: ${theme.topicsList.color.active};
  18. }
  19. `
  20. );
  21. export const ActionsTd = styled(Td)`
  22. overflow: visible;
  23. width: 50px;
  24. `;
  25. export const ActionsContainer = styled.div`
  26. text-align: right !important;
  27. `;