mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-06 09:34:05 +00:00
Fix css issue
This commit is contained in:
parent
d39ae528f0
commit
5ef7749a09
@ -18,6 +18,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.withinDemo {
|
||||||
|
> .dialog {
|
||||||
|
@include S(padding-top, 60px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.dialog {
|
.dialog {
|
||||||
// background: rgba(#222428, 0.5);
|
// background: rgba(#222428, 0.5);
|
||||||
@include S(border-radius, $globalBorderRadius);
|
@include S(border-radius, $globalBorderRadius);
|
||||||
|
@ -31,6 +31,10 @@ export class HUDUnlockNotification extends BaseHUDPart {
|
|||||||
|
|
||||||
this.element = makeDiv(parent, "ingame_HUD_UnlockNotification", ["noBlur"]);
|
this.element = makeDiv(parent, "ingame_HUD_UnlockNotification", ["noBlur"]);
|
||||||
|
|
||||||
|
if (G_IS_STEAM_DEMO || !G_IS_STANDALONE) {
|
||||||
|
this.element.classList.add("withinDemo");
|
||||||
|
}
|
||||||
|
|
||||||
const dialog = makeDiv(this.element, null, ["dialog"]);
|
const dialog = makeDiv(this.element, null, ["dialog"]);
|
||||||
|
|
||||||
this.elemTitle = makeDiv(dialog, null, ["title"]);
|
this.elemTitle = makeDiv(dialog, null, ["title"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user