Footer: Add arrow icon to indicate that can be expanded
This commit is contained in:
parent
b8c49acf71
commit
204d9d1156
@ -6,6 +6,7 @@
|
||||
|
||||
--color-background: #111;
|
||||
--color-background-column: #202020;
|
||||
--color-background-column-highlight: #282828;
|
||||
|
||||
--color-accent-hue: 246;
|
||||
--color-accent: hsl(var(--color-accent-hue), 40%, 65%);
|
||||
@ -249,12 +250,29 @@ dl dd:empty {
|
||||
.app-footer {
|
||||
align-items: center;
|
||||
background-color: var(--color-background-column);
|
||||
border-radius: var(--border-radius);
|
||||
color: var(--color-text-muted);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
font-size: var(--font-size-sm);
|
||||
grid-area: footer;
|
||||
padding: var(--spacer-sm);
|
||||
transition: background-color var(--transition-speed) ease-in-out;
|
||||
}
|
||||
|
||||
.app-footer:hover {
|
||||
background-color: var(--color-background-column-highlight);
|
||||
}
|
||||
|
||||
.app-footer:hover .app-footer-expand {
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
.app-footer-expand {
|
||||
position: relative;
|
||||
stroke: var(--color-text-hint);
|
||||
transform: scale(.8);
|
||||
transition: stroke var(--transition-speed) ease-in-out, margin-top var(--transition-speed) ease-in-out;
|
||||
}
|
||||
|
||||
.btn-bar {
|
||||
|
@ -12,6 +12,11 @@
|
||||
|
||||
<footer class="app-footer" v-if="!showFooterPopup" @click="showFooterPopup = true">
|
||||
<notification-bar />
|
||||
<div class="app-footer-expand">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline>
|
||||
</svg>
|
||||
</div>
|
||||
</footer>
|
||||
<footer-popup v-if="showFooterPopup" ref="footerPopup" @clickClose="showFooterPopup = false" />
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user