UNPKG

sci-pro

Version:
72 lines (71 loc) 1.74 kB
.sci-tabs-container { height: 100%; } .sci-tabs-container .tabs { box-shadow: 5px 2px 4px 1px #e1e5ea; display: flex; align-items: center; gap: 6px; justify-content: space-between; } .sci-tabs-container .tabs .tabs-operation { height: 100%; display: flex; align-items: center; padding-left: 6px; } .sci-tabs-container .tabs-content { position: relative; display: flex; justify-content: space-between; height: 100%; overflow-x: auto; } .sci-tabs-container .tabs-content::-webkit-scrollbar { height: 4px !important; } .sci-tabs-container .tabs-content::-webkit-scrollbar-thumb { background-color: #bcbcbc; border-radius: 4px !important; } .sci-tabs-container .tabs-content::-webkit-scrollbar-track-piece { background-color: #f6f6f9 !important; } .sci-tabs-container .tabs-content .tabs-lists { display: flex; align-items: center; } .sci-tabs-container .tabs-content .tabs-lists .tabs-item { margin-right: 30px; font-size: 14px; cursor: pointer; white-space: nowrap; } .sci-tabs-container .tabs-content .tabs-lists .tabs-item.active { color: var(--highlight); } .sci-tabs-container .tabs-content .tabs-lists .tabs-item:hover { color: var(--highlight); } .sci-tabs-container .tabs-content .tabs-lists .tabs-item.disabled:hover { color: #000; } .sci-tabs-container .tabs-content .tabs-active-bar { position: absolute; bottom: 0; left: 0; height: 2px; background-color: var(--highlight); transition-property: all; } .sci-tabs-container .sci-tabs-panel { height: calc(100% - 32px); overflow: hidden; border-top: 1px solid #dfdfdf; } .sci-tabs-container .sci-tabs-panel .sci-tabs-panel-content { display: flex; width: 100%; height: 100%; transition-property: all; }