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

мНет описания правки
мНет описания правки
 
(не показано 6 промежуточных версий этого же участника)
Строка 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="{{ColorPaletteStyles|{{{Color}}}}}">
<div class="navbar-template" style="align-content: start; display: flex; flex-flow: row wrap;">
  <div class="navbar-header">
<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">[[Заглавная страница|{{Icon|home}}]]</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-title">{{{HeaderText}}}</div>
 
    <div class="navbar-button">{{{RightLink}}}</div>
<div style="background: {{ColorPalette‎‎|{{{color}}}|Opaque}}; border-right: 1px solid {{ColorPalette|{{{color}}}|Opaque}}; padding: .4em .8em 0; flex-basis: 40%;"><center>'''<span style="font-size:200%;">{{{HeaderText}}}</span></center></div>
  </div>
 
  <div class="navbar-content">
<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>
{{{Content}}}
<div class="navbar-button" style="background: {{ColorPalette‎‎|{{{color}}}|Secondary}}; float:left; flex-basis: 7%; flex-grow: 1;">{{{RightLink2}}}</div></div>
  </div>
<div style="align-content: start; display: flex; flex-flow: row wrap;">
  {{#if:{{{Tabs|}}}|<hr><div class="navbar-tabs">{{{Tabs}}}</div>|}}
<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><noinclude>[[Category:Шаблоны]]</noinclude>
</div>
 
<div style="display:flex; flex-flow: row wrap;">{{{Tabs}}}</div>
</div>
<noinclude>[[Category:Шаблоны]]</noinclude>

Текущая версия от 11:14, 2 июня 2025