Files

193 lines
3.2 KiB
CSS

/* Container Bookmarks - Popup Styles */
/* Firefox Photon Design System inspired */
:root {
--background-color: #1c1b22;
--surface-color: #2b2a33;
--text-color: #fbfbfe;
--text-secondary: #b1b1b3;
--border-color: #3a3944;
--primary-color: #00ddff;
--danger-color: #ff6b6b;
--hover-color: #3a3944;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 13px;
background-color: var(--background-color);
color: var(--text-color);
width: 320px;
min-height: 200px;
}
.popup-container {
display: flex;
flex-direction: column;
min-height: 200px;
}
/* Header */
.header {
padding: 16px;
border-bottom: 1px solid var(--border-color);
background: linear-gradient(135deg, #2b2a33 0%, #1c1b22 100%);
}
.header h1 {
font-size: 16px;
font-weight: 600;
color: var(--primary-color);
}
/* Content */
.content {
flex: 1;
padding: 12px;
}
.section {
margin-bottom: 16px;
}
.section h2 {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-secondary);
margin-bottom: 8px;
}
/* Mappings List */
.mappings-list {
max-height: 200px;
overflow-y: auto;
}
.mapping-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
background-color: var(--surface-color);
border-radius: 6px;
margin-bottom: 6px;
transition: background-color 0.15s ease;
}
.mapping-item:hover {
background-color: var(--hover-color);
}
.container-indicator {
width: 4px;
height: 28px;
border-radius: 2px;
flex-shrink: 0;
}
.mapping-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.bookmark-title {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.container-name {
font-size: 11px;
color: var(--text-secondary);
}
.remove-btn {
width: 20px;
height: 20px;
border: none;
background: transparent;
color: var(--text-secondary);
font-size: 16px;
cursor: pointer;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease;
flex-shrink: 0;
}
.remove-btn:hover {
background-color: var(--danger-color);
color: white;
}
/* Empty/Loading States */
.empty, .loading {
text-align: center;
color: var(--text-secondary);
padding: 20px;
line-height: 1.5;
}
/* Tips */
.tips {
list-style: none;
padding: 0;
}
.tips li {
position: relative;
padding-left: 16px;
margin-bottom: 6px;
font-size: 12px;
color: var(--text-secondary);
line-height: 1.4;
}
.tips li::before {
content: '•';
position: absolute;
left: 0;
color: var(--primary-color);
}
/* Footer */
.footer {
padding: 10px 16px;
border-top: 1px solid var(--border-color);
font-size: 11px;
color: var(--text-secondary);
text-align: center;
}
/* Scrollbar */
.mappings-list::-webkit-scrollbar {
width: 6px;
}
.mappings-list::-webkit-scrollbar-track {
background: transparent;
}
.mappings-list::-webkit-scrollbar-thumb {
background-color: var(--border-color);
border-radius: 3px;
}
.mappings-list::-webkit-scrollbar-thumb:hover {
background-color: var(--text-secondary);
}