Cleanup CSS.
Extend Bootstrap classes instead of using own styling.
This commit is contained in:
@@ -155,14 +155,14 @@ $card-progress-height: 5px
|
|||||||
|
|
||||||
/* Tiny label for cards. e.g. 'WATCHED' on videos. */
|
/* Tiny label for cards. e.g. 'WATCHED' on videos. */
|
||||||
.card-label
|
.card-label
|
||||||
background-color: rgba($black, .5)
|
@extend .font-weight-bold
|
||||||
border-radius: 3px
|
@extend .position-absolute
|
||||||
color: $white
|
@extend .rounded
|
||||||
display: block
|
@extend .text-white
|
||||||
|
@extend .bg-dark
|
||||||
|
bottom: $card-progress-height + 3px // enough to be above the progress-bar
|
||||||
font-size: $font-size-xxs
|
font-size: $font-size-xxs
|
||||||
left: 5px
|
left: 5px
|
||||||
bottom: $card-progress-height + 3px // enough to be above the progress-bar
|
|
||||||
position: absolute
|
|
||||||
padding: 1px 5px
|
padding: 1px 5px
|
||||||
z-index: 1
|
z-index: 1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user