From a1cc51e7fc8c2fb6d4c54e2d87f59e0713a13835 Mon Sep 17 00:00:00 2001 From: DJ1TJOO Date: Sun, 23 May 2021 13:42:27 +0200 Subject: [PATCH] Added lock for secondary toolbar (maybe for future) --- src/css/ingame_hud/buildings_toolbar.scss | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/css/ingame_hud/buildings_toolbar.scss b/src/css/ingame_hud/buildings_toolbar.scss index cbea22bb..4023f955 100644 --- a/src/css/ingame_hud/buildings_toolbar.scss +++ b/src/css/ingame_hud/buildings_toolbar.scss @@ -41,12 +41,24 @@ @include S(height, 22px); background-size: 45%; } - &:not(.unlocked) { &::before { background-size: #{D(13px)}; } } + &.unlocked { + .puzzle-lock { + & { + /* @load-async */ + background: uiResource("locked_building.png") center center / #{D(11px)} #{D( + 11px + )} no-repeat; + } + + @include S(margin-left, 14px); + bottom: 67px; + } + } } }