@import 'vars'; @import 'reset'; @import 'scrollbars'; @import 'layout'; @import 'editor'; @import 'sidepanel'; @import 'widgets'; input:focus::selection{ background:$color-accent; color:$color-text; } input { cursor: text; } html, body { height:100%; overflow:hidden; position:relative; } html{ font-size: 1px; } body { font-size:13rem; line-height:16rem; font-family:Droid Sans; color:$color-text; white-space:nowrap; opacity:1; cursor: default; } i { font-size: 14rem!important; } .btn { background: $color-raised; display: block; padding:15rem; position: relative; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; cursor: pointer; &.small { padding:8rem; padding-right: 15rem; } &.warning { background:firebrick; } &.disabled { pointer-events: none; color:$color-text-fade; } &.align-center { text-align: center } } #lobby { background: $color-bg; position: absolute; top:0; left:0; right: 0; bottom:0; z-index: 2; border:1rem solid $color-border; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding:20rem; .main { width:600rem; max-height:100%; } .header { background: $color-raised; padding:20rem; font-weight:bold; box-shadow: 0 0 0 1rem $color-border inset; white-space: nowrap; text-overflow: ellipsis; } a { padding-right:35rem; overflow: hidden; margin-top:10rem; position: relative; white-space: nowrap; text-overflow: ellipsis; span { position: absolute; right:0rem; top:0rem; padding:15rem; color:$color-text-fade; } } } #loading { position: absolute; top:50%; left:50%; margin-top:-15rem; text-align: center; .spinner { display: block; margin: 0 auto; height:30rem; width:30rem; border-radius: 50%; border:2rem solid $color-border; border-top-color:$color-accent; animation: spin .5s linear infinite; } #status { margin-top: 10rem; display: inline-block; } } @keyframes spin { 0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);} } .popup { position: fixed; top:0; left:0; right:0; bottom:0; padding:10%; display: flex; align-items: center; background:rgba($color-bg,.5); z-index:1000000; .popup-title { position: relative; padding:15rem; background:$color-raised; .closer { position:absolute; right:0rem; top:0; padding:15rem; color:$color-text-fade; cursor: pointer; } } .popup-wrapper { display: flex; flex-direction: column; align-items: stretch; background:$color-fg; width:auto; max-width:600rem; margin:0 auto; position: relative; overflow: hidden; border:1rem solid $color-border; .popup-content { height:100%; width:100%; padding:10rem; overflow-y:auto; white-space: normal; } } }