tone down streamer default image
This commit is contained in:
parent
2b90bcbd83
commit
5afbb97f3e
|
@ -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")" />
|
||||
}
|
||||
|
|
|
@ -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]
|
||||
}
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
flex: 0 0 250px;
|
||||
background: #888;
|
||||
}
|
||||
.streamer img.picture.default {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.streamer .overview {
|
||||
margin: 20px 10px 0 20px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue