Files
magnf-ext-poc/popup.css
T
kiskaadee 6bb6b3a1ea feat(popup): add toolbar action popup for link inspection and manual input
- Detect stored captured magnet link and show status indicator
- Provide Continue button to launch pairing page with captured link
- Add manual entry field and demo link filler for quick testing
2026-09-25 16:45:28 -05:00

155 lines
2.3 KiB
CSS

* {
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;
}