New CardActions component

This commit is contained in:
Philipp Stracker 2025-02-18 15:00:22 +01:00
parent 5ce891fe25
commit cf7d8ff119
No known key found for this signature in database
3 changed files with 28 additions and 5 deletions

View file

@ -77,15 +77,26 @@ $width_gap: 24px;
}
.ppcp--card-actions {
opacity: 0.5;
transition: opacity 0.3s;
&:hover {
opacity: 1;
&.ppcp--dimmed {
opacity: 0.5;
&:hover {
opacity: 1;
}
}
.components-button.is-tertiary:first-child {
padding-left: 0;
.components-button.is-tertiary {
transition: color 0.3s, background 0.3s;
&:first-child {
padding-left: 0;
}
svg {
margin-right: 4px;
}
}
}
}