#root { position: absolute; width: 100% !important; height: 100% !important; } .App { height: 100%; display: flex; flex-flow: column nowrap; justify-content: space-between; } .header { display: block; text-align: center; } .footer { display: block; text-align: center; } .loading { text-align: center; } .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 { border-radius: 0px; border: none; padding: 8px; background: #333; color: #fff; cursor: pointer; } .btn:disabled { color: #777; cursor: default; } .inpt { border-radius: 0px; border: black solid 1px; } .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 { padding: 0.5em; } .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.5em; } .new-game__btn { display: inline; } .pre-game { display: flex; flex-flow: column nowrap; justify-content: space-around; align-items: center; } .pre-game__divider { margin-left: 0; margin-right: 0; align-self: stretch; } @media only screen and (min-width: 600px) { .pre-game { flex-flow: row nowrap; justify-content: space-around; /* align-items: stretch; */ } .pre-game__divider { margin-left: 0; margin-right: 0; align-self: stretch; } } .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%; width: 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; } .game-panel__spacer { width: 100%; margin-top: -2px; height: 2px; background-color: black; } .guess-pane { height: 100%; width: 100%; flex: 1; display: flex; flex-flow: row nowrap; justify-content: space-around; } .guess-pane__map { flex: 3; height: 100%; width: 100%; } .guess-pane__timer-submit-wrapper { flex: 1; display: flex; flex-flow: column nowrap; justify-content: center; text-align: center; } .guess-pane__submit { flex: 1; margin: 2px; } @media only screen and (min-width: 600px) { .game-panel { display: block; position: relative; flex-flow: row nowrap; } .game-panel { margin-bottom: 0px; margin-right: 2px; } .guess-pane { position: absolute; left: 10px; bottom: 30px; height: 200px; width: 200px; flex-flow: column nowrap; z-index: 1; opacity: .5; transition: 1s; } .guess-pane:hover { height: 400px; width: 400px; opacity: 1; transition: 0.5s; } .game-panel__spacer { height: 0px; width: 0px; } .guess-pane__timer-submit-wrapper { margin-top: 4px; color: #fff; } .guess-pane__submit { margin: 5px; } } .timer { display: inline; } .timer__time { display: inline-block; } .timer--timeout { color: red; } .map-div { height: 100%; width: 100%; } .streetview-pane { position: relative; height: 100%; width: 100%; } .streetview-pane__pano-div { height: 100%; width: 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: #222; color: #666; padding: 5px; border-radius: 2px; font-weight: bold; cursor: pointer; } .streetview-pane__reset-button:hover { color: #b1b1b1; }