.teleportflow { flex-direction: column; display: flex; height: 100%; } .teleportflow aside { color: white; font-weight: 700; border-right: 1px solid #eee; padding: 15px 10px; font-size: 12px; background: rgba(16, 185, 129, 0.75); -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3); box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3); } .teleportflow aside .port > * { position: relative; margin-bottom: 10px; cursor: grab; font-weight: 500; -webkit-box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.25); box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.25); } .teleportflow aside .description { margin-bottom: 10px; } .teleportflow .vue-flow-wrapper { flex-grow: 1; height: 100%; } @media screen and (min-width: 640px) { .teleportflow { flex-direction: row; } .teleportflow aside { min-width: 25%; } } @media screen and (max-width: 639px) { .teleportflow aside .port { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; } } .teleportable { padding: 10px; background: white; border: 1px solid black; border-radius: 10px; color: black } .teleportable .buttons { display: flex; flex-direction: row; justify-content: center; align-items: center; margin-top: 5px; gap: 5px; } .teleportable .buttons .button { cursor: pointer; padding: 5px 10px; border: 1px solid black; border-radius: 10px; color: black; font-weight: 700; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); } .teleportable .buttons .button:hover { background: black; color: white; } .fade-enter-active, .fade-leave-active { transition: opacity 0.5s ease; } .fade-enter-from, .fade-leave-to { opacity: 0; }