You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-chat/src/components/topBanner.vue

87 lines
1.6 KiB
Vue

4 years ago
<template>
<div class="topBanner">
<div>
<div id = "icon-arrow" ><img alt="arrow" class="arrow-Top-Left" src="../sym/arrow_back-24px.svg"></div>
<div id = "picTop"><img alt="Bild" id="picTopPic" src="../sym/supervisor_account-24px.svg"></div>
4 years ago
<div id="container">
<div id = "chatName"> OpenChat</div>
<div id = "users">9 Mitglieder</div>
</div>
<div id = "icon-menu"><img alt="menu" class="menu-Top-Right" src="../sym/menu-24px.svg"></div>
4 years ago
</div>
</div>
</template>
<script >
export default {
name: "topBanner"
}
4 years ago
</script>
<style scoped>
#icon-arrow{
position: absolute;
4 years ago
top: 0.24rem;
4 years ago
left: 1rem;
width: 100%;
height: 100%;
max-height: 2.3rem;
max-width: 2.3rem;
border-radius: 1.5rem;
text-align: center;
background-color: #2d2d2d;
4 years ago
}
.arrow-Top-Left{
margin-top: 0.2rem;
height: 2rem;
width: 2rem;
4 years ago
}
#picTop{
top: 0.24rem;
position: absolute;
fill: #42a7b9;
left: 4rem;
}
#picTopPic{
width: 2.3rem;
height: 2.3rem;
border-radius: 1.5rem;
background-color: #2d2d2d;
4 years ago
}
#container{
position: absolute;
top: 0.55rem;
left: 7.5rem;
4 years ago
}
#chatName{
font-size: medium;
color: #ededed;
4 years ago
}
#users{
font-size: x-small;
color: #9c9c9c;
}
#icon-menu{
position: absolute;
top: 0.24rem;
right: 1rem;
width: 100%;
height: 100%;
max-height: 2.3rem;
max-width: 2.3rem;
border-radius: 1.5rem;
text-align: center;
background-color: #2d2d2d;
}
.menu-Top-Right {
margin-top: 0.2rem;
height: 2rem;
width: 2rem;
4 years ago
}
.topBanner{
position: absolute;
width: 100%;
height: 3rem;
background-color: #1d1d1d;
}
4 years ago
</style>