Files
ESH-Media/src/renderer/styles/BookmarkCard.css
eshmeshek ecb5e7e49f init: media-center v2
Rewrite of ESH-Media v1 with separated main/renderer/shared architecture
(vite-plugin-electron, React 18, react-router-dom). Includes NeDB storage,
electron-store config, proxy manager with FoxyProxy/uBlock extensions,
custom server-checked updater, NSIS installer.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 23:49:43 +03:00

82 lines
1.4 KiB
CSS

.bookmark-card {
position: relative;
background-color: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
cursor: pointer;
transition: all 0.2s;
}
.bookmark-card:hover {
transform: translateY(-4px);
box-shadow: 0 4px 12px var(--shadow);
}
.bookmark-image {
width: 100%;
height: 300px;
object-fit: cover;
background-color: var(--bg-tertiary);
}
.bookmark-info {
padding: 1rem;
}
.bookmark-title {
font-size: 1.1rem;
font-weight: 500;
margin: 0 0 0.5rem 0;
line-height: 1.3;
}
.bookmark-site {
color: var(--accent);
font-size: 0.85rem;
margin: 0 0 0.25rem 0;
}
.bookmark-year {
color: var(--text-secondary);
font-size: 0.85rem;
margin: 0 0 0.5rem 0;
}
.bookmark-description {
color: var(--text-secondary);
font-size: 0.85rem;
line-height: 1.4;
margin: 0;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.delete-button {
position: absolute;
top: 0.5rem;
right: 0.5rem;
background-color: rgba(244, 67, 54, 0.9);
color: white;
width: 32px;
height: 32px;
padding: 0;
border-radius: 50%;
font-size: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.2s;
}
.bookmark-card:hover .delete-button {
opacity: 1;
}
.delete-button:hover {
background-color: rgba(244, 67, 54, 1);
}