tone down streamer default image

This commit is contained in:
Thibault Duplessis 2018-01-04 00:56:21 -05:00
parent 2b90bcbd83
commit 5afbb97f3e
3 changed files with 5 additions and 2 deletions

View file

@ -2,5 +2,5 @@
@c.coach.picturePath.map { path =>
<img width=@size height=@size class="picture" src="@dbImageUrl(path.value)" alt="@c.user.titleUsername lichess coach" />
}.getOrElse {
<img width=@size height=@size class="picture" src="@staticUrl("images/coach-nopic.svg")" />
<img width=@size height=@size class="default picture" src="@staticUrl("images/coach-nopic.svg")" />
}

View file

@ -17,7 +17,7 @@ private[coach] object BsonHandlers {
import Coach.User
implicit val CoachUserBSONHandler = Macros.handler[User]
implicit val CoachBSONHandler = Macros.handler[Coach]
implicit val CoachBSONHandler = lila.db.BSON.LoggingHandler[Coach](logger)(Macros.handler[Coach])
implicit val CoachReviewBSONHandler = Macros.handler[CoachReview]
}

View file

@ -8,6 +8,9 @@
flex: 0 0 250px;
background: #888;
}
.streamer img.picture.default {
opacity: 0.3;
}
.streamer .overview {
margin: 20px 10px 0 20px;
}