LabLinks Chrome-Erweiterung im Retro-Look
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
0955e3e86a
commit
fc9e0e6ecf
@@ -0,0 +1,107 @@
|
||||
:root {
|
||||
--bg: #0b0f0c;
|
||||
--panel: #101812;
|
||||
--fg: #ffb000;
|
||||
--fg-dim: #8a6200;
|
||||
--green: #39ff14;
|
||||
--line: #3a2a00;
|
||||
--font: "Courier New", "Lucida Console", ui-monospace, monospace;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; margin: 0; }
|
||||
|
||||
body {
|
||||
width: 340px;
|
||||
min-height: 120px;
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
font: 14px/1.4 var(--font);
|
||||
}
|
||||
|
||||
.crt {
|
||||
position: relative;
|
||||
padding: 12px;
|
||||
border: 3px double var(--fg);
|
||||
margin: 4px;
|
||||
background: var(--panel);
|
||||
text-shadow: 0 0 4px rgba(255, 176, 0, .55);
|
||||
}
|
||||
/* Scanlines */
|
||||
.crt::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
pointer-events: none;
|
||||
background: repeating-linear-gradient(to bottom, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 2px dashed var(--line);
|
||||
}
|
||||
h1 { font-size: 20px; letter-spacing: 3px; color: var(--green); text-shadow: 0 0 6px rgba(57,255,20,.6); }
|
||||
h1 span { color: var(--fg); }
|
||||
.cursor {
|
||||
display: inline-block; width: 9px; height: 16px; margin-left: 4px;
|
||||
background: var(--green); vertical-align: -2px;
|
||||
animation: blink 1s steps(2, start) infinite;
|
||||
}
|
||||
@keyframes blink { to { visibility: hidden; } }
|
||||
|
||||
button {
|
||||
font: inherit; font-size: 12px; color: var(--fg); background: none;
|
||||
border: 0; cursor: pointer; padding: 2px 4px; text-shadow: inherit;
|
||||
}
|
||||
button:hover, button:focus-visible { background: var(--fg); color: var(--bg); outline: none; text-shadow: none; }
|
||||
button.primary { color: var(--green); }
|
||||
button.primary:hover { background: var(--green); color: var(--bg); }
|
||||
|
||||
input[type="text"], input:not([type]), #form input {
|
||||
width: 100%; font: inherit; color: var(--green); background: var(--bg);
|
||||
border: 2px solid var(--line); padding: 6px 8px; outline: none; margin-bottom: 8px;
|
||||
}
|
||||
input:focus { border-color: var(--fg); }
|
||||
input::placeholder { color: var(--fg-dim); }
|
||||
#search { margin-bottom: 10px; }
|
||||
|
||||
ul { list-style: none; padding: 0; max-height: 320px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--fg) var(--bg); }
|
||||
|
||||
li {
|
||||
display: flex; align-items: center; gap: 4px; margin-bottom: 6px;
|
||||
}
|
||||
li a {
|
||||
flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
|
||||
padding: 7px 9px; color: var(--fg); text-decoration: none;
|
||||
border: 2px solid var(--line); background: var(--bg);
|
||||
box-shadow: 3px 3px 0 var(--line);
|
||||
transition: transform .06s, box-shadow .06s;
|
||||
}
|
||||
li a:hover, li a:focus-visible {
|
||||
border-color: var(--fg); color: var(--green); outline: none;
|
||||
transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--fg-dim);
|
||||
}
|
||||
li a:hover .name::before, li a:focus-visible .name::before { content: "> "; }
|
||||
.ico { font-size: 18px; width: 22px; text-align: center; flex: none; }
|
||||
.txt { min-width: 0; display: flex; flex-direction: column; }
|
||||
.name { font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.url { font-size: 11px; color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
|
||||
.edit-btns { display: none; flex-direction: column; }
|
||||
body.editing .edit-btns { display: flex; }
|
||||
.edit-btns button { padding: 0 4px; font-size: 11px; }
|
||||
.edit-btns .del { color: #ff4b3e; }
|
||||
|
||||
#empty { color: var(--fg-dim); margin: 6px 0 10px; }
|
||||
|
||||
#form { border-top: 2px dashed var(--line); padding-top: 10px; margin-top: 4px; }
|
||||
.row { display: flex; gap: 6px; }
|
||||
.row input:first-child:not(:only-child) { width: 52px; text-align: center; flex: none; }
|
||||
.row button { margin-bottom: 6px; }
|
||||
|
||||
footer { display: flex; gap: 4px; align-items: center; margin-top: 4px; min-height: 22px; }
|
||||
#count { margin-left: auto; font-size: 11px; color: var(--fg-dim); }
|
||||
[hidden] { display: none !important; }
|
||||
Reference in New Issue
Block a user