allow rearranging panes within a tab

This commit is contained in:
Eugene Pankov
2021-07-31 17:57:43 +02:00
parent 1fc57018e3
commit c5681b1376
10 changed files with 139 additions and 4 deletions

View File

@@ -0,0 +1,34 @@
:host {
position: absolute;
background: rgba(255, 255, 255, .25);
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
z-index: 10;
opacity: 0;
transition: .125s opacity cubic-bezier(0.86, 0, 0.07, 1);
}
div {
background: rgba(0, 0, 0, .7);
padding: 20px 30px;
font-size: 18px;
color: #fff;
display: flex;
align-items: center;
border-radius: 5px;
cursor: move;
}
:host.active {
opacity: 1;
> div {
pointer-events: initial;
}
}
label {
margin: 0;
}