モバイルの下のやつ改修
This commit is contained in:
parent
d5811633ea
commit
4ceef78599
4 changed files with 19 additions and 17 deletions
|
@ -357,12 +357,6 @@ export default defineComponent({
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 1001;
|
z-index: 1001;
|
||||||
|
|
||||||
> div {
|
|
||||||
> .notifications {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(.hidden) {
|
&:not(.hidden) {
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
error: '#ec4137',
|
error: '#ec4137',
|
||||||
warn: '#ecb637',
|
warn: '#ecb637',
|
||||||
htmlThemeColor: '@bg',
|
htmlThemeColor: '@bg',
|
||||||
X1: ':alpha<0<@bg',
|
|
||||||
X2: ':darken<2<@panel',
|
X2: ':darken<2<@panel',
|
||||||
X3: 'rgba(255, 255, 255, 0.05)',
|
X3: 'rgba(255, 255, 255, 0.05)',
|
||||||
X4: 'rgba(255, 255, 255, 0.1)',
|
X4: 'rgba(255, 255, 255, 0.1)',
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
error: '#ec4137',
|
error: '#ec4137',
|
||||||
warn: '#ecb637',
|
warn: '#ecb637',
|
||||||
htmlThemeColor: '@bg',
|
htmlThemeColor: '@bg',
|
||||||
X1: ':alpha<0<@bg',
|
|
||||||
X2: ':darken<2<@panel',
|
X2: ':darken<2<@panel',
|
||||||
X3: 'rgba(0, 0, 0, 0.05)',
|
X3: 'rgba(0, 0, 0, 0.05)',
|
||||||
X4: 'rgba(0, 0, 0, 0.1)',
|
X4: 'rgba(0, 0, 0, 0.1)',
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
<div class="buttons" :class="{ navHidden }">
|
<div class="buttons" :class="{ navHidden }">
|
||||||
<button class="button nav _button" @click="showNav" ref="navButton"><Fa :icon="faBars"/><i v-if="navIndicated"><Fa :icon="faCircle"/></i></button>
|
<button class="button nav _button" @click="showNav" ref="navButton"><Fa :icon="faBars"/><i v-if="navIndicated"><Fa :icon="faCircle"/></i></button>
|
||||||
|
<button class="button home _button" @click="$route.name === 'index' ? top() : $router.push('/')"><Fa :icon="faHome"/></button>
|
||||||
<button class="button notifications _button" @click="$router.push('/my/notifications')"><Fa :icon="faBell"/><i v-if="$i.hasUnreadNotification"><Fa :icon="faCircle"/></i></button>
|
<button class="button notifications _button" @click="$router.push('/my/notifications')"><Fa :icon="faBell"/><i v-if="$i.hasUnreadNotification"><Fa :icon="faCircle"/></i></button>
|
||||||
<button class="button widget _button" @click="widgetsShowing = true"><Fa :icon="faLayerGroup"/></button>
|
<button class="button widget _button" @click="widgetsShowing = true"><Fa :icon="faLayerGroup"/></button>
|
||||||
<button class="button post _button" @click="post"><Fa :icon="faPencilAlt"/></button>
|
<button class="button post _button" @click="post"><Fa :icon="faPencilAlt"/></button>
|
||||||
|
@ -339,15 +340,13 @@ export default defineComponent({
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
padding: 0 32px 32px 32px;
|
padding: 16px;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background: linear-gradient(0deg, var(--bg), var(--X1));
|
-webkit-backdrop-filter: blur(32px);
|
||||||
|
backdrop-filter: blur(32px);
|
||||||
@media (max-width: 500px) {
|
background-color: var(--header);
|
||||||
padding: 0 16px 16px 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(.navHidden) {
|
&:not(.navHidden) {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -355,15 +354,26 @@ export default defineComponent({
|
||||||
|
|
||||||
> .button {
|
> .button {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
flex: 1;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 64px;
|
|
||||||
height: 64px;
|
height: 64px;
|
||||||
border-radius: 100%;
|
border-radius: 8px;
|
||||||
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
|
|
||||||
background: var(--panel);
|
background: var(--panel);
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
|
|
||||||
|
&:not(:last-child) {
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 400px) {
|
||||||
|
height: 60px;
|
||||||
|
|
||||||
|
&:not(:last-child) {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--X2);
|
background: var(--X2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue