styles.tsx 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import styled from '@emotion/styled';
  2. import {space} from 'sentry/styles/space';
  3. export const ContextContainer = styled('div')`
  4. display: flex;
  5. flex-direction: column;
  6. `;
  7. export const ContextHeader = styled('div')`
  8. display: flex;
  9. align-items: center;
  10. margin-bottom: ${space(0.75)};
  11. `;
  12. export const ContextTitle = styled('h6')`
  13. color: ${p => p.theme.subText};
  14. margin-bottom: 0 !important;
  15. `;
  16. export const ContextBody = styled('div')`
  17. width: 100%;
  18. text-align: left;
  19. font-size: ${p => p.theme.fontSizeLarge};
  20. display: flex;
  21. align-items: center;
  22. `;
  23. export const Wrapper = styled('div')`
  24. background: ${p => p.theme.background};
  25. border-radius: ${p => p.theme.borderRadius};
  26. width: 320px;
  27. padding: ${space(1.5)};
  28. `;
  29. export const NoContextWrapper = styled('div')`
  30. color: ${p => p.theme.subText};
  31. height: 50px;
  32. padding: ${space(1)};
  33. font-size: ${p => p.theme.fontSizeMedium};
  34. display: flex;
  35. flex-direction: column;
  36. align-items: center;
  37. justify-content: center;
  38. white-space: nowrap;
  39. min-width: 320px;
  40. `;
  41. export const ContextRow = styled('div')`
  42. display: flex;
  43. justify-content: space-between;
  44. `;