diff --git a/www/css/home.css b/www/css/home.css
index 5cf6a59..a97c227 100644
--- a/www/css/home.css
+++ b/www/css/home.css
@@ -4,6 +4,11 @@ License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+:root {
+ --playerinfo-height: 70px;
+ --playerinfo-fullheight: calc(var(--playerinfo-height) + 10px);
+}
+
.dark-popup {
background-color: rgba(23, 23, 23, 0.75);
}
@@ -34,7 +39,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
padding-right: 20px;
padding-bottom: 20px;
width: 20em;
- height: 70px;
+ height: var(--playerinfo-height);
max-width: 90vw;
background-image: url(../img/player-info-bg.svg);
background-size: 100% 65px;
@@ -78,7 +83,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
}
.healthbar span {
- background-color: #3ffc5e;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
@@ -103,4 +107,49 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
#messagebar .toggle-messages {
width: 64px;
+}
+
+#place-info {
+ width: 100%;
+}
+
+#place-info .progressbar {
+ height: 8px;
+ border-radius: 8px;
+ border: 2px solid rgba(255,255,255,0.5);
+ background: rgba(23, 23, 23, 0.25);
+}
+
+#place-popup {
+ margin-top: var(--playerinfo-fullheight);
+ height: calc(100% - var(--f7-statusbar-height) - var(--playerinfo-fullheight));
+}
+
+#place-popup .action-button {
+ border-radius: var(--f7-button-border-radius);
+ text-align: center;
+ cursor: pointer;
+}
+
+#place-info #place-image {
+ width: 100%;
+ max-height: 15em;
+ margin-bottom: 5px;
+ background-image: url(../img/place/background.png);
+ background-size: contain;
+ background-repeat: no-repeat;
+ background-position-y: bottom;
+ background-position-x: center;
+ object-fit: contain;
+}
+
+#place-popup .action-button .game-icon {
+ vertical-align: middle;
+}
+
+@media (min-width: 630px) and (min-height: 630px) {
+ #place-popup {
+ margin-top: calc(-1 * var(--f7-popup-tablet-height)/ 2);
+ height: var(--f7-popup-tablet-height);
+ }
}
\ No newline at end of file
diff --git a/www/css/map.css b/www/css/map.css
index 96b372b..46eac48 100644
--- a/www/css/map.css
+++ b/www/css/map.css
@@ -18,7 +18,7 @@ TODO: Change image based on place health/strength {0,1,2}.png
#mapbox .place-marker {
width: 10em;
height: 10em;
- background-image: url(../img/place/2.png);
+ background-image: url(../img/place/white.png);
background-size: contain;
}
diff --git a/www/img/place/.directory b/www/img/place/.directory
new file mode 100644
index 0000000..844bcfe
--- /dev/null
+++ b/www/img/place/.directory
@@ -0,0 +1,4 @@
+[Dolphin]
+PreviewsShown=true
+Timestamp=2019,5,22,13,57,56
+Version=4
diff --git a/www/img/place/0.png b/www/img/place/0.png
index 6485d49..858d8c3 100644
Binary files a/www/img/place/0.png and b/www/img/place/0.png differ
diff --git a/www/img/place/1.png b/www/img/place/1.png
index 0f41920..33fbedb 100644
Binary files a/www/img/place/1.png and b/www/img/place/1.png differ
diff --git a/www/img/place/2.png b/www/img/place/2.png
deleted file mode 100644
index f940cd3..0000000
Binary files a/www/img/place/2.png and /dev/null differ
diff --git a/www/img/place/background.png b/www/img/place/background.png
new file mode 100644
index 0000000..afa10ab
Binary files /dev/null and b/www/img/place/background.png differ
diff --git a/www/img/place/white.png b/www/img/place/white.png
new file mode 100644
index 0000000..364bb03
Binary files /dev/null and b/www/img/place/white.png differ
diff --git a/www/img/player-info-bg-src.svg b/www/img/player-info-bg-src.svg
index 03012be..f462bd3 100644
--- a/www/img/player-info-bg-src.svg
+++ b/www/img/player-info-bg-src.svg
@@ -43,7 +43,7 @@
id="namedview1417"
showgrid="false"
inkscape:zoom="2.1069062"
- inkscape:cx="269.68202"
+ inkscape:cx="187.5711"
inkscape:cy="93.921442"
inkscape:window-x="0"
inkscape:window-y="0"
@@ -99,7 +99,7 @@
inkscape:connector-curvature="0"
style="opacity:0.75;stroke-width:1" />