Шаблон:Prototypes/Машина/Станок/base: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
<div class=" | <div class="{{#if: {{{mode-emag|}}} | станок__mode-emag }}> | ||
{{GradientBlock | |||
|header = | |||
<div class="станок__product-and-info-text"> | <div class="станок__product-and-info-text"> | ||
<div class="станок__product">{{#if: {{{mode-chem|}}} | {{#invoke:Entity Lookup|createimagetooltip|File:LargeBeaker.png|LargeBeaker|Мета=32x32px,link=}} {{{amount|1}}} {{{product|Plant-B-gone}}} | {{#invoke:Entity Lookup|createimagetooltip|File:{{{product|PortableFlasher}}}.png|{{{product|PortableFlasher}}}|Мета=32x32px,link=}} {{{amount|1}}} {{#invoke:Entity Lookup|getname|{{{product|PortableFlasher}}}}} }}</div> | <div class="станок__product">{{#if: {{{mode-chem|}}} | {{#invoke:Entity Lookup|createimagetooltip|File:LargeBeaker.png|LargeBeaker|Мета=32x32px,link=}} {{{amount|1}}} {{{product|Plant-B-gone}}} | {{#invoke:Entity Lookup|createimagetooltip|File:{{{product|PortableFlasher}}}.png|{{{product|PortableFlasher}}}|Мета=32x32px,link=}} {{{amount|1}}} {{#invoke:Entity Lookup|getname|{{{product|PortableFlasher}}}}} }}</div> | ||
| Строка 11: | Строка 11: | ||
-->{{#if: {{{mode-emag|}}} | {{AltTooltip|[[File:Emag.png|32px|link=]]|Рецепт становится доступным после взлома с помощью криптографического секвенсора.|posX=left}} }} | -->{{#if: {{{mode-emag|}}} | {{AltTooltip|[[File:Emag.png|32px|link=]]|Рецепт становится доступным после взлома с помощью криптографического секвенсора.|posX=left}} }} | ||
</div> | </div> | ||
|body = | |||
<div class="станок__materials">{{{materials}}}</div> | <div class="станок__materials">{{{materials}}}</div> | ||
<div class="станок__complete-time">[[Файл:Small_watch.png]] {{{complete-time|1 сек.}}}</div> | <div class="станок__complete-time">[[Файл:Small_watch.png]] {{{complete-time|1 сек.}}}</div> | ||
}} | |||
</div> | </div> | ||
{{#css: | |||
.станок__product-and-info-text { | |||
display: grid; | |||
gap: 4px; | |||
} | |||
.станок__product { | |||
font-weight: bold; | |||
} | |||
.станок__info-text { | |||
font-size: 14px; | |||
} | |||
.станок__info-icons { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
} | |||
.станок__info-icons > * { | |||
width: 32px; | |||
height: 32px; | |||
text-align: center; | |||
} | |||
.станок__progression-symbol { | |||
color: gray; | |||
font-size: small; | |||
height: 0rem; | |||
line-height: 0; | |||
margin: 2px 0px; | |||
} | |||
.станок__materials { | |||
display: grid; | |||
gap: 4px; | |||
} | |||
.станок__complete-time { | |||
position: absolute; | |||
bottom: 4px; | |||
right: 4px; | |||
font-size: small; | |||
font-size: 12px; | |||
} | |||
.станок__mode-emag > .gradient-block { | |||
border: 2px dashed hsla(0, 75%, 50%, 0.5); | |||
} | |||
}} | |||