美化你的电脑小黑屋,适合x3.5的
这里是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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') 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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"/><path d="M12 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm0 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"/></svg>') 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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-3.03 0-5.5-2.47-5.5-5.5 0-1.82.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z"/></svg>') 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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.3)"><path d="M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-3.03 0-5.5-2.47-5.5-5.5 0-1.82.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z"/></svg>') 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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/></svg>') no-repeat center;}.settings-icon { width: 18px; height: 18px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.07.62-.07.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"/></svg>') no-repeat center;}.time-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>') no-repeat center;}.calendar-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zm-7-9h5v5h-5z"/></svg>') no-repeat center;}.judge-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>') no-repeat center;}.reason-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M14 17H4v2h10v-2zm6-8H4v2h16V9zM4 15h16v-2H4v2zM4 5v2h16V5H4z"/></svg>') no-repeat center;}.detail-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>') no-repeat center;}.edit-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>') no-repeat center;}.unlock-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"/></svg>') no-repeat center;}.more-icon { width: 16px; height: 16px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg>') 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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') 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; }}
点击文件名下载附件
其他需要啥的自己加吧,注意:所有替换文件动作,请您自己备份好源文件!!!!!!!