返回列表 发帖
查看: 178|回复: 0

美化你的电脑小黑屋,适合x3.5的

5

主题

16

回帖

27

积分

初学乍练

贡献
0 点
金币
5 个
发表于 2025-5-19 20:05:07 | 查看全部 |阅读模式
截图202505192003196808.jpg 截图202505192003386632.jpg


这里是css代码,需要放进default/common文件夹里的common.css底部,然后更新缓存


  1. /* Darkroom Container */
  2. .darkroom-container {
  3.     max-width: 1200px;
  4.     margin: 0 auto;
  5.     padding: 20px 20px 0;
  6.     min-height: calc(100vh - 200px);
  7.     display: flex;
  8.     flex-direction: column;
  9. }

  10. /* Header Styles */
  11. .darkroom-header {
  12.     background: #155bd5;
  13.     border-radius: 12px;
  14.     padding: 30px;
  15.     color: #fff;
  16.     position: relative;
  17.     overflow: hidden;
  18.     margin-bottom: 30px;
  19. }

  20. .darkroom-title {
  21.     position: relative;
  22.     z-index: 2;
  23. }

  24. .title-wrapper {
  25.     display: flex;
  26.     justify-content: space-between;
  27.     align-items: center;
  28.     margin-bottom: 10px;
  29. }

  30. .darkroom-title h1 {
  31.     font-size: 24px;
  32.     margin: 0;
  33.     display: flex;
  34.     align-items: center;
  35.     gap: 10px;
  36. }

  37. .current-count {
  38.     background: rgba(255, 255, 255, 0.2);
  39.     padding: 6px 12px;
  40.     border-radius: 20px;
  41.     font-size: 15px;
  42.     font-weight: 500;
  43.     display: flex;
  44.     align-items: center;
  45.     gap: 5px;
  46.     backdrop-filter: blur(5px);
  47.     -webkit-backdrop-filter: blur(5px);
  48.     transition: all 0.3s ease;
  49. }

  50. .current-count:before {
  51.     content: '';
  52.     display: inline-block;
  53.     width: 8px;
  54.     height: 8px;
  55.     background: #fff;
  56.     border-radius: 50%;
  57.     margin-right: 5px;
  58.     animation: pulse 2s infinite;
  59. }

  60. @keyframes pulse {
  61.     0% {
  62.         transform: scale(0.95);
  63.         box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  64.     }
  65.    
  66.     70% {
  67.         transform: scale(1);
  68.         box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  69.     }
  70.    
  71.     100% {
  72.         transform: scale(0.95);
  73.         box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  74.     }
  75. }

  76. .darkroom-title p {
  77.     margin: 0;
  78.     opacity: 0.8;
  79.     font-size: 14px;
  80. }

  81. .darkroom-waves {
  82.     position: absolute;
  83.     bottom: 0;
  84.     left: 0;
  85.     right: 0;
  86.     height: 40px;
  87.     overflow: hidden;
  88. }

  89. .wave {
  90.     position: absolute;
  91.     width: 200%;
  92.     height: 100%;
  93.     background: rgba(255, 255, 255, 0.1);
  94.     border-radius: 50%;
  95. }

  96. .wave1 {
  97.     animation: wave 10s linear infinite;
  98.     bottom: -25px;
  99.     opacity: 0.3;
  100. }

  101. .wave2 {
  102.     animation: wave 8s linear infinite;
  103.     bottom: -35px;
  104.     opacity: 0.2;
  105. }

  106. @keyframes wave {
  107.     0% { transform: translateX(0); }
  108.     100% { transform: translateX(-50%); }
  109. }

  110. /* Search Bar */
  111. .darkroom-search {
  112.     display: flex;
  113.     gap: 10px;
  114.     margin-bottom: 30px;
  115.     padding: 0 20px;
  116. }

  117. .search-input {
  118.     flex: 1;
  119.     padding: 12px 15px;
  120.     border: 1px solid #e0e0e0;
  121.     border-radius: 8px;
  122.     font-size: 14px;
  123.     outline: none;
  124.     transition: border-color 0.2s;
  125. }

  126. .search-input:focus {
  127.     border-color: #155bd5;
  128. }

  129. .search-btn {
  130.     padding: 0 20px;
  131.     background: #155bd5;
  132.     color: #fff;
  133.     border: none;
  134.     border-radius: 8px;
  135.     cursor: pointer;
  136.     transition: background 0.2s;
  137.     position: relative;
  138.     width: 48px;
  139. }

  140. .search-btn:hover {
  141.     background: #1248a8;
  142. }

  143. .search-btn i.search-icon {
  144.     position: absolute;
  145.     left: 50%;
  146.     top: 50%;
  147.     transform: translate(-50%, -50%);
  148.     width: 20px;
  149.     height: 20px;
  150.     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;
  151. }

  152. /* Content Tabs */
  153. .content-tabs {
  154.     display: flex;
  155.     gap: 20px;
  156.     margin-bottom: 20px;
  157.     border-bottom: 1px solid #e0e0e0;
  158.     padding-bottom: 10px;
  159. }

  160. .tab-item {
  161.     padding: 10px 20px;
  162.     color: #666;
  163.     text-decoration: none;
  164.     font-size: 14px;
  165.     display: flex;
  166.     align-items: center;
  167.     gap: 8px;
  168.     position: relative;
  169. }

  170. .tab-item.current {
  171.     color: #155bd5;
  172. }

  173. .tab-item.current:after {
  174.     content: '';
  175.     position: absolute;
  176.     bottom: -11px;
  177.     left: 0;
  178.     right: 0;
  179.     height: 2px;
  180.     background: #155bd5;
  181. }

  182. /* Darkroom Grid */
  183. .darkroom-grid {
  184.     display: grid;
  185.     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  186.     gap: 20px;
  187.     margin-bottom: 30px;
  188. }

  189. .darkroom-card {
  190.     background: #fff;
  191.     border-radius: 12px;
  192.     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  193.     overflow: hidden;
  194.     transition: transform 0.2s;
  195. }

  196. .darkroom-card:hover {
  197.     transform: translateY(-2px);
  198.     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  199. }

  200. .card-header {
  201.     padding: 15px;
  202.     display: flex;
  203.     align-items: center;
  204.     gap: 15px;
  205.     border-bottom: 1px solid #f0f0f0;
  206. }

  207. .user-avatar {
  208.     position: relative;
  209.     width: 50px;
  210.     height: 50px;
  211.     border-radius: 50%;
  212.     overflow: hidden;
  213.     flex-shrink: 0;
  214. }

  215. .darkroom-overlay {
  216.     position: absolute;
  217.     top: 0;
  218.     left: 0;
  219.     right: 0;
  220.     bottom: 0;
  221.     background: rgba(0, 0, 0, 0.3);
  222. }

  223. .user-info {
  224.     min-width: 0;
  225.     flex-shrink: 1;
  226. }

  227. .user-info h3 {
  228.     margin: 0 0 5px;
  229.     font-size: 16px;
  230. }

  231. .user-tags {
  232.     display: flex;
  233.     gap: 5px;
  234. }

  235. .tag {
  236.     padding: 2px 8px;
  237.     border-radius: 4px;
  238.     font-size: 12px;
  239. }

  240. .status-tag {
  241.     background: rgba(21, 91, 213, 0.1);
  242.     color: #155bd5;
  243. }

  244. .permanent-tag {
  245.     background: rgba(244, 67, 54, 0.1);
  246.     color: #f44336;
  247. }

  248. .card-meta {
  249.     margin-left: auto;
  250.     margin-right: 15px;
  251.     text-align: right;
  252.     font-size: 13px;
  253.     color: #666;
  254. }

  255. .meta-item {
  256.     display: flex;
  257.     align-items: center;
  258.     justify-content: flex-end;
  259.     gap: 6px;
  260.     margin-bottom: 6px;
  261. }

  262. .meta-item:last-child {
  263.     margin-bottom: 0;
  264. }

  265. .meta-item i {
  266.     width: 14px;
  267.     height: 14px;
  268.     opacity: 0.7;
  269. }

  270. .meta-item a {
  271.     color: #155bd5;
  272.     text-decoration: none;
  273. }

  274. .meta-item a:hover {
  275.     text-decoration: underline;
  276. }

  277. .card-actions {
  278.     display: flex;
  279.     gap: 5px;
  280.     flex-shrink: 0;
  281. }

  282. .action-btn {
  283.     width: 30px;
  284.     height: 30px;
  285.     border-radius: 6px;
  286.     display: flex;
  287.     align-items: center;
  288.     justify-content: center;
  289.     color: #666;
  290.     transition: all 0.2s;
  291. }

  292. .action-btn:hover {
  293.     background: rgba(21, 91, 213, 0.1);
  294.     color: #155bd5;
  295. }

  296. .action-btn.active {
  297.     background: #155bd5;
  298.     color: #fff;
  299. }

  300. .card-body {
  301.     padding: 20px;
  302. }

  303. .info-item {
  304.     display: flex;
  305.     align-items: center;
  306.     gap: 8px;
  307.     margin-bottom: 10px;
  308.     font-size: 13px;
  309.     color: #666;
  310. }

  311. .info-item:last-child {
  312.     margin-bottom: 0;
  313. }

  314. /* Empty State */
  315. .darkroom-empty {
  316.     text-align: center;
  317.     padding: 40px 20px;
  318.     color: #666;
  319.     animation: fadeIn 0.3s ease-out;
  320.     display: flex;
  321.     flex-direction: column;
  322.     align-items: center;
  323.     justify-content: center;
  324.     flex: 1;
  325. }

  326. .empty-icon {
  327.     width: 120px;
  328.     height: 120px;
  329.     margin: 0 auto 30px;
  330.     opacity: 0.2;
  331.     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;
  332. }

  333. .darkroom-empty h3 {
  334.     margin: 0 0 15px;
  335.     font-size: 20px;
  336.     color: #333;
  337. }

  338. .darkroom-empty p {
  339.     margin: 0;
  340.     font-size: 14px;
  341.     color: #999;
  342.     line-height: 1.6;
  343. }

  344. @keyframes fadeIn {
  345.     from {
  346.         opacity: 0;
  347.         transform: translateY(20px);
  348.     }
  349.     to {
  350.         opacity: 1;
  351.         transform: translateY(0);
  352.     }
  353. }

  354. /* Settings Panel */
  355. .settings-grid {
  356.     display: grid;
  357.     grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  358.     gap: 20px;
  359. }

  360. .setting-card {
  361.     background: #fff;
  362.     border-radius: 12px;
  363.     padding: 20px;
  364.     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  365. }

  366. .setting-card h3 {
  367.     margin: 0 0 15px;
  368.     font-size: 16px;
  369. }

  370. .form-item {
  371.     margin-bottom: 15px;
  372.     display: flex;
  373.     align-items: center;
  374.     justify-content: space-between;
  375. }

  376. .form-item label {
  377.     font-size: 14px;
  378.     color: #666;
  379. }

  380. .form-item input[type="number"] {
  381.     width: 80px;
  382.     padding: 6px;
  383.     border: 1px solid #e0e0e0;
  384.     border-radius: 4px;
  385.     outline: none;
  386. }

  387. .switch-btn {
  388.     width: 40px;
  389.     height: 20px;
  390.     background: #e0e0e0;
  391.     border-radius: 10px;
  392.     position: relative;
  393.     cursor: pointer;
  394.     transition: background 0.2s;
  395. }

  396. .switch-btn:before {
  397.     content: '';
  398.     position: absolute;
  399.     width: 16px;
  400.     height: 16px;
  401.     background: #fff;
  402.     border-radius: 50%;
  403.     top: 2px;
  404.     left: 2px;
  405.     transition: transform 0.2s;
  406. }

  407. .switch-btn.active {
  408.     background: #155bd5;
  409. }

  410. .switch-btn.active:before {
  411.     transform: translateX(20px);
  412. }

  413. /* Responsive Design */
  414. @media (max-width: 768px) {
  415.     .darkroom-grid {
  416.         grid-template-columns: 1fr;
  417.     }
  418.    
  419.     .settings-grid {
  420.         grid-template-columns: 1fr;
  421.     }
  422.    
  423.     .darkroom-empty {
  424.         padding: 60px 20px;
  425.         min-height: 200px;
  426.     }
  427.    
  428.     .empty-icon {
  429.         width: 80px;
  430.         height: 80px;
  431.         margin-bottom: 20px;
  432.     }
  433. }

  434. @media (max-width: 480px) {
  435.     .content-tabs {
  436.         overflow-x: auto;
  437.         padding-bottom: 5px;
  438.     }
  439.    
  440.     .tab-item {
  441.         white-space: nowrap;
  442.     }
  443. }

  444. /* Icons */
  445. .darkroom-icon {
  446.     width: 28px;
  447.     height: 28px;
  448.     display: inline-block;
  449.     margin-right: 8px;
  450.     position: relative;
  451.     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;
  452.     transform-origin: center;
  453.     animation: iconFloat 3s ease-in-out infinite;
  454. }

  455. .darkroom-icon:after {
  456.     content: '';
  457.     position: absolute;
  458.     width: 100%;
  459.     height: 100%;
  460.     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;
  461.     transform: scale(1.2);
  462.     opacity: 0;
  463.     animation: iconGlow 3s ease-in-out infinite;
  464. }

  465. @keyframes iconFloat {
  466.     0%, 100% {
  467.         transform: translateY(0);
  468.     }
  469.     50% {
  470.         transform: translateY(-4px);
  471.     }
  472. }

  473. @keyframes iconGlow {
  474.     0%, 100% {
  475.         transform: scale(1.2);
  476.         opacity: 0;
  477.     }
  478.     50% {
  479.         transform: scale(1.5);
  480.         opacity: 0.5;
  481.     }
  482. }

  483. .list-icon {
  484.     width: 18px;
  485.     height: 18px;
  486.     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;
  487. }

  488. .settings-icon {
  489.     width: 18px;
  490.     height: 18px;
  491.     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;
  492. }

  493. .time-icon {
  494.     width: 16px;
  495.     height: 16px;
  496.     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;
  497. }

  498. .calendar-icon {
  499.     width: 16px;
  500.     height: 16px;
  501.     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;
  502. }

  503. .judge-icon {
  504.     width: 16px;
  505.     height: 16px;
  506.     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;
  507. }

  508. .reason-icon {
  509.     width: 16px;
  510.     height: 16px;
  511.     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;
  512. }

  513. .detail-icon {
  514.     width: 16px;
  515.     height: 16px;
  516.     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;
  517. }

  518. .edit-icon {
  519.     width: 16px;
  520.     height: 16px;
  521.     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;
  522. }

  523. .unlock-icon {
  524.     width: 16px;
  525.     height: 16px;
  526.     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;
  527. }

  528. .more-icon {
  529.     width: 16px;
  530.     height: 16px;
  531.     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;
  532. }

  533. /* Content Area */
  534. .darkroom-content {
  535.     flex: 1;
  536.     display: flex;
  537.     flex-direction: column;
  538. }

  539. .content-panel {
  540.     flex: 1;
  541.     display: flex;
  542.     flex-direction: column;
  543. }

  544. /* Modal Styles */
  545. .darkroom-modal {
  546.     position: fixed;
  547.     top: 0;
  548.     left: 0;
  549.     right: 0;
  550.     bottom: 0;
  551.     z-index: 1000;
  552.     display: none;
  553. }

  554. .darkroom-modal.show {
  555.     display: block;
  556. }

  557. .modal-overlay {
  558.     position: absolute;
  559.     top: 0;
  560.     left: 0;
  561.     right: 0;
  562.     bottom: 0;
  563.     background: rgba(0, 0, 0, 0.5);
  564.     backdrop-filter: blur(5px);
  565.     -webkit-backdrop-filter: blur(5px);
  566. }

  567. .modal-container {
  568.     position: absolute;
  569.     top: 50%;
  570.     left: 50%;
  571.     transform: translate(-50%, -50%);
  572.     background: #fff;
  573.     border-radius: 12px;
  574.     width: 90%;
  575.     max-width: 600px;
  576.     max-height: 90vh;
  577.     overflow-y: auto;
  578.     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  579.     animation: modalShow 0.3s ease-out;
  580. }

  581. @keyframes modalShow {
  582.     from {
  583.         opacity: 0;
  584.         transform: translate(-50%, -48%);
  585.     }
  586.     to {
  587.         opacity: 1;
  588.         transform: translate(-50%, -50%);
  589.     }
  590. }

  591. .modal-header {
  592.     padding: 20px;
  593.     border-bottom: 1px solid #f0f0f0;
  594.     display: flex;
  595.     justify-content: space-between;
  596.     align-items: center;
  597. }

  598. .modal-header h3 {
  599.     margin: 0;
  600.     font-size: 18px;
  601.     color: #333;
  602. }

  603. .modal-close {
  604.     width: 32px;
  605.     height: 32px;
  606.     border: none;
  607.     background: none;
  608.     cursor: pointer;
  609.     border-radius: 50%;
  610.     display: flex;
  611.     align-items: center;
  612.     justify-content: center;
  613.     transition: background-color 0.2s;
  614. }

  615. .modal-close:hover {
  616.     background: rgba(0, 0, 0, 0.05);
  617. }

  618. .close-icon {
  619.     width: 20px;
  620.     height: 20px;
  621.     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;
  622. }

  623. .modal-content {
  624.     padding: 20px;
  625. }

  626. .modal-user-info {
  627.     display: flex;
  628.     align-items: center;
  629.     gap: 20px;
  630.     margin-bottom: 30px;
  631. }

  632. .user-avatar-large {
  633.     width: 80px;
  634.     height: 80px;
  635.     border-radius: 50%;
  636.     overflow: hidden;
  637.     position: relative;
  638. }

  639. .user-avatar-large img {
  640.     width: 100%;
  641.     height: 100%;
  642.     object-fit: cover;
  643. }

  644. .user-detail h3 {
  645.     margin: 0 0 10px;
  646.     font-size: 20px;
  647. }

  648. .punishment-count {
  649.     display: inline-block;
  650.     background: rgba(21, 91, 213, 0.1);
  651.     color: #155bd5;
  652.     padding: 4px 10px;
  653.     border-radius: 12px;
  654.     font-size: 13px;
  655.     margin-top: 5px;
  656. }

  657. .modal-info-list {
  658.     display: grid;
  659.     gap: 15px;
  660. }

  661. .modal-info-list .info-item {
  662.     padding: 15px;
  663.     background: #f8f9fa;
  664.     border-radius: 8px;
  665.     margin: 0;
  666.     transition: background-color 0.2s;
  667. }

  668. .modal-info-list .info-item:hover {
  669.     background: #f0f2f5;
  670. }

  671. .modal-info-list .reason {
  672.     background: #fff3e0;
  673.     color: #e65100;
  674. }

  675. .modal-info-list .reason:hover {
  676.     background: #ffe0b2;
  677. }

  678. @media (max-width: 480px) {
  679.     .modal-container {
  680.         width: 95%;
  681.     }
  682.    
  683.     .user-avatar-large {
  684.         width: 60px;
  685.         height: 60px;
  686.     }
  687.    
  688.     .modal-content {
  689.         padding: 15px;
  690.     }
  691. }

  692. /* Card Preview Styles */
  693. .card-preview {
  694.     padding: 12px 15px;
  695.     background: #fff;
  696.     border-top: 1px solid #f0f0f0;
  697. }

  698. .preview-item {
  699.     display: flex;
  700.     align-items: center;
  701.     gap: 8px;
  702.     margin-bottom: 8px;
  703.     font-size: 13px;
  704.     color: #666;
  705. }

  706. .preview-item:last-child {
  707.     margin-bottom: 0;
  708. }

  709. .preview-item i {
  710.     flex-shrink: 0;
  711. }

  712. .preview-item a {
  713.     color: #155bd5;
  714.     text-decoration: none;
  715. }

  716. .preview-item a:hover {
  717.     text-decoration: underline;
  718. }

  719. .reason-preview {
  720.     background: #f8f9fa;
  721.     border-radius: 6px;
  722.     padding: 10px;
  723. }

  724. .reason-text {
  725.     flex: 1;
  726.     line-height: 1.5;
  727.     display: -webkit-box;
  728.     -webkit-line-clamp: 2;
  729.     -webkit-box-orient: vertical;
  730.     overflow: hidden;
  731.     text-overflow: ellipsis;
  732. }

  733. @media (max-width: 480px) {
  734.     .card-preview {
  735.         padding: 10px 12px;
  736.     }
  737.    
  738.     .preview-item {
  739.         font-size: 12px;
  740.     }
  741. }

  742. @media (max-width: 640px) {
  743.     .card-header {
  744.         flex-wrap: wrap;
  745.     }

  746.     .card-meta {
  747.         order: 3;
  748.         margin-left: 65px;
  749.         margin-right: auto;
  750.         text-align: left;
  751.         width: 100%;
  752.         margin-top: 10px;
  753.     }

  754.     .meta-item {
  755.         justify-content: flex-start;
  756.     }

  757.     .card-actions {
  758.         order: 2;
  759.         margin-left: auto;
  760.     }
  761. }
复制代码
替换:default\forum\darkroom.htm,替换之前请您自己备份源文件
darkroom.rar (3.58 KB, 下载次数: 10)

其他需要啥的自己加吧,注意:所有替换文件动作,请您自己备份好源文件!!!!!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 关注公众号
  • 有偿服务微信
  • 有偿服务QQ

手机版|小黑屋|Discuz! 官方交流社区 ( 皖ICP备16010102号 |皖公网安备34010302002376号 )|网站地图|star

GMT+8, 2025-6-5 05:27 , Processed in 0.082444 second(s), 14 queries , Redis On.

Powered by Discuz! W1.0 Licensed

Cpoyright © 2001-2025 Discuz! Team.

关灯 在本版发帖
有偿服务QQ
有偿服务微信
返回顶部
快速回复 返回顶部 返回列表