summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/battlemap/www/style.css')
-rw-r--r--src/battlemap/www/style.css74
1 files changed, 65 insertions, 9 deletions
diff --git a/src/battlemap/www/style.css b/src/battlemap/www/style.css
index 04bce9a..4b1db1b 100644
--- a/src/battlemap/www/style.css
+++ b/src/battlemap/www/style.css
@@ -463,7 +463,6 @@
.battlemap-marker-icon {z-index: 2;}
.battlemap-path-icon-above-markers {z-index: 3;}
.battlemap-character-icon {z-index: 4;}
-.battlemap-marker-icon.battlemap-navigator-non-interactive {z-index: 5;}
.battlemap-marker-icon,
.battlemap-character-icon,
@@ -549,29 +548,31 @@
opacity: 0.3;
transition: opacity 0.3s ease-out;
}
+
.battlemap-can-go-to-cant-defend-marker.battlemap-navigator-interactive
{
background:
repeating-linear-gradient(
-55deg,
- rgba(255,255,255,0.3),
- rgba(255,255,255,0.3) 3px,
- rgba(0,0,0,0.3) 3px,
- rgba(0,0,0,0.3) 7px
+ rgb(255,255,255),
+ rgb(255,255,255) 3px,
+ rgba(0,0,0,0) 3px,
+ rgba(0,0,0,0) 7px
);
opacity: 0.3;
transition: opacity 0.3s ease-out;
}
-.battlemap-can-go-to-can-defend-marker.battlemap-navigator-interactive:hover
+.battlemap-can-go-to-can-defend-marker.battlemap-navigator-interactive:hover,
+.battlemap-can-go-to-cant-defend-marker.battlemap-navigator-interactive:hover
{
- background-color: rgba(255, 255, 255, 0.9);
- opacity: 1;
+ opacity: 0.9;
}
.battlemap-can-attack-can-defend-marker.battlemap-navigator-interactive
{
- background-color:rgba(0,0,0,0.7);
+ background-color: #000;
+ opacity: 0.7;
width: 28px;
/*min-width: 28px;
max-width: 28px;*/
@@ -580,14 +581,69 @@
border-radius: 0;
}
+.battlemap-can-attack-cant-defend-marker.battlemap-navigator-interactive
+{
+ background:
+ repeating-linear-gradient(
+ -55deg,
+ rgba(255,255,255,0),
+ rgba(255,255,255,0) 3px,
+ rgb(0,0,0) 3px,
+ rgb(0,0,0) 7px
+ );
+ width: 28px;
+ /*min-width: 28px;
+ max-width: 28px;*/
+ opacity: 0.7;
+ height: 28px;
+ margin: 2px 0 0 2px;
+ border-radius: 0;
+}
+
.battlemap-can-attack-can-defend-marker.battlemap-navigator-non-interactive
{
background-image: url(/asset/svg/marker/blade.svg);
+}
+
+.battlemap-can-attack-cant-defend-marker.battlemap-navigator-non-interactive
+{
+ background-image:
+ url(/asset/svg/marker/blade.svg),
+ url(/asset/svg/marker/brokenshield.svg);
+}
+
+.battlemap-can-go-to-cant-defend-marker.battlemap-navigator-non-interactive
+{
+ background-image:
+ url(/asset/svg/marker/pawprint.svg),
+ url(/asset/svg/marker/brokenshield.svg);
+}
+
+.battlemap-can-attack-cant-defend-marker.battlemap-navigator-non-interactive,
+.battlemap-can-go-to-cant-defend-marker.battlemap-navigator-non-interactive
+{
+ width: 24px;
+ height: 24px;
+ background-position: top left, bottom right;
+ background-size: 50%, 50%;
+ background-repeat: no-repeat, no-repeat;
+ margin: 2px;
}
.battlemap-can-go-to-can-defend-marker.battlemap-navigator-non-interactive
{
background-image: url(/asset/svg/marker/pawprint.svg);
+}
+
+.battlemap-can-attack-can-defend-marker.battlemap-navigator-non-interactive,
+.battlemap-can-attack-cant-defend-marker..battlemap-navigator-non-interactive
+{
+ z-index: 5;
+}
+
+.battlemap-can-go-to-can-defend-marker,
+.battlemap-can-go-to-cant-defend-marker
+{
z-index: 3;
}