summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-15 23:59:28 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commitd8cb2eea99b587127f1d5b1e198944196611f79b (patch)
treecb92d90b73cfc8d59d59f7a8be16f36beb0d477e /play.html
parent11b14fac15bc9d6cd577a73159ab708060d3d639 (diff)
downloadshores-of-tripoli-d8cb2eea99b587127f1d5b1e198944196611f79b.tar.gz
tripoli: More UI tweaking.
Diffstat (limited to 'play.html')
-rw-r--r--play.html28
1 files changed, 9 insertions, 19 deletions
diff --git a/play.html b/play.html
index 18da5d8..89ad1bb 100644
--- a/play.html
+++ b/play.html
@@ -15,13 +15,13 @@
<style>
.grid_center { background-color: slategray; }
-.grid_role { background-color: ghostwhite; }
-.grid_log { background-color: ghostwhite; }
+.grid_log { background-color: gainsboro; }
.grid_top { background-color: silver; }
.grid_top.Tripolitania.your_turn { background-color: salmon; }
.grid_top.United_States.your_turn { background-color: skyblue; }
.grid_top.disconnected { background-color: red; }
.role_info { background-color: gainsboro; }
+.role_info.card_info { background-color: silver; }
.one .role_name { background-color: skyblue; }
.two .role_name { background-color: salmon; }
@@ -35,19 +35,13 @@
font-family: "Source Serif SmText";
}
-/* XXX: Work around z-stacking drawing glitch in Firefox 90 on Linux */
-#status { min-height: 1px; }
-#status:empty { background-color: slategray; }
-
.hand {
min-height: 300px;
justify-content: left;
}
.hand_separator {
- color: gainsboro;
border-bottom: 2px dotted gainsboro;
- text-align: center;
}
.card {
@@ -58,6 +52,7 @@
.card.blank {
background-color: dimgray;
+ transform: none !important;
}
.card_info .card {
@@ -73,14 +68,9 @@
.role_info {
padding: 5px 20px;
- background-color: gainsboro;
white-space: pre-wrap;
}
-.role_info.card_info {
- background-color: silver;
-}
-
/* MAP */
#map {
@@ -478,12 +468,12 @@
</div>
<div class="hand_separator"></div>
<div id="core_cards" class="hand">
-<div id="tr_card_1" class="show card tr_card_1"></div>
-<div id="tr_card_2" class="show card tr_card_2"></div>
-<div id="tr_card_3" class="show card tr_card_3"></div>
-<div id="us_card_1" class="show card us_card_1"></div>
-<div id="us_card_2" class="show card us_card_2"></div>
-<div id="us_card_3" class="show card us_card_3"></div>
+<div id="tr_card_1" class="show card tr_card_1 tr_core"></div>
+<div id="tr_card_2" class="show card tr_card_2 tr_core"></div>
+<div id="tr_card_3" class="show card tr_card_3 tr_core"></div>
+<div id="us_card_1" class="show card us_card_1 us_core"></div>
+<div id="us_card_2" class="show card us_card_2 us_core"></div>
+<div id="us_card_3" class="show card us_card_3 us_core"></div>
</div>
<div id="popup" onmouseleave="hide_popup_menu()">