UNPKG

sci-pro

Version:
64 lines (63 loc) 1.53 kB
.sci-tabs-container { height: 100%; } .sci-tabs-container .tabs { box-shadow: 5px 2px 4px 1px #e1e5ea; } .sci-tabs-container .tabs-content { position: relative; display: flex; justify-content: space-between; height: 100%; width: 100%; overflow-x: auto; } .sci-tabs-container .tabs-content::-webkit-scrollbar { height: 4px !important; } .sci-tabs-container .tabs-content::-webkit-scrollbar-thumb { background-color: #dfdfdf; border-radius: 4px !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-operation { display: flex; align-items: center; } .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; }