layout.scss 1005 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. @import "css-variables";
  2. .layout_card {
  3. @include cy-card;
  4. }
  5. .layout_card_main {
  6. width: 100%;
  7. height: 100%;
  8. @include cy-card;
  9. }
  10. .layout_display_flex {
  11. width: 100%;
  12. height: 100%;
  13. display: flex;
  14. box-sizing: border-box;
  15. }
  16. .layout_display_flex_y {
  17. @include flex-y-max;
  18. }
  19. .layout_flex_1-x {
  20. flex: 1;
  21. width: 0;
  22. }
  23. .layout_flex_1-y {
  24. flex: 1;
  25. height: 0;
  26. }
  27. .layout_h-w_max {
  28. width: 100%;
  29. height: 100%;
  30. }
  31. .layout_overflow_auto {
  32. overflow: auto;
  33. }
  34. .layout_full_size-no-border {
  35. width: 100%;
  36. height: 100%;
  37. border: 0;
  38. }
  39. .layout_container {
  40. @include max_h_w;
  41. display: flex;
  42. flex-direction: column;
  43. > header {
  44. margin-bottom: 8px;
  45. }
  46. > .layout_main {
  47. flex: 1;
  48. width: 0;
  49. height: 100%;
  50. }
  51. }
  52. .layout-horizontal {
  53. flex-direction: row;
  54. > aside {
  55. margin-right: 8px;
  56. }
  57. > .layout_main {
  58. width: 0;
  59. height: 100%;
  60. flex: 1;
  61. }
  62. }
  63. .layout_el-table {
  64. display: flex;
  65. flex-direction: column;
  66. .el-table {
  67. flex: 1;
  68. }
  69. }