common.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //页面容器
  2. .page-container {
  3. width: 100%;
  4. height: calc(100vh - 50px);
  5. overflow: hidden;
  6. display: flex;
  7. flex-direction: column;
  8. // 条件选择、搜索容器
  9. .search-container {
  10. width: 100%;
  11. background-color: #fff;
  12. padding: 10px 15px;
  13. box-sizing: border-box;
  14. margin-top: 7px;
  15. }
  16. //主要内容容器
  17. .content-container {
  18. width: 100%;
  19. flex-grow: 1;
  20. display: flex;
  21. margin-top: 7px;
  22. .main {
  23. width: calc(100% - 287px);
  24. height: 100%;
  25. padding: 10px 15px;
  26. box-sizing: border-box;
  27. background-color: #fff;
  28. .table-nav {
  29. display: flex;
  30. justify-content: space-between;
  31. .tags {
  32. display: flex;
  33. .tag {
  34. width: 90px;
  35. height: 40px;
  36. text-align: center;
  37. line-height: 40px;
  38. font-size: 14px;
  39. border-top: 1px solid #dfe6ec;
  40. border-left: 1px solid #dfe6ec;
  41. cursor: pointer;
  42. &:last-child {
  43. border-right: 1px solid #dfe6ec;
  44. }
  45. }
  46. }
  47. }
  48. &:first-child {
  49. width: 100%;
  50. }
  51. }
  52. }
  53. }
  54. .hasTagsView {
  55. .page-container {
  56. height: calc(100vh - 86px);
  57. }
  58. }
  59. .message-style {
  60. &.success {
  61. background-color: #f0f9eb;
  62. }
  63. &.warning {
  64. background-color: #fdf6ec;
  65. }
  66. &.info {
  67. background-color: #f4f4f4;
  68. }
  69. &.error {
  70. background-color: #fef0f0;
  71. }
  72. .el-notification__icon {
  73. font-size: 30px !important;
  74. }
  75. .el-notification__group {
  76. .el-notification__title {
  77. font-size: 14px !important;
  78. }
  79. .el-notification__content {
  80. margin: 0 !important;
  81. }
  82. }
  83. }
  84. a.linked {
  85. color: #1890ff;
  86. }