Browse Source

Fix statblock opacity

The built version of the app wound up with 1% opacity
for everything. Changing from percentages to a decimal
fixed the issue.
master
Fen Dweller 5 years ago
parent
commit
674f25c91b
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/components/Statblock.vue

+ 5
- 5
src/components/Statblock.vue View File

@@ -242,27 +242,27 @@ a {


.statblock[data-eaten] .statblock-shader-eaten { .statblock[data-eaten] .statblock-shader-eaten {
background: green; background: green;
opacity: 35%;
opacity: 0.35;
} }


.statblock[data-active] .statblock-shader-selected { .statblock[data-active] .statblock-shader-selected {
background: white; background: white;
opacity: 15%;
opacity: 0.15;
} }


.statblock[data-active-ally] .statblock-shader-selected-ally { .statblock[data-active-ally] .statblock-shader-selected-ally {
background: #88f; background: #88f;
opacity: 20%;
opacity: 0.20;
} }


.statblock[data-dead] .statblock-shader-dead { .statblock[data-dead] .statblock-shader-dead {
background: red; background: red;
opacity: 50%;
opacity: 0.50;
} }


.statblock:hover .statblock-shader-hover { .statblock:hover .statblock-shader-hover {
background: white; background: white;
opacity: 20%;
opacity: 0.20;
} }


.statblock[data-active] .if-not-selected { .statblock[data-active] .if-not-selected {


Loading…
Cancel
Save