这里是css代码,需要放进default/common文件夹里的common.css底部,然后更新缓存
- /* Darkroom Container */.darkroom-container { max-width: 1200px; margin: 0 auto; padding: 20px 20px 0; min-height: calc(100vh - 200px); display: flex; flex-direction: column;}/* Header Styles */.darkroom-header { background: #155bd5; border-radius: 12px; padding: 30px; color: #fff; position: relative; overflow: hidden; margin-bottom: 30px;}.darkroom-title { position: relative; z-index: 2;}.title-wrapper { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;}.darkroom-title h1 { font-size: 24px; margin: 0; display: flex; align-items: center; gap: 10px;}.current-count { background: rgba(255, 255, 255, 0.2); padding: 6px 12px; border-radius: 20px; font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 5px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); transition: all 0.3s ease;}.current-count:before { content: ''; display: inline-block; width: 8px; height: 8px; background: #fff; border-radius: 50%; margin-right: 5px; animation: pulse 2s infinite;}@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }}.darkroom-title p { margin: 0; opacity: 0.8; font-size: 14px;}.darkroom-waves { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; overflow: hidden;}.wave { position: absolute; width: 200%; height: 100%; background: rgba(255, 255, 255, 0.1); border-radius: 50%;}.wave1 { animation: wave 10s linear infinite; bottom: -25px; opacity: 0.3;}.wave2 { animation: wave 8s linear infinite; bottom: -35px; opacity: 0.2;}@keyframes wave { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); }}/* Search Bar */.darkroom-search { display: flex; gap: 10px; margin-bottom: 30px; padding: 0 20px;}.search-input { flex: 1; padding: 12px 15px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; outline: none; transition: border-color 0.2s;}.search-input:focus { border-color: #155bd5;}.search-btn { padding: 0 20px; background: #155bd5; color: #fff; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; position: relative; width: 48px;}.search-btn:hover { background: #1248a8;}.search-btn i.search-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; background: url('data:image/svg+xml;utf8,') no-repeat center;}/* Content Tabs */.content-tabs { display: flex; gap: 20px; margin-bottom: 20px; border-bottom: 1px solid #e0e0e0; padding-bottom: 10px;}.tab-item { padding: 10px 20px; color: #666; text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 8px; position: relative;}.tab-item.current { color: #155bd5;}.tab-item.current:after { content: ''; position: absolute; bottom: -11px; left: 0; right: 0; height: 2px; background: #155bd5;}/* Darkroom Grid */.darkroom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px;}.darkroom-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); overflow: hidden; transition: transform 0.2s;}.darkroom-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);}.card-header { padding: 15px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #f0f0f0;}.user-avatar { position: relative; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex-shrink: 0;}.darkroom-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3);}.user-info { min-width: 0; flex-shrink: 1;}.user-info h3 { margin: 0 0 5px; font-size: 16px;}.user-tags { display: flex; gap: 5px;}.tag { padding: 2px 8px; border-radius: 4px; font-size: 12px;}.status-tag { background: rgba(21, 91, 213, 0.1); color: #155bd5;}.permanent-tag { background: rgba(244, 67, 54, 0.1); color: #f44336;}.card-meta { margin-left: auto; margin-right: 15px; text-align: right; font-size: 13px; color: #666;}.meta-item { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: 6px;}.meta-item:last-child { margin-bottom: 0;}.meta-item i { width: 14px; height: 14px; opacity: 0.7;}.meta-item a { color: #155bd5; text-decoration: none;}.meta-item a:hover { text-decoration: underline;}.card-actions { display: flex; gap: 5px; flex-shrink: 0;}.action-btn { width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #666; transition: all 0.2s;}.action-btn:hover { background: rgba(21, 91, 213, 0.1); color: #155bd5;}.action-btn.active { background: #155bd5; color: #fff;}.card-body { padding: 20px;}.info-item { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; color: #666;}.info-item:last-child { margin-bottom: 0;}/* Empty State */.darkroom-empty { text-align: center; padding: 40px 20px; color: #666; animation: fadeIn 0.3s ease-out; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1;}.empty-icon { width: 120px; height: 120px; margin: 0 auto 30px; opacity: 0.2; background: url('data:image/svg+xml;utf8,') no-repeat center;}.darkroom-empty h3 { margin: 0 0 15px; font-size: 20px; color: #333;}.darkroom-empty p { margin: 0; font-size: 14px; color: #999; line-height: 1.6;}@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); }}/* Settings Panel */.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px;}.setting-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);}.setting-card h3 { margin: 0 0 15px; font-size: 16px;}.form-item { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between;}.form-item label { font-size: 14px; color: #666;}.form-item input[type="number"] { width: 80px; padding: 6px; border: 1px solid #e0e0e0; border-radius: 4px; outline: none;}.switch-btn { width: 40px; height: 20px; background: #e0e0e0; border-radius: 10px; position: relative; cursor: pointer; transition: background 0.2s;}.switch-btn:before { content: ''; position: absolute; width: 16px; height: 16px; background: #fff; border-radius: 50%; top: 2px; left: 2px; transition: transform 0.2s;}.switch-btn.active { background: #155bd5;}.switch-btn.active:before { transform: translateX(20px);}/* Responsive Design */@media (max-width: 768px) { .darkroom-grid { grid-template-columns: 1fr; } .settings-grid { grid-template-columns: 1fr; } .darkroom-empty { padding: 60px 20px; min-height: 200px; } .empty-icon { width: 80px; height: 80px; margin-bottom: 20px; }}@media (max-width: 480px) { .content-tabs { overflow-x: auto; padding-bottom: 5px; } .tab-item { white-space: nowrap; }}/* Icons */.darkroom-icon { width: 28px; height: 28px; display: inline-block; margin-right: 8px; position: relative; background: url('data:image/svg+xml;utf8,') no-repeat center; transform-origin: center; animation: iconFloat 3s ease-in-out infinite;}.darkroom-icon:after { content: ''; position: absolute; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,') no-repeat center; transform: scale(1.2); opacity: 0; animation: iconGlow 3s ease-in-out infinite;}@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); }}@keyframes iconGlow { 0%, 100% { transform: scale(1.2); opacity: 0; } 50% { transform: scale(1.5); opacity: 0.5; }}.list-icon { width: 18px; height: 18px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.settings-icon { width: 18px; height: 18px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.time-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.calendar-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.judge-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.reason-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.detail-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.edit-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.unlock-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.more-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,') no-repeat center;}/* Content Area */.darkroom-content { flex: 1; display: flex; flex-direction: column;}.content-panel { flex: 1; display: flex; flex-direction: column;}/* Modal Styles */.darkroom-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; display: none;}.darkroom-modal.show { display: block;}.modal-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);}.modal-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 12px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); animation: modalShow 0.3s ease-out;}@keyframes modalShow { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); }}.modal-header { padding: 20px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center;}.modal-header h3 { margin: 0; font-size: 18px; color: #333;}.modal-close { width: 32px; height: 32px; border: none; background: none; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s;}.modal-close:hover { background: rgba(0, 0, 0, 0.05);}.close-icon { width: 20px; height: 20px; background: url('data:image/svg+xml;utf8,') no-repeat center;}.modal-content { padding: 20px;}.modal-user-info { display: flex; align-items: center; gap: 20px; margin-bottom: 30px;}.user-avatar-large { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; position: relative;}.user-avatar-large img { width: 100%; height: 100%; object-fit: cover;}.user-detail h3 { margin: 0 0 10px; font-size: 20px;}.punishment-count { display: inline-block; background: rgba(21, 91, 213, 0.1); color: #155bd5; padding: 4px 10px; border-radius: 12px; font-size: 13px; margin-top: 5px;}.modal-info-list { display: grid; gap: 15px;}.modal-info-list .info-item { padding: 15px; background: #f8f9fa; border-radius: 8px; margin: 0; transition: background-color 0.2s;}.modal-info-list .info-item:hover { background: #f0f2f5;}.modal-info-list .reason { background: #fff3e0; color: #e65100;}.modal-info-list .reason:hover { background: #ffe0b2;}@media (max-width: 480px) { .modal-container { width: 95%; } .user-avatar-large { width: 60px; height: 60px; } .modal-content { padding: 15px; }}/* Card Preview Styles */.card-preview { padding: 12px 15px; background: #fff; border-top: 1px solid #f0f0f0;}.preview-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #666;}.preview-item:last-child { margin-bottom: 0;}.preview-item i { flex-shrink: 0;}.preview-item a { color: #155bd5; text-decoration: none;}.preview-item a:hover { text-decoration: underline;}.reason-preview { background: #f8f9fa; border-radius: 6px; padding: 10px;}.reason-text { flex: 1; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;}@media (max-width: 480px) { .card-preview { padding: 10px 12px; } .preview-item { font-size: 12px; }}@media (max-width: 640px) { .card-header { flex-wrap: wrap; } .card-meta { order: 3; margin-left: 65px; margin-right: auto; text-align: left; width: 100%; margin-top: 10px; } .meta-item { justify-content: flex-start; } .card-actions { order: 2; margin-left: auto; }}
复制代码 替换:default\forum\darkroom.htm,替换之前请您自己备份源文件
darkroom.rar(3.58 KB, 下载次数: 525)2025-5-19 20:01 上传
点击文件名下载附件
其他需要啥的自己加吧,注意:所有替换文件动作,请您自己备份好源文件!!!!!!! |