1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-21 23:44:30 +00:00
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-30 09:28:11 +02:00
parent 081e87209b
commit e89ce74533
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
3 changed files with 51 additions and 16 deletions

View file

@ -160,6 +160,10 @@ a.card {
background: $secondary;
color: #3c376e;
&:focus {
outline: 3px solid $violet-3;
}
&:hover {
// box-shadow: 0 0 5px 0 rgba(0, 0, 0, 1);
transform: scale(1.01, 1.01);

View file

@ -71,6 +71,7 @@
</b-navbar-item>
<b-navbar-dropdown
tabindex="0"
v-if="currentActor.id && currentUser.isLoggedIn"
right
collapsible
@ -103,7 +104,7 @@
<!-- No identities dropdown if no identities -->
<span v-if="identities.length <= 1" />
<b-navbar-item
tag="span"
tag="button"
v-for="identity in identities"
v-else
:active="identity.id === currentActor.id"
@ -145,8 +146,8 @@
>{{ $t("Administration") }}</b-navbar-item
>
<b-navbar-item tag="span">
<span @click="logout">{{ $t("Log out") }}</span>
<b-navbar-item tag="button" @click="logout">
{{ $t("Log out") }}
</b-navbar-item>
</b-navbar-dropdown>
@ -317,28 +318,51 @@ nav {
font-weight: bold;
}
&:focus-visible,
&:not(.has-dropdown.is-active):focus-within {
outline: 2px solid $violet-3;
}
svg {
height: 1.75rem;
}
}
.navbar-dropdown .navbar-item {
cursor: pointer;
span {
display: flex;
::v-deep .navbar-item.is-active .navbar-dropdown {
display: flex;
flex-direction: column;
.navbar-item {
flex: 1;
}
}
&.is-active {
background: $secondary;
}
.navbar-dropdown {
.navbar-item {
cursor: pointer;
border: none;
background: none;
font: inherit;
span.icon.is-medium {
display: flex;
}
span {
display: flex;
}
img {
max-height: 2.5em;
&.is-active {
background: $secondary;
}
span.icon.is-medium {
display: flex;
}
img {
max-height: 2.5em;
}
&:focus-visible,
&:focus-within {
outline: 3px solid $violet-3;
}
}
}

View file

@ -351,6 +351,7 @@
<actor-card :actor="event.organizerActor" />
</popover-actor-card>
<router-link
class="attributed-to-link"
v-if="event.attributedTo"
:to="{
name: RouteName.GROUP,
@ -1436,6 +1437,12 @@ div.sidebar {
span.online-address {
display: flex;
}
a.attributed-to-link {
&:focus {
outline: 3px solid $violet-3;
}
}
}
::v-deep .metadata-organized-by {