Шаблон:NavBar: различия между версиями

мНет описания правки
Нет описания правки
Строка 1: Строка 1:
<div class="navbar" style="overflow: hidden; position: relative; border: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; border-radius: var(--border-radius-large);">
<templatestyles src="NavBar/styles.css" />
<div class="tgui-blur"></div>
<div class="navbar tgui-background" style="border-color: {{ColorPalette|{{{color}}}|Opaque}};">
<div class="navbar-template" style="overflow: auto; align-content: start; display: flex; flex-flow: row wrap;">
<div class="navbar-template">
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Secondary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:left; flex-basis: 7%; flex-grow: 1;">[[Раздел для новых игроков]]</div>
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Secondary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:left; flex-basis: 7%; flex-grow: 1;">[[Раздел для новых игроков]]</div>
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Primary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:left; flex-basis: 7%; flex-grow: 1;">[[Заглавная страница|Назад на главную]]</div>
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Primary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:left; flex-basis: 7%; flex-grow: 1;">[[Заглавная страница|Назад на главную]]</div>
Строка 9: Строка 9:
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Primary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:right; flex-basis: 7%; flex-grow: 1;">{{{RightLink}}}</div>
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Primary}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; float:right; flex-basis: 7%; flex-grow: 1;">{{{RightLink}}}</div>
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Secondary}}; float:left; flex-basis: 7%; flex-grow: 1;">{{{RightLink2}}}</div></div>
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Secondary}}; float:left; flex-basis: 7%; flex-grow: 1;">{{{RightLink2}}}</div></div>
<div style="align-content: start; display: flex; flex-flow: row wrap;">
<div class="navbar-content">
<div style="background: {{ColorPalette|{{{color}}}|Light}}; border: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; border-width: 1px 0 1px 0; flex-basis: 100%; flex-grow: 1; padding: {{{padding|1em}}};>{{{content}}}</div>
<div class="navbar-content-inner" style="background: {{ColorPalette|{{{color}}}|Light}}; border-color: {{ColorPalette|{{{color}}}|Opaque}}; padding: {{{padding|1em}}};>{{{content}}}</div>
</div>
</div>


<div style="display:flex; flex-flow: row wrap;">{{{Tabs}}}</div>
<div class="navbar-tabs">{{{Tabs}}}</div>
</div>
</div>
<noinclude>[[Category:Шаблоны]]</noinclude>
<noinclude>[[Category:Шаблоны]]</noinclude>

Версия от 04:56, 6 мая 2025