common.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. .card-wrapper {
  19. background-color: #fff;
  20. border-radius: 4px;
  21. box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.05);
  22. }
  23. /* used for fill remaining height of page */
  24. .page-wrapper {
  25. /* set flex basis to make child item height 100% work on Safari */
  26. flex-basis: 0;
  27. flex-grow: 1;
  28. display: flex;
  29. flex-direction: column;
  30. margin: 16px 32px 32px;
  31. }
  32. .page-empty-card {
  33. flex-grow: 1;
  34. }
  35. /* default empty card style, can be overrided by adding icon class */
  36. .page-empty-card .MuiSvgIcon-root {
  37. width: 48px;
  38. height: 48px;
  39. fill: transparent;
  40. }
  41. .page-empty-card .MuiSvgIcon-root path {
  42. stroke: #aeaebb;
  43. }
  44. /* used for release or load dialog content */
  45. .dialog-content {
  46. line-height: 24px;
  47. font-size: 16px;
  48. }