22301009 | 1e2aea7 | 2025-06-08 16:35:54 +0800 | [diff] [blame^] | 1 | /* CreatePlaylistModal.css */ |
| 2 | |
| 3 | .create-playlist-modal.modal-overlay { |
| 4 | position: fixed; |
| 5 | inset: 0; |
| 6 | background-color: rgba(0, 0, 0, 0.65); |
| 7 | display: flex; |
| 8 | align-items: center; |
| 9 | justify-content: center; |
| 10 | z-index: 9999; |
| 11 | padding: 16px; |
| 12 | } |
| 13 | |
| 14 | .create-playlist-modal .modal { |
| 15 | background: #fff; |
| 16 | border-radius: 14px; |
| 17 | width: 420px; |
| 18 | max-width: 100%; |
| 19 | padding: 32px 40px; |
| 20 | box-shadow: |
| 21 | 0 10px 15px rgba(0, 0, 0, 0.1), |
| 22 | 0 4px 6px rgba(0, 0, 0, 0.05); |
| 23 | font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
| 24 | transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 25 | } |
| 26 | |
| 27 | .create-playlist-modal .modal:hover { |
| 28 | transform: translateY(-6px); |
| 29 | } |
| 30 | |
| 31 | .create-playlist-modal .modal h3 { |
| 32 | margin: 0 0 28px 0; |
| 33 | font-weight: 700; |
| 34 | font-size: 1.9rem; |
| 35 | color: #222; |
| 36 | text-align: center; |
| 37 | letter-spacing: 0.02em; |
| 38 | } |
| 39 | |
| 40 | /* Label纵向排列 */ |
| 41 | .create-playlist-modal .modal label { |
| 42 | display: flex !important; |
| 43 | flex-direction: column !important; |
| 44 | margin-bottom: 20px; |
| 45 | font-weight: 600; |
| 46 | color: #444; |
| 47 | font-size: 1.05rem; |
| 48 | user-select: none; |
| 49 | cursor: default; /* 加上避免label内容被选中时光标变形 */ |
| 50 | } |
| 51 | |
| 52 | .create-playlist-modal .modal input[type="text"], |
| 53 | .create-playlist-modal .modal input[type="number"], |
| 54 | .create-playlist-modal .modal textarea { |
| 55 | margin-top: 8px; |
| 56 | padding: 12px 16px; |
| 57 | border: 1.6px solid #bbb; |
| 58 | border-radius: 8px; |
| 59 | font-size: 1rem; |
| 60 | color: #333; |
| 61 | box-sizing: border-box; |
| 62 | resize: vertical; |
| 63 | transition: border-color 0.25s ease, box-shadow 0.25s ease; |
| 64 | font-family: inherit; |
| 65 | } |
| 66 | |
| 67 | .create-playlist-modal .modal input[type="text"]:focus, |
| 68 | .create-playlist-modal .modal input[type="number"]:focus, |
| 69 | .create-playlist-modal .modal textarea:focus { |
| 70 | outline: none; |
| 71 | border-color: #4a69bd; |
| 72 | box-shadow: 0 0 10px rgba(74, 105, 189, 0.5); |
| 73 | } |
| 74 | |
| 75 | .create-playlist-modal .modal textarea { |
| 76 | min-height: 90px; |
| 77 | line-height: 1.5; |
| 78 | font-family: inherit; |
| 79 | } |
| 80 | |
| 81 | .create-playlist-modal .modal-actions { |
| 82 | display: flex; |
| 83 | justify-content: flex-end; |
| 84 | gap: 16px; |
| 85 | margin-top: 32px; |
| 86 | } |
| 87 | |
| 88 | .create-playlist-modal .modal-actions button { |
| 89 | padding: 12px 26px; |
| 90 | font-size: 1.15rem; |
| 91 | font-weight: 700; |
| 92 | border: none; |
| 93 | border-radius: 10px; |
| 94 | cursor: pointer; |
| 95 | user-select: none; |
| 96 | transition: |
| 97 | background-color 0.35s ease, |
| 98 | box-shadow 0.35s ease, |
| 99 | transform 0.2s ease; |
| 100 | font-family: inherit; |
| 101 | box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
| 102 | } |
| 103 | |
| 104 | .create-playlist-modal .modal-actions button:first-child { |
| 105 | background: linear-gradient(135deg, #4a69bd 0%, #3f51b5 100%); |
| 106 | color: #fff; |
| 107 | box-shadow: 0 6px 12px rgba(63, 81, 181, 0.5); |
| 108 | } |
| 109 | |
| 110 | .create-playlist-modal .modal-actions button:first-child:hover { |
| 111 | background: linear-gradient(135deg, #3f51b5 0%, #2c3e9f 100%); |
| 112 | box-shadow: 0 8px 18px rgba(44, 62, 159, 0.75); |
| 113 | transform: translateY(-2px); |
| 114 | } |
| 115 | |
| 116 | .create-playlist-modal .modal-actions button:first-child:disabled { |
| 117 | background: #a0a5b8; |
| 118 | box-shadow: none; |
| 119 | cursor: not-allowed; |
| 120 | transform: none; |
| 121 | } |
| 122 | |
| 123 | .create-playlist-modal .modal-actions button:last-child { |
| 124 | background-color: #f3f4f6; |
| 125 | color: #555; |
| 126 | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); |
| 127 | transition: background-color 0.25s ease; |
| 128 | } |
| 129 | |
| 130 | .create-playlist-modal .modal-actions button:last-child:hover { |
| 131 | background-color: #d9dade; |
| 132 | box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); |
| 133 | } |
| 134 | .torrent-selector { |
| 135 | border: 1px solid #ccc; |
| 136 | padding: 8px; |
| 137 | max-height: 200px; |
| 138 | overflow-y: auto; |
| 139 | margin-top: 8px; |
| 140 | } |
| 141 | .torrent-list { |
| 142 | list-style: none; |
| 143 | padding: 0; |
| 144 | margin: 0; |
| 145 | } |
| 146 | .torrent-list li { |
| 147 | margin: 4px 0; |
| 148 | } |
| 149 | .selected-torrents { |
| 150 | margin-top: 6px; |
| 151 | font-size: 0.9em; |
| 152 | color: #555; |
| 153 | } |