1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

Chained selectors .profile-top and about-picture to share the background image using the profile image file option

This commit is contained in:
Ismaël Sebbane 2021-09-22 13:23:12 +02:00
parent 5a1f7497ef
commit caa66f26ab

View File

@ -279,17 +279,12 @@ a.label:focus,
}
.about-picture {
background: linear-gradient( rgba(255,255,255,0.12), rgba(255,255,255,0.13) ),
linear-gradient(<%=Stylesheet.primary_with_alpha(0.78)%>, <%=Stylesheet.primary_with_alpha(0.82)%>),
url('/about-fablab.jpg') no-repeat;
}
.social-icons > div:hover {
background-color: $secondary;
color: $secondary-text-color;
}
.profile-top {
.profile-top, .about-picture {
background: linear-gradient( rgba(255,255,255,0.12), rgba(255,255,255,0.13) ),
linear-gradient(<%=Stylesheet.primary_with_alpha(0.78)%>, <%=Stylesheet.primary_with_alpha(0.82)%>),
url("<%=CustomAsset.get_url('profile-image-file') || '/about-fablab.jpg'%>") no-repeat;