Add card padder icon for items with an image

This commit is contained in:
Dmitry Lyzo 2022-02-12 23:44:50 +03:00
parent 270501e4f8
commit 034a86119f
7 changed files with 39 additions and 1 deletions

View file

@ -227,6 +227,10 @@ button::-moz-focus-inner {
background-color: transparent;
}
.cardPadder {
position: relative; // For centering the cardImageIcon
}
.cardBox:not(.visualCardBox) .cardPadder {
border-radius: 0.2em;
background-color: #242424;
@ -377,6 +381,14 @@ button::-moz-focus-inner {
color: inherit;
}
.cardPadder .cardImageIcon {
color: #111;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.cardIndicators {
right: 0.225em;
top: 0.225em;