Skip to content
Extraits de code Groupes Projets
Valider 1bfe735d rédigé par M Somerville's avatar M Somerville Validation de Eugen Rochko
Parcourir les fichiers

Inactive header in main profile to match column. (#8520)

parent 11658d86
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -345,6 +345,23 @@ ...@@ -345,6 +345,23 @@
margin-bottom: 10px; margin-bottom: 10px;
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2); box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
&.inactive {
opacity: 0.5;
.public-account-header__image,
.avatar {
filter: grayscale(100%);
}
.logo-button {
background-color: $secondary-text-color;
svg path:last-child {
fill: $secondary-text-color;
}
}
}
&__image { &__image {
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
overflow: hidden; overflow: hidden;
...@@ -582,6 +599,10 @@ ...@@ -582,6 +599,10 @@
border-bottom: 4px solid $highlight-text-color; border-bottom: 4px solid $highlight-text-color;
opacity: 1; opacity: 1;
} }
&.inactive::after {
border-bottom-color: $secondary-text-color;
}
} }
&:hover { &:hover {
......
.public-account-header .public-account-header{:class => ("inactive" if account.moved?)}
.public-account-header__image .public-account-header__image
= image_tag account.header.url, class: 'parallax' = image_tag account.header.url, class: 'parallax'
.public-account-header__bar .public-account-header__bar
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter