.sticky-bar { position: -webkit-sticky; /* Safari */ position: sticky; top: 0; z-index: 1000; background-color: white; /* 背景色与页面背景一致 */ } .fl { float: left; } .fr { float: right; } .p-10 { padding: 10px; } .btn_l, .btn_r { width: calc(50% - 10px); margin-bottom: 20px; height: 300px; } .btn_l .layui-btn, .btn_r .layui-btn { font-size: 2em !important; } .btns { /* width: calc(50% - 20px); */ margin: 20px; margin-bottom: 20px; height: 300px; } .btn_list { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 10px; } .diy-button { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; width: 400px; height: 100% !important; border-radius: 20px !important; font-size: 2em; strong { margin-top: 20px; } p { font-size: 0.6em; margin-top: 5px; } } .tags { font-size: 0.8em; color: #fff; padding: 5px; border-radius: 5px; margin-right: 7px; } .tags-1 { background-color: #ff5722; } .tags-2 { background-color: #ffb800; } .tags-3 { background-color: #16baaa; } .tags-4 { background-color: #1e9fff; } .tags-5 { background-color: #a233c6; } .tags-6 { background-color: #2f363c; } .new-label { font-size: 0.8em; background-color: #FF5722; padding: 5px; color: #fff; border-radius: 5px; position: relative; top: -2px; left: 10px; } .multi dl dd.layui-this { background-color: #fff; } .ziyan { background-color: #1e9fff; padding: 3px 7px; font-size: 11px; margin-right: 10px; border-radius: 5px; line-height: 20px; color: #fff; } .feiziyan { background-color: #16b777; padding: 3px 7px; font-size: 11px; margin-right: 10px; border-radius: 5px; line-height: 20px; color: #fff; } .card-container { column-count: 8; column-gap: 15px; margin-top: 15px; } .card-item { break-inside: avoid; background-color: #f2f2f2; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); margin-bottom: 15px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 15px; } .items { width: 100%; display: flex; flex-direction: column; align-items: center; } .item-image { width: 100%; text-align: center; overflow: hidden; } .item-image img { width: 100%; height: auto; border-radius: 4px; object-fit: cover; display: block; margin: 0 auto; cursor: pointer; } .item-name { text-align: center; margin-top: 10px; max-width: 100%; overflow: hidden; } .names { display: block; margin-bottom: 5px; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .path-row { display: flex; justify-content: center; margin-bottom: 10px; align-items: center; } .path-value { padding: 2px; box-sizing: border-box; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 80%; } .action-row { display: flex; justify-content: center; } .action-item { padding: 10px; box-sizing: border-box; text-align: center; cursor: pointer; } #pagination { display: flex !important; display: inline; zoom: 1; vertical-align: middle; margin: 40px 0; font-size: 0; justify-content: center; } .img-ids { height: 30px; padding: 5px 0; border-bottom: 1px solid #ddd; width: 100%; text-align: center; margin-bottom: 20px; } .layui-layer-page .layui-layer-content { overflow: visible !important; } .create-folder { padding: 10px; .btnbar { margin: 40px; display: flex; justify-content: center; } .layui-input-block { margin-left: 120px; } .layui-input { width: 95%; } } #go-to-top { position: fixed; bottom: 20px; right: 20px; display: none; border-radius: 100%; width: 100px; height: 100px; } .uploaddemo { width: 100%; display: flex; justify-content: center; margin-bottom: 10px; } .layui-upload-drag { width: 90%; min-height: 100px; } .uploadbtn{ width: 100%; padding: 10px; display: flex; justify-content: center; }