Add card padder icon for items with an image
This commit is contained in:
parent
270501e4f8
commit
034a86119f
7 changed files with 39 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue