mirror of
https://github.com/nkanaev/yarr.git
synced 2026-06-24 09:05:16 +00:00
ui: tweaks
This commit is contained in:
@@ -67,6 +67,7 @@
|
|||||||
<div class="row text-center m-0">
|
<div class="row text-center m-0">
|
||||||
<button class="btn btn-link col-4 px-0 rounded-0"
|
<button class="btn btn-link col-4 px-0 rounded-0"
|
||||||
:class="'theme-'+t"
|
:class="'theme-'+t"
|
||||||
|
:title="t"
|
||||||
:aria-label="t"
|
:aria-label="t"
|
||||||
:aria-pressed="theme.name == t"
|
:aria-pressed="theme.name == t"
|
||||||
@click.stop="theme.name = t"
|
@click.stop="theme.name = t"
|
||||||
@@ -126,13 +127,17 @@
|
|||||||
</button>
|
</button>
|
||||||
<div class="dropdown-divider"></div>
|
<div class="dropdown-divider"></div>
|
||||||
<header class="dropdown-header" role="heading" aria-level="2">ᚨ / 𐎠 / 𑖀</header>
|
<header class="dropdown-header" role="heading" aria-level="2">ᚨ / 𐎠 / 𑖀</header>
|
||||||
|
<div class="d-flex">
|
||||||
<button
|
<button
|
||||||
v-for="lang in languages"
|
v-for="lang in languages"
|
||||||
class="dropdown-item"
|
class="dropdown-item text-center"
|
||||||
|
:aria-label="lang.name"
|
||||||
|
:title="lang.name"
|
||||||
:class="{active: language==lang.code}"
|
:class="{active: language==lang.code}"
|
||||||
@click.stop="changeLanguage(lang.code)">
|
@click.stop="changeLanguage(lang.code)">
|
||||||
{{ lang.name }}
|
{{ lang.code }}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
<div class="dropdown-divider" v-if="authenticated"></div>
|
<div class="dropdown-divider" v-if="authenticated"></div>
|
||||||
<button class="dropdown-item" v-if="authenticated" @click="logout()">
|
<button class="dropdown-item" v-if="authenticated" @click="logout()">
|
||||||
<span class="icon mr-1">{% inline "log-out.svg" %}</span>
|
<span class="icon mr-1">{% inline "log-out.svg" %}</span>
|
||||||
|
|||||||
@@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
html {
|
html {
|
||||||
font-size: 15px !important;
|
font-size: 15px !important;
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user