organization.tsx 882 B

12345678910111213141516171819202122232425262728293031323334
  1. // Shared styles for the new org level pages with global project/env/time selection
  2. import styled from '@emotion/styled';
  3. import space from 'app/styles/space';
  4. export const PageContent = styled('div')`
  5. display: flex;
  6. flex-direction: column;
  7. flex: 1;
  8. padding: ${space(2)} ${space(4)} ${space(3)};
  9. margin-bottom: -20px; /* <footer> has margin-top: 20px; */
  10. /* No footer at smallest breakpoint */
  11. @media (max-width: ${p => p.theme.breakpoints[0]}) {
  12. margin-bottom: 0;
  13. }
  14. `;
  15. export const PageHeader = styled('div')`
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. margin-bottom: ${space(2)};
  20. min-height: 32px;
  21. `;
  22. export const HeaderTitle = styled('h4')`
  23. flex: 1;
  24. font-size: ${p => p.theme.headerFontSize};
  25. line-height: ${p => p.theme.headerFontSize};
  26. font-weight: normal;
  27. color: ${p => p.theme.textColor};
  28. margin: 0;
  29. `;