Room dialog (#905)

* support ToolIcon className and fix label padding

* factor some ExportDialog classes out to Modal

* initial RoomDialog prototype

* change label for another-session button

* remove unused css

* add color comments

* Move the collaboration button to the main menu, add support for mobile

* remove button for creating another session

* add locks

* Fix alignment issue

* Reorder button

* reuse current scene for collab session

* keep collaboration state on restore

Co-authored-by: Jed Fox <git@twopointzero.us>
This commit is contained in:
David Luzar
2020-03-11 19:42:18 +01:00
committed by GitHub
parent aa9a6b0909
commit b82b0754ac
15 changed files with 341 additions and 40 deletions
-25
View File
@@ -1,28 +1,3 @@
.ExportDialog__dialog {
/* transition: opacity 0.15s ease-in, transform 0.15s ease-in; */
opacity: 0;
transform: translateY(10px);
animation: ExportDialog__fade-in 0.1s ease-out 0.05s forwards;
position: relative;
}
@keyframes ExportDialog__fade-in {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.ExportDialog__close {
position: absolute;
right: calc(var(--space-factor) * 5);
top: calc(var(--space-factor) * 5);
}
.ExportDialog__preview {
--preview-padding: calc(var(--space-factor) * 4);