#root { position: absolute; width: 100% !important; height: 100% !important; } .App { height: 100%; display: flex; flex-flow: column nowrap; justify-content: space-between; text-align: center; } .header { display: block; } .footer { display: block; } .click-to-copy { position: relative; display: inline-flex; justify-content: center; } .click-to-copy__text { border-bottom: 1px dashed black; } .click-to-copy__tooltip { background-color: black; color: white; text-align: center; padding: 2px 8px; border-radius: 8px; position: absolute; z-index: 1; top: -115%; white-space: nowrap; transition: opacity 0.25s; opacity: 0; } .click-to-copy__tooltip--visible { opacity: 0.75; } .click-to-copy__textarea { position: absolute; top: -1000px; } .btn { display: inline; } .inpt { display: inline; } .join-game-form { display: flex; flex-flow: column nowrap; justify-content: center; align-items: center; } .join-game-form__label { padding: 0.1em; } .join-game-form__input { margin: 0.1em; } .join-game-form__btn { margin: 0.1em; } .player-name-form { display: flex; flex-flow: column nowrap; justify-content: center; align-items: center; } .player-name-form__label { padding: 0.2em; } .player-name-form__input { padding: 0.1em; } .new-game { display: inline; } .new-game__btn { display: inline; } .pre-round { flex: 1; display: flex; flex-flow: column nowrap; justify-content: center; align-items: center; } .pre-round__name-label { padding: 0.2em; } .pre-round__game-code { padding: 0.2em; margin-bottom: 0.3em; } .pre-round__button { padding: 0.2em; margin: 0.2em; } .round-summary { flex: 1; display: flex; flex-flow: row nowrap; justify-content: space-around; align-items: center; } .round-summary__info-pane { display: flex; flex-flow: column nowrap; justify-content: center; align-items: flex-start; } .round-summary__map { display: inline; } .round-summary__guess { display: inline; } .round-summary__guess--timed-out { color: red; } .round-summary__target-point { display: inline; } .round-summary__round-score { display: inline; } .round-summary__total-score { display: inline; } .round-summary__button { display: inline; } .player-scores { display: flex; flex-flow: column nowrap; justify-content: space-around; align-items: center; } .player-scores__score-board { display: flex; flex-flow: row wrap; justify-content: space-around; align-items: center; align-content: space-around; } .player-scores__score-tile { flex: 1; display: flex; flex-flow: column nowrap; justify-content: flex-start; align-items: center; } .player-scores__player-name { display: inline; } .player-scores__total-score { display: inline; } .player-scores__round-score-list { display: flex; flex-flow: column nowrap; justify-content: center; align-items: flex-start; margin-bottom: 20%; } .player-scores__round-score { flex: 1; } .player-scores__button { display: inline; } .game-panel { height: 100%; display: flex; flex-flow: column nowrap; justify-content: space-between; align-items: center; } .game-panel__streetview { height: 100%; width: 100%; margin-bottom: 2px; flex: 3; } .guess-pane { height: 100%; width: 100%; flex: 1; display: flex; flex-flow: row nowrap; justify-content: space-around; } .guess-pane__timer { flex: 1; display: flex; justify-content: center; align-items: center; } .guess-pane__map { flex: 6; height: 100%; width: 100%; margin: 5px; } .guess-pane__submit { flex: 1; margin: 5px; } @media only screen and (min-width: 600px) { .game-panel { flex-flow: row nowrap; } .game-panel { margin-bottom: 0px; margin-right: 2px; } .guess-pane { flex-flow: column nowrap; } } .timer { display: inline; } .timer--timeout { color: red; } .map-div { height: 100%; } .streetview-pane { position: relative; height: 100%; } .streetview-pane__pano-div { height: 100%; } .streetview-pane__reset-button { /* TODO improve this to be less brittle */ display: block; position: absolute; z-index: 1; bottom: 200px; right: 9px; background-color: #2a2a2a; color: #9a9a9a; padding: 5px; border-radius: 2px; font-weight: bold; cursor: pointer; } .streetview-pane__reset-button:hover { color: #bababa; }