mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-17 12:48:08 +00:00
2 lines
3.0 KiB
CSS
2 lines
3.0 KiB
CSS
.llm-model-list-container{scrollbar-width:thin;scrollbar-color:#c1c1c1 transparent}.llm-model-list-container::-webkit-scrollbar{width:8px}.llm-model-list-container::-webkit-scrollbar-track{background:transparent}.llm-model-list-container::-webkit-scrollbar-thumb{background-color:#c1c1c1;border-radius:4px;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.llm-model-list-container::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}[data-theme=dark] .llm-model-list-container::-webkit-scrollbar-thumb{background-color:#555}[data-theme=dark] .llm-model-list-container::-webkit-scrollbar-thumb:hover{background-color:#777}.llm-model-list .ant-list-item{transition:all .2s ease;border-radius:6px;margin:4px 0;padding:12px 16px!important}.llm-model-list .ant-list-item:hover{transform:translateY(-1px);box-shadow:0 2px 8px #00000014}[data-theme=dark] .llm-model-list .ant-list-item:hover{box-shadow:0 2px 8px #ffffff0d}.llm-provider-tab-container{height:calc(100vh - 40px);width:100%;display:flex;flex-direction:column;overflow:hidden!important;max-height:calc(100vh - 40px);position:relative;margin-bottom:40px}.llm-provider-tab-container{overflow-y:hidden!important;overflow-x:hidden!important}.llm-provider-tab-header{flex-shrink:0;position:sticky;top:0;z-index:10;background-color:#fff;border-bottom:1px solid #d9d9d9}[data-theme=dark] .llm-provider-tab-header{background-color:#141414;border-bottom-color:#434343}.llm-provider-tab-content{flex:1 1;overflow:hidden;position:relative}.llm-provider-tabs{height:100%;display:flex;flex-direction:column;overflow:hidden!important}.llm-provider-tabs .ant-tabs-nav{margin-bottom:0;flex-shrink:0;overflow:hidden!important}.llm-provider-tabs .ant-tabs-content-holder{flex:1 1;overflow:hidden!important;height:0}.llm-provider-tabs .ant-tabs-content,.llm-provider-tabs .ant-tabs-tabpane{height:100%}.llm-provider-tab-pane-content{height:calc(100% - 60px);overflow-y:auto!important;overflow-x:hidden!important;position:relative;padding-bottom:20px}.llm-provider-tab-pane-content::-webkit-scrollbar{width:8px}.llm-provider-tab-pane-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.llm-provider-tab-pane-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.llm-provider-tab-pane-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}[data-theme=dark] .llm-provider-tab-pane-content::-webkit-scrollbar-track{background:#2f2f2f}[data-theme=dark] .llm-provider-tab-pane-content::-webkit-scrollbar-thumb{background:#555}[data-theme=dark] .llm-provider-tab-pane-content::-webkit-scrollbar-thumb:hover{background:#777}@media (max-height: 600px){.llm-provider-tab-container{height:calc(100vh - 80px);margin-bottom:60px}.llm-provider-tab-pane-content{height:calc(100% - 80px)}}@media (min-height: 800px){.llm-provider-tab-container{height:calc(100vh - 30px);margin-bottom:30px}.llm-provider-tab-pane-content{height:calc(100% - 50px)}}body:has(.llm-provider-tab-container){overflow:hidden!important}.no-scroll{overflow:hidden!important}.llm-provider-tab-container *{box-sizing:border-box}
|