$hierarchy-width: 290px; .app-root { position: fixed; inset: 0; } // Layout utilities .v-start { position: absolute; top: 16px; } .v-end { position: absolute; bottom: 16px; } .v-after-toolbar { position: absolute; top: 60px; } .h-start { left: 16px } .h-end { right: 16px } .h-before-hierarchy { right: $hierarchy-width + 32px; } .h-center { left: 50%; transform: translateX(-50%); } sts-button.active { background: #7A2C34E3; color: #FFF; } // Hierarchy (TODO: Probably move this) .hierarchy { overflow: auto; box-sizing: border-box; width: $hierarchy-width; max-height: calc(100vh - 32px); padding: 10px 15px; background: #0006; backdrop-filter: blur(16px); border: 8px solid transparent; border-radius: 0.5rem; pointer-events: auto; &::-webkit-scrollbar { width: 8px; height: 8px; &-thumb { border-radius: 2px; background: #FFF2; &:hover { background: #FFF3; } } } } .loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #222; color: #FFF; font: { family: "Fira Sans", sans-serif; weight: 700; } }