screenDesigner.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. .layout {
  2. width: 100%;
  3. height: 100%;
  4. background: #242a30;
  5. color: #fff;
  6. .layout-container {
  7. width: 100%;
  8. height: calc(100vh - 40px);
  9. display: flex;
  10. flex-direction: row;
  11. justify-content: space-between;
  12. overflow: hidden;
  13. .layout-middle {
  14. // display: flex;
  15. position: relative;
  16. //width: calc(100% - 445px);
  17. height: 100%;
  18. background-color: rgb(36, 42, 48);
  19. box-sizing: border-box;
  20. -webkit-box-sizing: border-box;
  21. border: 1px solid rgb(36, 42, 48);
  22. align-items: center;
  23. vertical-align: middle;
  24. text-align: center;
  25. }
  26. .layout-right {
  27. width: 300px;
  28. }
  29. .el-tabs--border-card {
  30. border: 0;
  31. .el-tabs__header {
  32. background: transparent;
  33. .el-tabs__nav {
  34. width: 100%;
  35. .el-tabs__item {
  36. background-color: #242f3b;
  37. border: 0px;
  38. font-size: 12px;
  39. width: 50%;
  40. .icon {
  41. margin-right: 4px;
  42. }
  43. }
  44. .el-tabs__item.is-active {
  45. background-color: #31455d;
  46. }
  47. }
  48. }
  49. .el-tabs__content {
  50. background-color: #242a30;
  51. height: calc(100vh - 80px);
  52. overflow-x: hidden;
  53. overflow-y: auto;
  54. .el-tab-pane {
  55. color: #bfcbd9;
  56. }
  57. &::-webkit-scrollbar {
  58. width: 5px;
  59. height: 14px;
  60. }
  61. &::-webkit-scrollbar-track,
  62. &::-webkit-scrollbar-thumb {
  63. border-radius: 1px;
  64. border: 0 solid transparent;
  65. }
  66. &::-webkit-scrollbar-track-piece {
  67. /*修改滚动条的背景和圆角*/
  68. background: #29405c;
  69. -webkit-border-radius: 7px;
  70. }
  71. &::-webkit-scrollbar-track {
  72. box-shadow: 1px 1px 5px rgba(116, 148, 170, 0.5) inset;
  73. }
  74. &::-webkit-scrollbar-thumb {
  75. min-height: 20px;
  76. background-clip: content-box;
  77. box-shadow: 0 0 0 5px rgba(116, 148, 170, 0.5) inset;
  78. }
  79. &::-webkit-scrollbar-corner {
  80. background: transparent;
  81. }
  82. /*修改垂直滚动条的样式*/
  83. &::-webkit-scrollbar-thumb:vertical {
  84. background-color: #00113a;
  85. -webkit-border-radius: 7px;
  86. }
  87. /*修改水平滚动条的样式*/
  88. &::-webkit-scrollbar-thumb:horizontal {
  89. background-color: #00113a;
  90. -webkit-border-radius: 7px;
  91. }
  92. }
  93. }
  94. }
  95. }