diff --git a/popup.css b/popup.css new file mode 100644 index 0000000..ca9e748 --- /dev/null +++ b/popup.css @@ -0,0 +1,154 @@ +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; + background-color: #121214; + color: #ededed; + width: 360px; + padding: 16px; +} + +.popup-container { + display: flex; + flex-direction: column; + gap: 14px; +} + +.header { + display: flex; + align-items: center; + justify-content: space-between; + border-bottom: 1px solid #27272a; + padding-bottom: 10px; +} + +.brand { + display: flex; + align-items: center; + gap: 8px; +} + +.icon { + font-size: 20px; +} + +.title { + font-weight: 700; + font-size: 16px; + color: #e50914; + letter-spacing: 0.5px; +} + +.tag { + font-size: 10px; + text-transform: uppercase; + background: #27272a; + color: #a1a1aa; + padding: 2px 6px; + border-radius: 4px; +} + +.subtitle { + font-size: 12px; + color: #a1a1aa; + line-height: 1.4; + margin-bottom: 10px; +} + +.status-indicator { + display: flex; + align-items: center; + gap: 8px; + margin-bottom: 8px; +} + +.dot { + width: 8px; + height: 8px; + background-color: #22c55e; + border-radius: 50%; + box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); +} + +.status-text { + font-size: 14px; + font-weight: 600; + color: #ffffff; +} + +.magnet-preview { + background: #1c1c1f; + border: 1px solid #2e2e33; + border-radius: 8px; + padding: 10px; + font-family: monospace; + font-size: 11px; + color: #a1a1aa; + word-break: break-all; + max-height: 70px; + overflow-y: auto; + margin-bottom: 12px; +} + +.input-group input { + width: 100%; + padding: 9px 12px; + background-color: #1c1c1f; + border: 1px solid #3f3f46; + border-radius: 6px; + color: #ffffff; + font-size: 12px; + outline: none; + transition: border-color 0.15s; +} + +.input-group input:focus { + border-color: #e50914; +} + +.actions { + display: flex; + gap: 8px; + margin-top: 10px; +} + +.btn { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 6px; + padding: 8px 14px; + border-radius: 6px; + font-size: 13px; + font-weight: 600; + cursor: pointer; + border: none; + transition: background 0.15s, opacity 0.15s; +} + +.btn-primary { + background: #e50914; + color: #ffffff; + flex: 1; +} + +.btn-primary:hover { + background: #f6121d; +} + +.btn-secondary { + background: #27272a; + color: #d4d4d8; +} + +.btn-secondary:hover { + background: #3f3f46; +} + +.hidden { + display: none !important; +} diff --git a/popup.html b/popup.html new file mode 100644 index 0000000..effb86b --- /dev/null +++ b/popup.html @@ -0,0 +1,48 @@ + + +
+ +Click any magnet link on the web, or paste one below to pair with IMDb:
+