|
|
@ -39,17 +39,37 @@
|
|
|
|
#handle
|
|
|
|
#handle
|
|
|
|
font-size: 14px
|
|
|
|
font-size: 14px
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#icon
|
|
|
|
|
|
|
|
display: none
|
|
|
|
|
|
|
|
position: absolute
|
|
|
|
|
|
|
|
z-index: 11
|
|
|
|
|
|
|
|
color: white
|
|
|
|
|
|
|
|
|
|
|
|
$mat-card-header-size: 100px !default
|
|
|
|
$mat-card-header-size: 100px !default
|
|
|
|
.profile-picture
|
|
|
|
.hover-box
|
|
|
|
background-image: url(https://material.angular.io/assets/img/examples/shiba1.jpg)
|
|
|
|
cursor: pointer
|
|
|
|
height: $mat-card-header-size
|
|
|
|
text-align: center
|
|
|
|
width: $mat-card-header-size
|
|
|
|
display: flex
|
|
|
|
border-radius: 50%
|
|
|
|
justify-content: center
|
|
|
|
flex-shrink: 0
|
|
|
|
align-items: center
|
|
|
|
background-size: cover
|
|
|
|
.profile-picture
|
|
|
|
// Makes `<img>` tags behave like `background-size: cover`. Not supported
|
|
|
|
height: $mat-card-header-size
|
|
|
|
// in IE, but we're using it as a progressive enhancement.
|
|
|
|
width: $mat-card-header-size
|
|
|
|
object-fit: cover
|
|
|
|
border-radius: 50%
|
|
|
|
|
|
|
|
flex-shrink: 0
|
|
|
|
|
|
|
|
background-size: cover
|
|
|
|
|
|
|
|
transition-duration: 0.5s
|
|
|
|
|
|
|
|
z-index: 10
|
|
|
|
|
|
|
|
object-fit: cover
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
|
|
|
|
.profile-picture
|
|
|
|
|
|
|
|
filter: brightness(70%)
|
|
|
|
|
|
|
|
#icon
|
|
|
|
|
|
|
|
display: block
|
|
|
|
|
|
|
|
filter: none
|
|
|
|
|
|
|
|
// Makes `<img>` tags behave like `background-size: cover`. Not supported
|
|
|
|
|
|
|
|
// in IE, but we're using it as a progressive enhancement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|