common.css 1003 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. * we usually use Material makeStyles to write component and page style
  3. * this file is used for some global scope reusable style
  4. */
  5. /* reset some elements styles */
  6. fieldset {
  7. border: 0;
  8. padding: 0;
  9. margin: 0;
  10. min-width: 0;
  11. }
  12. /* horizontal and vertical center */
  13. .flex-center {
  14. display: flex;
  15. justify-content: center;
  16. align-items: center;
  17. }
  18. .with-max-content {
  19. width: max-content;
  20. }
  21. /* used for fill remaining height of page */
  22. .page-wrapper {
  23. /* set flex basis to make child item height 100% work on Safari */
  24. flex-basis: 0;
  25. flex-grow: 1;
  26. display: flex;
  27. flex-direction: column;
  28. margin: 16px;
  29. }
  30. .page-empty-card {
  31. flex-grow: 1;
  32. }
  33. /* default empty card style, can be overrided by adding icon class */
  34. .page-empty-card .MuiSvgIcon-root {
  35. width: 48px;
  36. height: 48px;
  37. fill: transparent;
  38. }
  39. .page-empty-card .MuiSvgIcon-root path {
  40. stroke: #aeaebb;
  41. }
  42. /* used for release or load dialog content */
  43. .dialog-content {
  44. line-height: 24px;
  45. font-size: 16px;
  46. }