index.scss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. .tabs-box {
  2. background-color: #0088cc;
  3. // background-color: transparent;
  4. .tabs-menu {
  5. position: relative;
  6. width: 100%;
  7. .el-dropdown {
  8. position: absolute;
  9. top: 0;
  10. right: 0;
  11. bottom: 0;
  12. background: rgb(127 255 255 / 20%);
  13. .more-button {
  14. display: flex;
  15. align-items: center;
  16. justify-content: center;
  17. width: 43px;
  18. cursor: pointer;
  19. border-left: 1px solid #4ca6ff;
  20. transition: all 0.3s;
  21. &:hover {
  22. background-color: rgb(127 255 255 / 20%);
  23. }
  24. .iconfont {
  25. font-size: 12.5px;
  26. color: #7fffff;
  27. }
  28. }
  29. }
  30. :deep(.el-tabs) {
  31. .el-tabs__header {
  32. box-sizing: border-box;
  33. height: 40px;
  34. padding: 0 10px;
  35. margin: 0;
  36. border-bottom: #4ca6ff;
  37. .el-tabs__nav-wrap {
  38. position: absolute;
  39. width: calc(100% - 70px);
  40. .el-tabs__nav {
  41. display: flex;
  42. border: none;
  43. .el-tabs__item {
  44. display: flex;
  45. align-items: center;
  46. justify-content: center;
  47. color: #7fffff;
  48. border: none;
  49. .tabs-icon {
  50. margin: 1.5px 4px 0 0;
  51. font-size: 15px;
  52. }
  53. .is-icon-close {
  54. margin-top: 1px;
  55. }
  56. &.is-active {
  57. color: var(--el-color-primary);
  58. &::before {
  59. position: absolute;
  60. bottom: 0;
  61. width: 100%;
  62. height: 0;
  63. content: '';
  64. border-bottom: 2px solid var(--el-color-primary) !important;
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }
  73. }