Graphic docs right-click menu

This commit is contained in:
Julian Molina committed 2020-12-29 12:23:19 +01:00
1 parent 6a0c867f7a
commit 66a9f33f71
27 files changed
+117 -35

No files matched your search

+23 -8
View File
@@ -1,8 +1,8 @@
#menu {
display: block;
background-color: white;
padding: 10px 0px;
display: table;
background-color: rgba(255, 255, 255);
padding: 5px;
border-radius: 5px;
box-shadow: 2px 2px 30px lightgrey;
position: absolute;
@@ -11,6 +11,8 @@
opacity: 0;
transform: scale(0);
transition: transform 0.2s, opacity 0.2s;
border-collapse: separate;
border-spacing: 5px;
}
#menu.show {
@@ -20,14 +22,18 @@
}
.menu-item {
display: block;
padding: 10px 30px;
display: table-cell;
padding: 10px;
margin: 5px;
transition: 0.1s;
color: #666;
border: 1px solid #ddd;
border-radius: 5px;
background-color: white;
}
.menu-item:hover {
background-color: #eee;
border: 1px solid #e3493c;
background-color: #fff6f6;
cursor: pointer;
}
@@ -39,4 +45,13 @@
left: 0;
z-index: 1;
display: none;
}
}
.menu-row{
display: table-row;
}
.menu-img {
width: 40px;
height: 40px;
}