Fix color bug and adjust gray color
This commit is contained in:
parent
7e18e09a8c
commit
55f50d021b
3 changed files with 5 additions and 6 deletions
4
dist/css/main.css
vendored
4
dist/css/main.css
vendored
|
@ -25,7 +25,7 @@
|
||||||
https://coolors.co/palette/54478c-2c699a-048ba8-0db39e-16db93-83e377-b9e769-efea5a-f1c453-f29e4c
|
https://coolors.co/palette/54478c-2c699a-048ba8-0db39e-16db93-83e377-b9e769-efea5a-f1c453-f29e4c
|
||||||
https://coolors.co/palette/e2e2df-d2d2cf-e2cfc4-f7d9c4-faedcb-c9e4de-c6def1-dbcdf0-f2c6de-f9c6c9
|
https://coolors.co/palette/e2e2df-d2d2cf-e2cfc4-f7d9c4-faedcb-c9e4de-c6def1-dbcdf0-f2c6de-f9c6c9
|
||||||
https://coolors.co/palette/54478c-2c699a-048ba8-0db39e-16db93-83e377-b9e769-efea5a-f1c453-f29e4c
|
https://coolors.co/palette/54478c-2c699a-048ba8-0db39e-16db93-83e377-b9e769-efea5a-f1c453-f29e4c
|
||||||
https://coolors.co/palette/ffadad-ffd6a5-fdffb6-caffbf-9bf6ff-a0c4ff-bdb2ff-ffc6ff-fffffc
|
https://coolors.co/palette/ffadad-ffd6a5-fdffb6-caffbf-9bf6ff-a0c4ff-bdb2ff-ffc6ff-e6e6e6
|
||||||
*/
|
*/
|
||||||
--subpal-1-1: #ffadadff;
|
--subpal-1-1: #ffadadff;
|
||||||
--subpal-1-2: #ffd6a5ff;
|
--subpal-1-2: #ffd6a5ff;
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
--subpal-1-6: #a0c4ffff;
|
--subpal-1-6: #a0c4ffff;
|
||||||
--subpal-1-7: #bdb2ffff;
|
--subpal-1-7: #bdb2ffff;
|
||||||
--subpal-1-8: #ffc6ffff;
|
--subpal-1-8: #ffc6ffff;
|
||||||
--subpal-1-9: #fffffcff;
|
--subpal-1-9: #e6e6e6ff;
|
||||||
--subpal-1-10: #ffffffff;
|
--subpal-1-10: #ffffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
dist/index.html
vendored
4
dist/index.html
vendored
|
@ -96,7 +96,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div id="bottom_nav">
|
<div id="bottom_nav">
|
||||||
<div class="d-inline-block align-top pt-1" id="colors_word_open"><span>Colors »</span></div>
|
<div class="d-inline-block align-top pt-1" id="colors_word_open"><span>Change Colors »</span></div>
|
||||||
<div class="d-inline-block d-none" id="color_palette">
|
<div class="d-inline-block d-none" id="color_palette">
|
||||||
<div id="palette_picker_1"></div>
|
<div id="palette_picker_1"></div>
|
||||||
<div id="palette_picker_2"></div>
|
<div id="palette_picker_2"></div>
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
<div id="palette_picker_9"></div>
|
<div id="palette_picker_9"></div>
|
||||||
<div id="palette_picker_10"></div>
|
<div id="palette_picker_10"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-inline-block align-top align-top pt-1 ps-2 d-none" id="colors_word_close"><span>« Colors</span></div>
|
<div class="d-inline-block align-top align-top pt-1 ps-2 d-none" id="colors_word_close"><span>« Stop Changing Colors</span></div>
|
||||||
<div class="d-inline-block align-top pt-1 ps-3" id="copy_url"><span>Copy Shareable URL</span></div>
|
<div class="d-inline-block align-top pt-1 ps-3" id="copy_url"><span>Copy Shareable URL</span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
3
dist/js/main.js
vendored
3
dist/js/main.js
vendored
|
@ -37,8 +37,7 @@ $('#calcbody').on('click', '.row_address, .row_range, .row_usable, .row_hosts, .
|
||||||
mutate_subnet_map('color', this.dataset.subnet, '', inflightColor)
|
mutate_subnet_map('color', this.dataset.subnet, '', inflightColor)
|
||||||
// We could re-render here, but there is really no point, keep performant and just change the background color now
|
// We could re-render here, but there is really no point, keep performant and just change the background color now
|
||||||
//renderTable();
|
//renderTable();
|
||||||
//console.log($(this).parent())
|
$(this).closest('tr').css('background-color', inflightColor)
|
||||||
$(this).parent().css('background-color', inflightColor)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue