52 lines
No EOL
1,007 B
CSS
52 lines
No EOL
1,007 B
CSS
/* Context Menu Styles */
|
|
.context-menu {
|
|
position: absolute;
|
|
display: none;
|
|
background-color: var(--card-bg);
|
|
border-radius: 6px;
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
|
padding: 8px 0;
|
|
min-width: 180px;
|
|
z-index: 1000;
|
|
animation: context-menu-appear 0.2s ease;
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
@keyframes context-menu-appear {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.context-menu-item {
|
|
padding: 10px 16px;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.context-menu-item:hover {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.context-menu-item i {
|
|
margin-right: 10px;
|
|
width: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.context-menu-divider {
|
|
height: 1px;
|
|
background-color: var(--border-color);
|
|
margin: 5px 0;
|
|
} |