123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- .page {
- height: 100%;
- width: 100%;
- display: flex;
- flex-flow: column nowrap;
- justify-content: space-between;
- align-items: center;
- }
- .streetview {
- height: 100%;
- width: 100%;
- margin-bottom: 2px;
- flex: 3;
- position: relative;
- }
- .fullsize {
- height: 100%;
- width: 100%;
- }
- .resetButton {
- /* 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;
- }
- .resetButton:hover {
- color: #b1b1b1;
- }
- .guess {
- height: 100%;
- width: 100%;
- flex: 1;
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-around;
- }
- .map {
- flex: 3;
- height: 100%;
- width: 100%;
- }
- .submit {
- flex: 1;
- display: flex;
- flex-flow: column nowrap;
- justify-content: center;
- text-align: center;
- }
- .submitButton {
- flex: 1;
- margin: 2px;
- }
- .timer {
- padding: 1px;
- display: inline;
- }
- .timer--timeout {
- color: red;
- }
- @media only screen and (min-width: 600px) and (min-height: 600px) {
- .page {
- display: block;
- position: relative;
- margin-bottom: 2px;
- margin-right: 2px;
- }
- .guess {
- position: absolute;
- left: 10px;
- bottom: 10px;
- height: 200px;
- width: 200px;
- flex-flow: column-reverse nowrap;
- z-index: 1;
- opacity: .75;
- transition: 1s;
- }
- .guess:hover {
- height: 400px;
- width: 400px;
- opacity: 1;
- transition: 0.5s;
- }
- .map {
- opacity: .75;
- transition: 1s;
- }
- .map:hover {
- opacity: 1;
- }
- .submit {
- flex-flow: column-reverse nowrap;
- margin-top: 4px;
- color: #fff;
- }
- .submit>* {
- background-color: #333;
- }
- .submitButton {
- margin: 0px;
- margin-bottom: 5px;
- }
- .guess .submitButton {
- visibility: hidden;
- opacity: 0;
- transition: 1s;
- }
- .guess:hover .submitButton {
- visibility: visible;
- opacity: 1;
- transition: 0.5s;
- }
- }
|