index.css
1019 Bytes
.main{display:grid;grid-template-columns:minmax(330px, 22.9%) 1fr;height:calc(100vh - 42px)}.main .tabs{overflow-y:scroll;font-size:16px;color:#1F1F1F;user-select:none;background:#FFFFFF;border:1px solid #EEEEEE;box-sizing:border-box}.main .tabs-box{padding:32px 20px 40px 84px}.main .tabs-box .tab-text{display:flex;align-items:center;height:40px;line-height:40px;color:#008BF4;font-weight:700}.main .tabs-box .tab-text:hover{cursor:pointer}.main .tabs-box .tab-text .icon{width:10px;height:28px;margin-right:8px;transition:all .5s}.main .tabs-box .tab .item-list{display:none}.main .tabs-box .tab .on .icon{transform:rotate(90deg)}.main .tabs-box .tab .on ~ .item-list{display:block}.main .tabs-box .tab .item{height:50px;line-height:50px;padding-left:40px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main .tabs-box .tab .item:hover{cursor:pointer;background:#EEEEEE;border-radius:20px}.main .tabs-box .tab .active{background:#EEEEEE;border-radius:20px}.main .content{overflow-y:scroll}