240 lines
4.1 KiB
CSS
240 lines
4.1 KiB
CSS
:root {
|
|
--bg: #0d1117;
|
|
--panel: #161b22;
|
|
--item-bg: rgba(255, 255, 255, 0.03);
|
|
--item-hover: rgba(255, 255, 255, 0.06);
|
|
--border: #30363d;
|
|
--border-focus: #484f58;
|
|
--text-main: #e6edf3;
|
|
--text-muted: #848d97;
|
|
--accent: #2f81f7;
|
|
--accent-soft: rgba(47, 129, 247, 0.1);
|
|
--success: #3fb950;
|
|
--warning: #d29922;
|
|
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 20px;
|
|
background-color: var(--bg);
|
|
color: var(--text-main);
|
|
font-family: var(--font-family);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar { width: 8px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
|
|
::-webkit-scrollbar-thumb:hover { background: var(--border-focus); }
|
|
|
|
header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
h1::before {
|
|
content: "";
|
|
display: block;
|
|
width: 12px;
|
|
height: 12px;
|
|
background: var(--accent);
|
|
border-radius: 3px;
|
|
box-shadow: 0 0 10px var(--accent);
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
button {
|
|
all: unset;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px 12px;
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--text-main);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background: var(--item-hover);
|
|
border-color: var(--border-focus);
|
|
}
|
|
|
|
#refresh-btn {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: #ffffff;
|
|
}
|
|
|
|
#refresh-btn:hover {
|
|
background: #4493f8;
|
|
border-color: #4493f8;
|
|
}
|
|
|
|
.card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 16px;
|
|
margin-bottom: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-muted);
|
|
margin: 0 0 12px 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.session-title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.session-title h4 {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.tag {
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
border: 1px solid transparent;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px; /* Divider effect */
|
|
background: var(--border);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.item {
|
|
background: var(--panel);
|
|
padding: 10px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
transition: background 0.1s ease;
|
|
}
|
|
|
|
.item:hover {
|
|
background: var(--item-hover);
|
|
}
|
|
|
|
.item-title {
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.item-url {
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.row-actions {
|
|
display: flex;
|
|
gap: 4px;
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.row-actions button {
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
background: transparent;
|
|
}
|
|
|
|
.empty {
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
padding: 40px 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
code {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
background: rgba(110, 118, 129, 0.4);
|
|
padding: 2px 5px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
#summary code {
|
|
color: var(--warning);
|
|
}
|
|
|
|
/* Summary Grid */
|
|
#summary .tags {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
#summary .tag {
|
|
text-align: center;
|
|
padding: 6px;
|
|
}
|