Merged in develop (pull request #25)
Develop
This commit is contained in:
		
						commit
						5271dca19a
					
				| @ -66,11 +66,11 @@ div.buttonContainer { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| div.buttonContainer.top { | div.buttonContainer.top { | ||||||
|     margin-bottom: 5px; |     margin-bottom: 10px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| div.buttonContainer.bottom { | div.buttonContainer.bottom { | ||||||
|     margin-top: 5px; |     margin-top: 10px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #loading { | #loading { | ||||||
| @ -92,7 +92,7 @@ div.buttonContainer.bottom { | |||||||
| 
 | 
 | ||||||
| #guess { | #guess { | ||||||
|     position: absolute; |     position: absolute; | ||||||
|     bottom: 20px; |     bottom: 30px; | ||||||
|     right: 20px; |     right: 20px; | ||||||
|     z-index: 2; |     z-index: 2; | ||||||
| } | } | ||||||
| @ -162,7 +162,7 @@ div.buttonContainer.bottom { | |||||||
|     #showGuessButtonContainer { |     #showGuessButtonContainer { | ||||||
|         position: absolute; |         position: absolute; | ||||||
|         left: 20px; |         left: 20px; | ||||||
|         bottom: 20px; |         bottom: 30px; | ||||||
|         right: 20px; |         right: 20px; | ||||||
|         z-index: 2; |         z-index: 2; | ||||||
|     } |     } | ||||||
| @ -175,14 +175,14 @@ div.buttonContainer.bottom { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     #guessMap { |     #guessMap { | ||||||
|         height: calc(100% - 80px); |         height: calc(100% - 90px); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     #result { |     #result { | ||||||
|         top: 20px; |         top: 20px; | ||||||
|         left: 20px; |         left: 20px; | ||||||
|         right: 20px; |         right: 20px; | ||||||
|         bottom: 20px; |         bottom: 30px; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     #scoreBarBase { |     #scoreBarBase { | ||||||
| @ -197,14 +197,14 @@ div.buttonContainer.bottom { | |||||||
| 
 | 
 | ||||||
|     #guess { |     #guess { | ||||||
|         width: 500px; |         width: 500px; | ||||||
|         height: 350px; |         height: 375px; | ||||||
|         opacity: 0.95; |         opacity: 0.95; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     #guess.adapt { |     #guess.adapt { | ||||||
|         top: initial; |         top: initial; | ||||||
|         width: 250px; |         width: 250px; | ||||||
|         height: 175px; |         height: 200px; | ||||||
|         opacity: 0.5; |         opacity: 0.5; | ||||||
|         transition-property: width, height, opacity; |         transition-property: width, height, opacity; | ||||||
|         transition-duration: 0.1s; |         transition-duration: 0.1s; | ||||||
| @ -213,7 +213,7 @@ div.buttonContainer.bottom { | |||||||
| 
 | 
 | ||||||
|     #guess.adapt:hover { |     #guess.adapt:hover { | ||||||
|         width: 500px; |         width: 500px; | ||||||
|         height: 350px; |         height: 375px; | ||||||
|         opacity: 0.95; |         opacity: 0.95; | ||||||
|         transition-delay: 0s; |         transition-delay: 0s; | ||||||
|     } |     } | ||||||
| @ -223,7 +223,7 @@ div.buttonContainer.bottom { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     #guessMap { |     #guessMap { | ||||||
|         height: calc(100% - 40px); |         height: calc(100% - 45px); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     #result { |     #result { | ||||||
| @ -237,7 +237,7 @@ div.buttonContainer.bottom { | |||||||
|         width: 60%; |         width: 60%; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|      @media screen and (max-height: 389px) { |      @media screen and (max-height: 424px) { | ||||||
|         #guess { |         #guess { | ||||||
|             top: 20px; |             top: 20px; | ||||||
|             height: initial; |             height: initial; | ||||||
|  | |||||||
| @ -56,7 +56,7 @@ | |||||||
|         }, |         }, | ||||||
| 
 | 
 | ||||||
|         calculateScoreBarProperties: function (score) { |         calculateScoreBarProperties: function (score) { | ||||||
|             var percent = Math.ceil((score / Core.MAX_SCORE) * 100); |             var percent = Math.floor((score / Core.MAX_SCORE) * 100); | ||||||
| 
 | 
 | ||||||
|             var color; |             var color; | ||||||
|             if (percent >= 90) { |             if (percent >= 90) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user