summaryrefslogtreecommitdiff
path: root/play.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-21 15:58:36 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:31:29 +0100
commit6290483d7cc64275317e47af26eda84b7b11729c (patch)
treea3f2c4a8d4b40fa1327fedfc1b1d58829d621f22 /play.css
parent8862b6c209afa437d9670d9d25c77ce8fcffe118 (diff)
downloadpax-pamir-6290483d7cc64275317e47af26eda84b7b11729c.tar.gz
Tooltip on spaces and per-color highlights of cylinders.
Diffstat (limited to 'play.css')
-rw-r--r--play.css64
1 files changed, 45 insertions, 19 deletions
diff --git a/play.css b/play.css
index 07d25cd..4e948cd 100644
--- a/play.css
+++ b/play.css
@@ -334,21 +334,26 @@ body.shift #tooltip.focus { display: block; }
.block.road.British { background-image: url(pieces/road_british.svg) }
.block.road.Russian { background-image: url(pieces/road_russian.svg) }
-.Afghan.block.action {
+.Afghan.block.action,
+.Afghan.block.selected {
filter:
drop-shadow(0 -2px 0 turquoise)
drop-shadow(0 2px 0 turquoise)
drop-shadow(-2px 0 0 turquoise)
drop-shadow(2px 0 0 turquoise)
}
-.British.block.action {
+
+.British.block.action,
+.British.block.selected {
filter:
drop-shadow(0 -2px 0 hotpink)
drop-shadow(0 2px 0 hotpink)
drop-shadow(-2px 0 0 hotpink)
drop-shadow(2px 0 0 hotpink)
}
-.Russian.block.action {
+
+.Russian.block.action,
+.Russian.block.selected {
filter:
drop-shadow(0 -2px 0 orange)
drop-shadow(0 2px 0 orange)
@@ -356,28 +361,49 @@ body.shift #tooltip.focus { display: block; }
drop-shadow(2px 0 0 orange)
}
-.cylinder.action {
+.cylinder.p0.action,
+.cylinder.p0.selected {
+ filter:
+ drop-shadow(0 -2px 0 silver)
+ drop-shadow(0 2px 0 silver)
+ drop-shadow(-2px 0 0 silver)
+ drop-shadow(2px 0 0 silver)
+}
+
+.cylinder.p1.action,
+.cylinder.p1.selected {
filter:
- drop-shadow(0 -2px 0 yellow)
- drop-shadow(0 2px 0 yellow)
- drop-shadow(-2px 0 0 yellow)
- drop-shadow(2px 0 0 yellow)
+ drop-shadow(0 -2px 0 skyblue)
+ drop-shadow(0 2px 0 skyblue)
+ drop-shadow(-2px 0 0 skyblue)
+ drop-shadow(2px 0 0 skyblue)
}
-.block.selected {
+.cylinder.p2.action,
+.cylinder.p2.selected {
filter:
- drop-shadow(0 -2px 0 deepskyblue)
- drop-shadow(0 2px 0 deepskyblue)
- drop-shadow(-2px 0 0 deepskyblue)
- drop-shadow(2px 0 0 deepskyblue)
+ drop-shadow(0 -2px 0 gold)
+ drop-shadow(0 2px 0 gold)
+ drop-shadow(-2px 0 0 gold)
+ drop-shadow(2px 0 0 gold)
}
-.cylinder.selected {
+.cylinder.p3.action,
+.cylinder.p3.selected {
filter:
- drop-shadow(0 -2px 0 deepskyblue)
- drop-shadow(0 2px 0 deepskyblue)
- drop-shadow(-2px 0 0 deepskyblue)
- drop-shadow(2px 0 0 deepskyblue)
+ drop-shadow(0 -2px 0 tomato)
+ drop-shadow(0 2px 0 tomato)
+ drop-shadow(-2px 0 0 tomato)
+ drop-shadow(2px 0 0 tomato)
+}
+
+.cylinder.p4.action,
+.cylinder.p4.selected {
+ filter:
+ drop-shadow(0 -2px 0 black)
+ drop-shadow(0 2px 0 black)
+ drop-shadow(-2px 0 0 black)
+ drop-shadow(2px 0 0 black)
}
/* FAVORED SUIT MARKER AND SPACES */
@@ -473,7 +499,7 @@ body.shift #tooltip.focus { display: block; }
}
.border, .region {
- fill: none;
+ fill: transparent;
stroke: none;
}