瀏覽代碼

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.
vintage
Fen Dweller 5 年之前
父節點
當前提交
674f25c91b
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. +5
    -5
      src/components/Statblock.vue

+ 5
- 5
src/components/Statblock.vue 查看文件

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

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

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

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

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

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

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


Loading…
取消
儲存