129 lines
1.7 KiB
CSS
129 lines
1.7 KiB
CSS
body {
|
|
width: 360px;
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 13px;
|
|
color: #333;
|
|
}
|
|
|
|
.popup {
|
|
padding: 12px;
|
|
}
|
|
|
|
h2 {
|
|
margin: 0 0 10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
button {
|
|
flex: 1;
|
|
padding: 6px 0;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#collectBtn {
|
|
background: #4caf50;
|
|
color: #fff;
|
|
}
|
|
#collectBtn:hover {
|
|
background: #43a047;
|
|
}
|
|
|
|
#clearBtn {
|
|
background: #eee;
|
|
color: #555;
|
|
}
|
|
#clearBtn:hover {
|
|
background: #ddd;
|
|
}
|
|
|
|
.status {
|
|
text-align: center;
|
|
padding: 4px 0;
|
|
margin-bottom: 8px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
}
|
|
.status.success {
|
|
background: #e8f5e9;
|
|
color: #2e7d32;
|
|
}
|
|
.status.error {
|
|
background: #ffebee;
|
|
color: #c62828;
|
|
}
|
|
.status.info {
|
|
background: #e3f2fd;
|
|
color: #1565c0;
|
|
}
|
|
|
|
#pinList {
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.empty {
|
|
text-align: center;
|
|
color: #999;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.pin-item {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
padding: 8px;
|
|
border: 1px solid #eee;
|
|
border-radius: 6px;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.pin-item img {
|
|
width: 60px;
|
|
height: 60px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.pin-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
}
|
|
|
|
.pin-author {
|
|
font-size: 12px;
|
|
color: #555;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.pin-tags {
|
|
font-size: 11px;
|
|
color: #888;
|
|
}
|
|
|
|
.pin-link {
|
|
font-size: 11px;
|
|
color: #1976d2;
|
|
text-decoration: none;
|
|
}
|
|
.pin-link:hover {
|
|
text-decoration: underline;
|
|
}
|