feat: add right-click context menu

This commit is contained in:
Antonella Sgarlatta
2021-04-29 17:07:14 -03:00
parent a1d56abd2e
commit b70cc0e7e4
15 changed files with 382 additions and 214 deletions

View File

@@ -41,14 +41,10 @@ $heading-height: 75px;
height: auto;
overflow: visible;
$title-width: 70%;
$save-status-width: 30%;
> .title {
.title {
font-size: var(--sn-stylekit-font-size-h1);
font-weight: bold;
padding-top: 0px;
width: $title-width;
padding-right: 20px; /* make room for save status */
> .input {
@@ -71,15 +67,10 @@ $heading-height: 75px;
}
#save-status {
width: $save-status-width;
float: right;
position: absolute;
right: 20px;
margin-right: 20px;
font-size: calc(var(--sn-stylekit-base-font-size) - 2px);
text-transform: none;
font-weight: normal;
margin-top: 4px;
text-align: right;
white-space: nowrap;

View File

@@ -86,6 +86,10 @@
width: 32px;
}
.max-w-80 {
max-width: 20rem;
}
.h-32px {
height: 32px;
}
@@ -120,6 +124,7 @@
@extend .absolute;
@extend .bg-default;
@extend .min-w-80;
@extend .transition-transform;
@extend .duration-150;
@extend .slide-down-animation;
@extend .rounded;