my avatar variant gradido

This commit is contained in:
ogerly 2022-12-14 08:06:04 +01:00
parent e0ff2a459d
commit 292829503e
3 changed files with 10 additions and 8 deletions

View File

@ -177,7 +177,9 @@ a:hover,
.font2em {
font-size: 1.5em;
}
.zindex-1 {
z-index: -1;
}
.zindex1 {
z-index: 1;
}

View File

@ -1,9 +1,9 @@
<template>
<div class="navbar-component position-sticky">
<b-navbar toggleable="lg" class="pr-4">
<b-navbar-brand class="zindex1000">
<b-navbar-brand>
<b-img
class="imgLogo ml--3 mt-lg--2 mt-3 p-2 mb-3 d-none d-lg-block"
class="imgLogo ml--3 mt-lg--2 mt-3 p-2 mb-3 d-none d-lg-block zindex10"
:src="logo"
width="200"
alt="..."
@ -12,7 +12,7 @@
<span class="navbar-toggler-icon"></span>
</b-button>
</b-navbar-brand>
<b-img class="sheet-img position-absolute zindex1000" :src="sheet"></b-img>
<b-img class="sheet-img position-absolute zindex-1" :src="sheet"></b-img>
<b-collapse id="nav-collapse" is-nav class="ml-5">
<b-navbar-nav class="ml-auto" right>
@ -23,7 +23,7 @@
<div class="mr-3">
<b-avatar
button
variant="primary"
variant="gradido"
:text="avatarShortName"
class="align-baseline"
></b-avatar>
@ -120,9 +120,9 @@ button.navbar-toggler > span.navbar-toggler-icon {
}
@media screen and (max-width: 450px) {
.sheet-img {
top: -15px;
left: 10%;
left: 37%;
max-width: 61%;
z-index: 1000;
}
}
</style>

View File

@ -2,7 +2,7 @@
<div class="userdata-card">
<b-card class="bg-transparent border-0">
<div class="text-center">
<b-avatar variant="primary" :text="avatar" size="6rem"></b-avatar>
<b-avatar button variant="gradido" :text="avatar" size="6rem"></b-avatar>
</div>
<b-container class="justify-content-center mt-md-5">