index.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .cip-main-tabs{
  2. margin-top:8px;
  3. .el-tabs{
  4. border: none;
  5. .el-tabs__header{
  6. border: none;
  7. }
  8. .el-tabs__nav{
  9. border: none !important;
  10. }
  11. &__item{
  12. //border: none !important;
  13. border-radius: 7px;
  14. margin-top: 6px;
  15. margin-right: -24px;
  16. height: 38px;
  17. line-height: 38px;
  18. mask: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANoAAAAkBAMAAAAdqzmBAAAAMFBMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlTPQ5AAAAD3RSTlMAr3DvEM8wgCBA379gj5//tJBPAAAAnUlEQVRIx2NgAAM27fj/tAO/xBsYkIHyf9qCT8iWMf6nNQhAsk2f5rYheY7Dnua2/U+A28ZEe8v+F9Ax2v7/F4DbxkUH2wzgtvHTwbYPo7aN2jZq26hto7aN2jZq25Cy7Qvctnw62PYNbls9HWz7S8/G6//PsI6H4396gAUQy1je08W2jxDbpv6nD4gB2uWp+J9eYPsEhv/0BPS1DQBvoBLVZ3BppgAAAABJRU5ErkJggg==);
  19. mask-size: 100% 100%;
  20. padding: 0 30px !important;
  21. display: inline-flex;
  22. align-items: center;
  23. &:hover{
  24. background: #dee1e6;
  25. color: inherit;
  26. }
  27. &.is-active{
  28. border: none;
  29. color: #1890ff;
  30. background: #e8f4ff;
  31. }
  32. }
  33. }
  34. .el-tabs__header.is-top{
  35. margin: 0;
  36. }
  37. .cip-main-tab__label{
  38. display: inline-block;
  39. max-width: 120px;
  40. overflow: hidden;
  41. text-overflow: ellipsis;
  42. }
  43. }