jellyfish-web/src/components/cardbuilder/card.css

825 lines
14 KiB
CSS
Raw Normal View History

2020-01-19 14:29:41 +01:00
button {
-webkit-border-fit: border !important;
}
2018-10-23 01:13:23 +03:00
button::-moz-focus-inner {
padding: 0;
border: 0;
2018-10-23 01:13:23 +03:00
}
.card {
border: 0;
font-size: inherit !important;
font-family: inherit !important;
text-transform: none;
background: none !important;
background-color: transparent !important;
2018-10-23 01:13:23 +03:00
margin: 0;
padding: 0;
display: block;
color: inherit !important;
2020-01-22 21:40:45 +01:00
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
outline: none !important;
2018-10-23 01:13:23 +03:00
cursor: pointer;
contain: layout style;
flex-shrink: 0;
font-weight: inherit !important;
2018-10-23 01:13:23 +03:00
}
.card:not(.show-animation) {
contain: layout style paint;
2018-10-23 01:13:23 +03:00
}
.itemsContainer {
display: flex;
}
2018-10-23 01:13:23 +03:00
.vertical-list {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
2018-10-23 01:13:23 +03:00
}
.vertical-wrap {
display: flex;
flex-direction: row;
flex-wrap: wrap;
2018-10-23 01:13:23 +03:00
}
.vertical-wrap.centered {
justify-content: center;
}
2018-10-23 01:13:23 +03:00
.cardScalable {
position: relative;
contain: layout style;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.cardPadder-backdrop,
2020-01-25 11:42:43 +01:00
.cardPadder-mixedBackdrop,
.cardPadder-smallBackdrop,
.cardPadder-overflowBackdrop,
.cardPadder-overflowSmallBackdrop {
2018-10-23 01:13:23 +03:00
padding-bottom: 56.25%;
contain: strict;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.cardPadder-square,
2020-01-25 11:42:43 +01:00
.cardPadder-mixedSquare,
.cardPadder-overflowSquare,
.overflowSquareCard-textCardPadder {
2018-10-23 01:13:23 +03:00
padding-bottom: 100%;
contain: strict;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.cardPadder-portrait,
2020-01-25 11:42:43 +01:00
.cardPadder-mixedPortrait,
.cardPadder-overflowPortrait,
.overflowPortraitCard-textCardPadder {
2018-10-23 01:13:23 +03:00
padding-bottom: 150%;
contain: strict;
2018-10-23 01:13:23 +03:00
}
.cardPadder-banner {
padding-bottom: 18.5%;
contain: strict;
2018-10-23 01:13:23 +03:00
}
.cardBox {
padding: 0 !important;
2019-06-21 14:19:33 -07:00
margin: 0.6em;
2018-10-23 01:13:23 +03:00
transition: none;
border: 0 solid transparent;
2020-01-22 21:40:45 +01:00
2020-01-09 19:35:19 +01:00
/* These both are needed in case cardBox is a button */
2020-01-22 21:40:45 +01:00
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
outline: none !important;
contain: layout;
contain: style;
2018-10-23 01:13:23 +03:00
}
2020-01-19 14:29:41 +01:00
.card.show-animation .cardBox {
will-change: transform;
transition: transform 200ms ease-out;
}
.card.show-focus:not(.show-animation) .cardBox {
2020-01-19 15:00:37 +01:00
margin: 0.4em;
2018-10-23 01:13:23 +03:00
}
.card.show-focus:not(.show-animation) .cardBox.visualCardBox,
.card.show-focus:not(.show-animation) .cardBox:not(.visualCardBox) .cardScalable {
2020-01-19 15:00:37 +01:00
border: 0.5em solid transparent;
2018-10-23 01:13:23 +03:00
}
.card.show-animation:focus > .cardBox {
transform: scale(1.18, 1.18);
2018-10-23 01:13:23 +03:00
}
.cardBox-bottompadded {
margin-bottom: 1.8em !important;
2018-10-23 01:13:23 +03:00
}
@media (max-width: 50em) {
2018-10-23 01:13:23 +03:00
.cardBox-bottompadded {
margin-bottom: 1.2em !important;
2018-10-23 01:13:23 +03:00
}
}
.card:focus {
position: relative !important;
z-index: 10 !important;
font-weight: inherit !important;
2018-10-23 01:13:23 +03:00
}
.btnCardOptions {
position: absolute;
2020-01-19 15:00:37 +01:00
bottom: 0.25em;
2018-10-23 01:13:23 +03:00
right: 0;
margin: 0 !important;
z-index: 1;
2018-10-23 01:13:23 +03:00
}
.mediaSourceIndicator {
display: flex;
position: absolute;
align-items: center;
justify-content: center;
2020-01-19 15:00:37 +01:00
top: 0.3em;
left: 0.3em;
2018-10-23 01:13:23 +03:00
text-align: center;
vertical-align: middle;
width: 1.6em;
height: 1.6em;
border-radius: 50%;
color: #fff;
background: rgb(51, 136, 204);
2018-10-23 01:13:23 +03:00
}
.cardImageContainer {
background-size: cover;
2018-10-23 01:13:23 +03:00
background-repeat: no-repeat;
background-position: center center;
2020-01-09 19:35:19 +01:00
display: -webkit-flex;
display: flex;
2018-10-23 01:13:23 +03:00
align-items: center;
justify-content: center;
position: relative;
background-clip: content-box !important;
color: inherit;
}
2020-01-22 21:40:45 +01:00
2020-06-23 19:09:22 +02:00
.cardScalable .cardImageContainer {
2018-10-23 01:13:23 +03:00
height: 100%;
contain: strict;
2018-10-23 01:13:23 +03:00
}
.chapterCardImageContainer {
background-color: #000;
border-radius: 0;
2018-10-23 01:13:23 +03:00
}
.textCardImageContainer {
background-color: #333;
2018-10-23 01:13:23 +03:00
}
.cardContent {
overflow: hidden;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
2020-01-22 21:40:45 +01:00
/* Needed in case this is a button */
2018-10-23 01:13:23 +03:00
display: block;
margin: 0 !important;
border: 0 !important;
padding: 0 !important;
cursor: pointer;
2018-10-23 01:13:23 +03:00
color: inherit;
width: 100%;
font-family: inherit;
font-size: inherit;
2020-05-02 17:34:06 +02:00
/* Needed in safari */
height: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
outline: none !important;
contain: strict;
2018-10-23 01:13:23 +03:00
}
2020-05-02 17:34:06 +02:00
.cardContent:not(.defaultCardBackground) {
2019-06-21 14:19:33 -07:00
background-color: transparent;
}
2018-10-23 01:13:23 +03:00
.cardBox:not(.visualCardBox) .cardPadder {
2020-05-02 19:27:40 +02:00
background-color: #242424;
2019-06-21 14:19:33 -07:00
}
2018-10-23 01:13:23 +03:00
.visualCardBox .cardContent {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
2018-10-23 01:13:23 +03:00
}
.cardContent-shadow,
.cardBox:not(.visualCardBox) .cardPadder {
box-shadow: 0 0.0725em 0.29em 0 rgba(0, 0, 0, 0.37);
2018-10-23 01:13:23 +03:00
}
.cardImage {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-size: cover;
2018-10-23 01:13:23 +03:00
background-repeat: no-repeat;
background-position: center;
border: none;
2018-10-23 01:13:23 +03:00
}
.cardImage-img {
max-height: 100%;
max-width: 100%;
2020-01-22 21:40:45 +01:00
/* This is simply for lazy image purposes, to ensure the image is visible sooner when scrolling */
2018-10-23 01:13:23 +03:00
min-height: 70%;
min-width: 70%;
margin: auto;
2018-10-23 01:13:23 +03:00
}
.coveredImage-img {
width: 100%;
height: 100%;
2018-10-23 01:13:23 +03:00
}
.coveredImage-noscale-img {
max-height: none;
max-width: none;
2018-10-23 01:13:23 +03:00
}
.coveredImage {
background-size: cover;
background-position: center center;
2018-10-23 01:13:23 +03:00
}
.coveredImage-noScale {
background-size: cover;
2018-10-23 01:13:23 +03:00
}
.cardFooter {
2020-01-19 15:00:37 +01:00
padding: 0.3em 0.3em 0.5em 0.3em;
position: relative;
2018-10-23 01:13:23 +03:00
}
.visualCardBox {
box-shadow: 0 0.0725em 0.29em 0 rgba(0, 0, 0, 0.37);
2020-01-19 15:00:37 +01:00
border-radius: 0.145em;
2018-10-23 01:13:23 +03:00
}
.innerCardFooter {
2020-01-19 15:00:37 +01:00
background: rgba(0, 0, 0, 0.7);
2018-10-23 01:13:23 +03:00
position: absolute;
bottom: 0;
left: 0;
text-align: left;
2018-10-23 01:13:23 +03:00
z-index: 1;
overflow: hidden;
2018-10-23 01:13:23 +03:00
max-width: 100%;
color: #fff;
2018-10-23 01:13:23 +03:00
}
.innerCardFooterClear {
background-color: transparent;
2018-10-23 01:13:23 +03:00
}
.fullInnerCardFooter {
right: 0;
2018-10-23 01:13:23 +03:00
}
.cardText {
2020-01-19 15:00:37 +01:00
padding: 0.06em 0.5em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
2018-10-23 01:13:23 +03:00
}
2020-05-18 19:14:34 +02:00
.dialog .cardText {
text-overflow: initial;
}
2018-10-23 01:13:23 +03:00
.cardText-secondary {
font-size: 86%;
2018-10-23 01:13:23 +03:00
}
.cardText-first {
2020-01-19 15:00:37 +01:00
padding-top: 0.24em;
2018-10-23 01:13:23 +03:00
}
2020-01-19 14:29:41 +01:00
.textActionButton {
border: 0 !important;
background: transparent;
padding: 0 !important;
cursor: pointer;
2020-01-22 21:40:45 +01:00
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
2020-01-19 14:29:41 +01:00
outline: none !important;
color: inherit;
vertical-align: middle;
font-family: inherit;
font-size: inherit;
}
.textActionButton:hover {
text-decoration: underline;
}
.cardText > .textActionButton {
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
.innerCardFooter > .cardText {
2020-01-19 15:00:37 +01:00
padding: 0.3em 0.5em;
2018-10-23 01:13:23 +03:00
}
.cardFooter-withlogo {
padding-left: 4em;
position: relative;
2018-10-23 01:13:23 +03:00
}
.cardFooterLogo {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 4.5em;
background-size: 70% auto;
background-repeat: no-repeat;
background-position: center center;
}
.cardTextCentered {
text-align: center;
2018-10-23 01:13:23 +03:00
}
.cardText-rightmargin {
margin-right: 2em;
2018-10-23 01:13:23 +03:00
}
.cardDefaultText {
white-space: normal;
text-align: center;
2018-10-23 01:13:23 +03:00
}
.cardImageContainer .cardImageIcon {
font-size: 5em;
color: inherit;
2018-10-23 01:13:23 +03:00
}
.cardImageIcon-small {
2020-02-14 03:17:39 +09:00
font-size: 3em !important;
2020-01-19 15:00:37 +01:00
margin-bottom: 0.1em;
2018-10-23 01:13:23 +03:00
}
.cardIndicators {
2020-01-19 15:00:37 +01:00
right: 0.225em;
top: 0.225em;
2018-10-23 01:13:23 +03:00
position: absolute;
display: flex;
align-items: center;
contain: layout style;
2018-10-23 01:13:23 +03:00
}
.cardProgramAttributeIndicators {
top: 0;
left: 0;
position: absolute;
display: flex;
text-transform: uppercase;
font-size: 92%;
2018-10-23 01:13:23 +03:00
}
.programAttributeIndicator {
2020-01-19 15:00:37 +01:00
padding: 0.18em 0.5em;
2018-10-23 01:13:23 +03:00
color: #fff;
font-weight: 500;
2018-10-23 01:13:23 +03:00
}
.cardOverlayButton {
2020-01-19 15:00:37 +01:00
color: rgba(255, 255, 255, 0.76);
2018-10-23 01:13:23 +03:00
margin: 0;
z-index: 1;
2020-01-19 15:00:37 +01:00
padding: 0.75em;
font-size: 88%;
2018-10-23 01:13:23 +03:00
}
.cardOverlayButton-br {
position: absolute;
bottom: 0;
right: 0;
2018-10-23 01:13:23 +03:00
}
.cardOverlayButtonIcon {
2020-01-19 15:00:37 +01:00
background-color: rgba(0, 0, 0, 0.7) !important;
2018-10-23 01:13:23 +03:00
border-radius: 100em;
width: 1.5em !important;
height: 1.5em !important;
justify-content: center;
align-items: center;
display: flex;
font-size: 1.66956521739130434em !important;
2018-10-23 01:13:23 +03:00
}
.cardOverlayButtonIcon.material-icons {
/* material-icons override display, so we need to
make a better matching selector to set it to flex */
display: flex;
}
2018-10-23 01:13:23 +03:00
.cardOverlayButton-centered {
bottom: initial;
right: initial;
position: static;
position: absolute;
display: flex;
font-size: 112%;
margin: -1.3em 0 0 -1.3em;
width: 2.6em;
height: 2.6em;
top: 50%;
left: 50%;
2020-01-19 15:00:37 +01:00
background-color: rgba(0, 0, 0, 0.5) !important;
border: 0.06em solid rgba(255, 255, 255, 0.6);
padding: 0.38em !important;
color: rgba(255, 255, 255, 0.76);
transition: transform 200ms ease-out;
2018-10-23 01:13:23 +03:00
}
.bannerCard {
width: 100%;
}
.backdropCard {
width: 100%;
}
.smallBackdropCard {
width: 50%;
2018-10-23 01:13:23 +03:00
}
.squareCard {
width: 50%;
2018-10-23 01:13:23 +03:00
}
.portraitCard {
width: 33.333333333333333333333333333333%;
2018-10-23 01:13:23 +03:00
}
.mixedPortraitCard {
width: 12em;
2018-10-23 01:13:23 +03:00
}
.mixedSquareCard {
width: 18em;
2018-10-23 01:13:23 +03:00
}
.mixedBackdropCard {
width: 32em;
2018-10-23 01:13:23 +03:00
}
@media (min-width: 25em) {
2018-10-23 01:13:23 +03:00
.backdropCard {
width: 50%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 31.25em) {
.smallBackdropCard {
width: 33.333333333333333333333333333333%;
}
2018-10-23 01:13:23 +03:00
2020-01-22 21:40:45 +01:00
.squareCard,
2020-01-25 11:42:43 +01:00
.portraitCard {
width: 33.333333333333333333333333333333%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 43.75em) {
2020-01-22 21:40:45 +01:00
.squareCard,
2020-01-25 11:42:43 +01:00
.portraitCard {
width: 25%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 48.125em) {
2018-10-23 01:13:23 +03:00
.backdropCard {
width: 33.333333333333333333333333333333%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 50em) {
2018-10-23 01:13:23 +03:00
.bannerCard {
width: 50%;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.squareCard,
2020-01-25 11:42:43 +01:00
.portraitCard {
width: 20%;
2018-10-23 01:13:23 +03:00
}
.smallBackdropCard {
width: 25%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 62.5em) {
2018-10-23 01:13:23 +03:00
.smallBackdropCard {
width: 20%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 75em) {
2018-10-23 01:13:23 +03:00
.backdropCard {
width: 25%;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.squareCard,
2020-01-25 11:42:43 +01:00
.portraitCard {
width: 16.666666666666666666666666666667%;
2018-10-23 01:13:23 +03:00
}
.bannerCard {
width: 33.333333333333333333333333333333%;
2018-10-23 01:13:23 +03:00
}
.smallBackdropCard {
width: 16.666666666666666666666666666667%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 87.5em) {
2020-01-22 21:40:45 +01:00
.squareCard,
2020-01-25 11:42:43 +01:00
.portraitCard {
width: 14.285714285714285714285714285714%;
}
.smallBackdropCard {
width: 14.285714285714285714285714285714%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 100em) {
2018-10-23 01:13:23 +03:00
.smallBackdropCard {
width: 12.5%;
2018-10-23 01:13:23 +03:00
}
.backdropCard {
width: 20%;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.squareCard,
2020-01-25 11:42:43 +01:00
.portraitCard {
width: 12.5%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 120em) {
2020-01-22 21:40:45 +01:00
.squareCard,
2020-01-25 11:42:43 +01:00
.portraitCard {
width: 11.111111111111111111111111111111%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 131.25em) {
2018-10-23 01:13:23 +03:00
.bannerCard {
width: 25%;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.squareCard,
2020-01-25 11:42:43 +01:00
.portraitCard {
width: 10%;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 156.25em) {
2018-10-23 01:13:23 +03:00
.backdropCard {
width: 16.666666666666666666666666666667%;
2018-10-23 01:13:23 +03:00
}
}
.itemsContainer-tv > .backdropCard {
width: 25%;
}
.itemsContainer-tv > .squareCard {
width: 16.666666666666666666666666666667%;
}
.itemsContainer-tv > .portraitCard {
width: 16.666666666666666666666666666667%;
2018-10-23 01:13:23 +03:00
}
.overflowBackdropCard {
width: 72vw;
2018-10-23 01:13:23 +03:00
}
.overflowSmallBackdropCard {
width: 72vw;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
width: 40vw;
2018-10-23 01:13:23 +03:00
}
@media (min-width: 25em) {
2018-10-23 01:13:23 +03:00
.overflowPortraitCard {
width: 31.2vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 35em) {
2018-10-23 01:13:23 +03:00
.overflowSquareCard {
width: 31.2vw;
2018-10-23 01:13:23 +03:00
}
.overflowBackdropCard {
width: 45.5vw;
2018-10-23 01:13:23 +03:00
}
.overflowSmallBackdropCard {
width: 30vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 43.75em) {
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
width: 23.1vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 48.125em) {
2020-01-22 21:40:45 +01:00
.overflowBackdropCard,
2020-01-25 11:42:43 +01:00
.overflowSmallBackdropCard {
width: 30vw;
2018-10-23 01:13:23 +03:00
}
}
@media (orientation: landscape) {
2020-01-22 21:40:45 +01:00
.overflowBackdropCard,
2020-01-25 11:42:43 +01:00
.overflowSmallBackdropCard {
width: 30vw;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
width: 23.1vw;
2018-10-23 01:13:23 +03:00
}
}
@media (orientation: landscape) and (min-width: 48.125em) {
2020-01-22 21:40:45 +01:00
.overflowBackdropCard,
2020-01-25 11:42:43 +01:00
.overflowSmallBackdropCard {
width: 23.1vw;
2018-10-23 01:13:23 +03:00
}
}
@media (orientation: landscape) and (min-width: 50em) {
2018-10-23 01:13:23 +03:00
.overflowSmallBackdropCard {
width: 15.5vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 50em) {
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
width: 18.5vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 75em) {
2020-01-22 21:40:45 +01:00
.overflowBackdropCard,
2020-01-25 11:42:43 +01:00
.overflowSmallBackdropCard {
width: 23.1vw;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
width: 15.5vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 87.5em) {
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
width: 13.3vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 100em) {
2020-01-22 21:40:45 +01:00
.overflowBackdropCard,
2020-01-25 11:42:43 +01:00
.overflowSmallBackdropCard {
width: 18.7vw;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
width: 11.6vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 120em) {
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
2020-02-09 01:59:52 +01:00
width: 10.41vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 131.25em) {
2020-01-22 21:40:45 +01:00
.overflowSquareCard,
2020-01-25 11:42:43 +01:00
.overflowPortraitCard {
width: 9.3vw;
2018-10-23 01:13:23 +03:00
}
}
@media (min-width: 156.25em) {
2020-01-22 21:40:45 +01:00
.overflowBackdropCard,
2020-01-25 11:42:43 +01:00
.overflowSmallBackdropCard {
width: 15.6vw;
2018-10-23 01:13:23 +03:00
}
}
.itemsContainer-tv > .overflowBackdropCard {
width: 23.5vw;
2018-10-23 01:13:23 +03:00
}
.overflowBackdropCard-textCard {
width: 15.5vw !important;
2018-10-23 01:13:23 +03:00
}
.overflowBackdropCard-textCardPadder {
padding-bottom: 87.75%;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.itemsContainer-tv > .overflowSquareCard,
2020-01-25 11:42:43 +01:00
.itemsContainer-tv > .overflowPortraitCard {
width: 15.6vw;
2018-10-23 01:13:23 +03:00
}
.itemsContainer-tv > .overflowSmallBackdropCard {
width: 18.8vw;
2018-10-23 01:13:23 +03:00
}
.cardOverlayContainer {
2020-01-19 14:52:38 +01:00
background: rgba(0, 0, 0, 0.5);
2018-10-23 01:13:23 +03:00
opacity: 0;
2020-01-19 15:00:37 +01:00
transition: opacity 0.2s;
2018-10-23 01:13:23 +03:00
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
user-select: none;
2018-10-23 01:13:23 +03:00
}
.card-hoverable:hover .cardOverlayContainer {
opacity: 1;
2018-10-23 01:13:23 +03:00
}
.cardOverlayButton-hover {
opacity: 0;
transition: 0.2s;
background: transparent;
padding: 0.25em;
2018-10-23 01:13:23 +03:00
}
.cardOverlayButtonIcon-hover {
background: transparent !important;
2018-10-23 01:13:23 +03:00
}
.card-hoverable:hover .cardOverlayButton-hover {
opacity: 1;
2018-10-23 01:13:23 +03:00
}
.cardOverlayFab-primary {
2020-01-19 14:52:38 +01:00
background-color: rgba(0, 0, 0, 0.7);
2018-10-23 01:13:23 +03:00
font-size: 130%;
padding: 0;
width: 3em;
height: 3em;
margin-top: -1.5em;
margin-left: -1.5em;
position: absolute;
top: 50%;
left: 50%;
2018-10-23 01:13:23 +03:00
}
.cardOverlayFab-primary:hover {
transform: scale(1.4, 1.4);
transition: 0.2s;
2019-12-30 13:38:51 +01:00
}