Update context-menu.css
This commit is contained in:
1 parent
1225a10544
commit
ca48a1f383
1 file changed
+48
-48
@@ -1,51 +1,51 @@
|
||||
|
||||
#menu {
|
||||
display: table;
|
||||
background-color: rgba(255, 255, 255);
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 2px 2px 30px lightgrey;
|
||||
position: absolute;
|
||||
transform-origin: center;
|
||||
z-index: 2;
|
||||
opacity: 0;
|
||||
transform: scale(0);
|
||||
transition: transform 0.2s, opacity 0.2s;
|
||||
border-collapse: separate;
|
||||
border-spacing: 5px;
|
||||
}
|
||||
|
||||
#menu.show {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
transform-origin: top left;
|
||||
}
|
||||
|
||||
.menu-item {
|
||||
display: table-cell;
|
||||
padding: 10px;
|
||||
margin: 5px;
|
||||
transition: 0.1s;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.menu-item:hover {
|
||||
border: 1px solid #e3493c;
|
||||
background-color: #fff6f6;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#out-click {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#menu {
|
||||
display: table;
|
||||
background-color: rgba(255, 255, 255);
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 2px 2px 30px lightgrey;
|
||||
position: absolute;
|
||||
transform-origin: center;
|
||||
z-index: 2;
|
||||
opacity: 0;
|
||||
transform: scale(0);
|
||||
transition: transform 0.2s, opacity 0.2s;
|
||||
border-collapse: separate;
|
||||
border-spacing: 5px;
|
||||
}
|
||||
|
||||
#menu.show {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
transform-origin: top left;
|
||||
}
|
||||
|
||||
.menu-item {
|
||||
display: table-cell;
|
||||
padding: 10px;
|
||||
margin: 5px;
|
||||
transition: 0.1s;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.menu-item:hover {
|
||||
border: 1px solid #e3493c;
|
||||
background-color: #fff6f6;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#out-click {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-row{
|
||||
display: table-row;
|
||||
|
||||
Reference in new issue
Block a user