initial files
This commit is contained in:
79
public/styles/contextMenu.css
Normal file
79
public/styles/contextMenu.css
Normal file
@@ -0,0 +1,79 @@
|
||||
.ctx-menu {
|
||||
position: fixed;
|
||||
min-width: 180px;
|
||||
background: var(--theme-contextmenu-backcolor);
|
||||
border: 1px solid var(--theme-contextmenu-border-color);
|
||||
color: var(--theme-contextmenu-color);
|
||||
border-radius: 6px;
|
||||
padding: 4px 0;
|
||||
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.ctx-menu.hidden {
|
||||
opacity: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ctx-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ctx-item {
|
||||
padding: 5px 7px 5px 20px;
|
||||
margin-left: 1px;
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ctx-item:hover {
|
||||
background: var(--theme-contextmenu-hover-backcolor);
|
||||
color: var(--theme-contextmenu-hover-color);
|
||||
}
|
||||
|
||||
|
||||
.ctx-item .icon {
|
||||
display: inline-flex;
|
||||
position: relative;
|
||||
justify-content: flex-start;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
|
||||
.ctx-disabled {
|
||||
opacity: 0.5;
|
||||
/* cursor: default; */
|
||||
}
|
||||
|
||||
.ctx-divider {
|
||||
border-top: 1px solid var(--theme-contextmenu-divider);
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.ctx-submenu {
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
min-width: 160px;
|
||||
background: var(--theme-contextmenu-backcolor);
|
||||
border: 1px solid var(--theme-contextmenu-border-color);
|
||||
color: var(--theme-contextmenu-color);
|
||||
padding: 4px 0;
|
||||
border-radius: 6px;
|
||||
display: none;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.ctx-submenu.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ctx-arrow {
|
||||
font-size: 11px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
Reference in New Issue
Block a user