|
| 1 | +/* ImgKit Scroll Container Styles */ |
| 2 | +#scroll-container { |
| 3 | + position: relative; |
| 4 | + width: 100%; |
| 5 | + overflow-x: auto; |
| 6 | + overflow-y: hidden; |
| 7 | + white-space: nowrap; |
| 8 | + display: flex; |
| 9 | + align-items: center; |
| 10 | + gap: 32px; |
| 11 | + padding: 128px 80px 48px 80px; |
| 12 | + scroll-behavior: smooth; |
| 13 | +} |
| 14 | + |
| 15 | +#scroll-container::-webkit-scrollbar { |
| 16 | + height: 8px; |
| 17 | +} |
| 18 | + |
| 19 | +#scroll-container::-webkit-scrollbar-track { |
| 20 | + background: #e0e0e0; |
| 21 | +} |
| 22 | + |
| 23 | +#scroll-container::-webkit-scrollbar-thumb { |
| 24 | + background: #888; |
| 25 | + border-radius: 4px; |
| 26 | +} |
| 27 | + |
| 28 | +.scroll-btn { |
| 29 | + position: fixed; |
| 30 | + top: 50%; |
| 31 | + transform: translateY(-50%); |
| 32 | + z-index: 1000; |
| 33 | + font-size: 2em; |
| 34 | + background: #fff; |
| 35 | + border: 1px solid #ccc; |
| 36 | + border-radius: 50%; |
| 37 | + width: 48px; |
| 38 | + height: 48px; |
| 39 | + opacity: 0.8; |
| 40 | + cursor: pointer; |
| 41 | + transition: all 0.3s; |
| 42 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| 43 | +} |
| 44 | + |
| 45 | +.scroll-btn:hover { |
| 46 | + opacity: 1; |
| 47 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); |
| 48 | +} |
| 49 | + |
| 50 | +.scroll-btn:disabled { |
| 51 | + opacity: 0.3; |
| 52 | + cursor: not-allowed; |
| 53 | +} |
| 54 | + |
| 55 | +#scroll-left-btn { |
| 56 | + left: 16px; |
| 57 | +} |
| 58 | + |
| 59 | +#scroll-right-btn { |
| 60 | + right: 16px; |
| 61 | +} |
| 62 | + |
| 63 | +/* ImgKit Image Panel Styles */ |
| 64 | +.imgPanel { |
| 65 | + display: inline-flex; |
| 66 | + flex-direction: column; |
| 67 | + align-items: center; |
| 68 | + padding: 18px; |
| 69 | + padding-right: 60px; |
| 70 | + padding-top: 32px; |
| 71 | + padding-bottom: 48px; |
| 72 | + background: #fff; |
| 73 | + border-radius: 8px; |
| 74 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
| 75 | + transition: all 0.2s; |
| 76 | + position: relative; |
| 77 | + min-width: 200px; |
| 78 | + flex-shrink: 0; |
| 79 | + outline: none; |
| 80 | +} |
| 81 | + |
| 82 | +.imgPanel:hover { |
| 83 | + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); |
| 84 | +} |
| 85 | + |
| 86 | +.imgPanel:focus { |
| 87 | + border: 2px solid #555 !important; |
| 88 | + box-shadow: 0 4px 16px rgba(68, 68, 68, 0.4) !important; |
| 89 | + outline: none; |
| 90 | +} |
| 91 | + |
| 92 | +.img-canvas { |
| 93 | + max-width: 600px; |
| 94 | + max-height: 600px; |
| 95 | + border: 1px solid #ddd; |
| 96 | + border-radius: 4px; |
| 97 | + cursor: pointer; |
| 98 | + position: relative; |
| 99 | +} |
| 100 | + |
| 101 | +.delete-btn { |
| 102 | + position: absolute; |
| 103 | + top: 12px; |
| 104 | + right: 12px; |
| 105 | + width: 24px; |
| 106 | + height: 24px; |
| 107 | + background: rgba(255, 255, 255, 0.95); |
| 108 | + border: 1px solid #ccc; |
| 109 | + border-radius: 50%; |
| 110 | + cursor: pointer; |
| 111 | + padding: 4px; |
| 112 | + transition: all 0.2s; |
| 113 | + display: flex; |
| 114 | + align-items: center; |
| 115 | + justify-content: center; |
| 116 | +} |
| 117 | + |
| 118 | +.delete-btn:hover { |
| 119 | + background: #f44336; |
| 120 | + border-color: #f44336; |
| 121 | +} |
| 122 | + |
| 123 | +.delete-btn img { |
| 124 | + width: 12px; |
| 125 | + height: 12px; |
| 126 | + object-fit: contain; |
| 127 | +} |
| 128 | + |
| 129 | +.name-span { |
| 130 | + font-size: 14px; |
| 131 | + font-weight: 600; |
| 132 | + color: #333; |
| 133 | + position: absolute; |
| 134 | + left: 20px; |
| 135 | + top: 12px; |
| 136 | +} |
| 137 | + |
| 138 | +.color-box-container { |
| 139 | + display: flex; |
| 140 | + flex-direction: column; |
| 141 | + gap: 6px; |
| 142 | + position: absolute; |
| 143 | + right: 12px; |
| 144 | + top: 48px; |
| 145 | + z-index: 10; |
| 146 | +} |
| 147 | + |
| 148 | +.color-box { |
| 149 | + width: 24px; |
| 150 | + height: 24px; |
| 151 | + border: 2px solid #ddd; |
| 152 | + border-radius: 4px; |
| 153 | + cursor: pointer; |
| 154 | + transition: all 0.2s; |
| 155 | +} |
| 156 | + |
| 157 | +.color-box:hover { |
| 158 | + transform: scale(1.2); |
| 159 | + border-color: #999; |
| 160 | + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); |
| 161 | +} |
| 162 | + |
| 163 | +.info-text { |
| 164 | + font-size: 13px; |
| 165 | + color: #666; |
| 166 | + position: absolute; |
| 167 | + right: 12px; |
| 168 | + bottom: 12px; |
| 169 | +} |
| 170 | + |
| 171 | +.extension-combo { |
| 172 | + padding: 6px 12px; |
| 173 | + border: 1px solid #ccc; |
| 174 | + border-radius: 4px; |
| 175 | + font-size: 13px; |
| 176 | + cursor: pointer; |
| 177 | + position: absolute; |
| 178 | + left: 20px; |
| 179 | + bottom: 12px; |
| 180 | +} |
| 181 | + |
| 182 | +/* ImgKit Notification Styles */ |
| 183 | +.imgkit-notification { |
| 184 | + position: fixed; |
| 185 | + bottom: 24px; |
| 186 | + left: 50%; |
| 187 | + transform: translateX(-50%); |
| 188 | + min-width: 300px; |
| 189 | + padding: 16px 24px; |
| 190 | + opacity: 0; |
| 191 | + border-radius: 8px; |
| 192 | + text-align: center; |
| 193 | + z-index: 10000; |
| 194 | + pointer-events: none; |
| 195 | + font-size: 14px; |
| 196 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| 197 | +} |
| 198 | + |
| 199 | +.imgkit-notification.success { |
| 200 | + background-color: #4caf50; |
| 201 | + color: #fff; |
| 202 | +} |
| 203 | + |
| 204 | +.imgkit-notification.error { |
| 205 | + background-color: #f44336; |
| 206 | + color: #fff; |
| 207 | +} |
| 208 | + |
| 209 | +/* ImgKit Context Menu Styles */ |
| 210 | +.context-menu { |
| 211 | + position: fixed; |
| 212 | + background: #fff; |
| 213 | + border: 1px solid #ddd; |
| 214 | + border-radius: 6px; |
| 215 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
| 216 | + z-index: 10000; |
| 217 | + min-width: 140px; |
| 218 | + padding: 6px 0; |
| 219 | +} |
| 220 | + |
| 221 | +.context-menu-item { |
| 222 | + padding: 10px 16px; |
| 223 | + cursor: pointer; |
| 224 | + transition: background 0.2s; |
| 225 | +} |
| 226 | + |
| 227 | +.context-menu-item:hover { |
| 228 | + background: #f5f5f5; |
| 229 | +} |
0 commit comments