add actionbar

This commit is contained in:
jo.kuehner
2023-11-07 16:33:42 +01:00
parent 5fc8ea5b0a
commit 0a8af2f5a8
11 changed files with 223 additions and 72 deletions

View File

@ -1,5 +1,5 @@
<template>
<section class="sidebar">
<aside class="navbar">
<div class="toggle">
<div class="icon" id="back-icon">
<img loading="lazy" src="../icons/Back-Icon.svg"/>
@ -50,7 +50,7 @@
</button>
</nav>
</div>
</section>
</aside>
</template>
@ -65,51 +65,53 @@ export default {
<style>
<style scoped>
* {
box-sizing: border-box;
}
* {
box-sizing: border-box;
}
.sidebar {
align-items: flex-start;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
background-color: #2c2c2c;
width: 200px;
.navbar {
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: center;
width: 200px;
height: fit-content;
min-width: 200px;
border-radius: 10px;
gap: 10px;
padding: 10px;
padding: 15px;
margin: 0;
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
background-color: #2c2c2c;
}
.toggle {
justify-content: space-between;
align-items: center;
align-self: stretch;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
height: 40px;
padding: 10px;
}
.menus {
align-items: flex-start;
align-self: stretch;
display: flex;
flex-direction: column;
padding: 40px 0;
align-items: stretch;
justify-content: center;
padding: 20px 0;
gap: 30px;
}
nav {
justify-content: center;
align-items: center;
align-self: stretch;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: center;
padding: 10px;
gap: 30px;
}
@ -120,14 +122,14 @@ export default {
button {
display: flex;
flex-direction: row;
align-items: center;
align-self: stretch;
justify-content: flex-start;
align-self: stretch;
height: 35px;
border: none;
border-radius: 5px;
padding: 5px;
gap: 10px;
gap: 5px;
border: none;
background-color: #2c2c2c;
transition-duration: 0.5s;
}
@ -138,21 +140,20 @@ export default {
.icon {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
width: 25px;
height: 25px;
width: 35px;
height: 35px;
}
#indicator-icon, #back-icon {
width: 30px;
height: 30px;
width: 40px;
height: 40px;
border-radius: 5px;
background-color: #2c2c2c;
transition-duration: 0.5s;
}
#indicator-icon:hover, #back-icon:hover {
width: 30px;
height: 30px;
background-color: #444444;
}
@ -168,13 +169,11 @@ export default {
.label {
color: #fff;
/*leading-trim: both;
text-edge: cap;*/
letter-spacing: 0.7px;
align-self: center;
white-space: nowrap;
margin: auto 0;
font: 700 14px/20px Overpass, sans-serif;
font: 600 14px/20px Overpass, sans-serif;
}
</style>