2023-08-04 18:52:20 +01:00
|
|
|
.vc-addon-card {
|
|
|
|
background-color: var(--background-secondary-alt);
|
|
|
|
color: var(--interactive-active);
|
|
|
|
border-radius: 8px;
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
padding: 12px;
|
|
|
|
width: 100%;
|
|
|
|
transition: 0.1s ease-out;
|
|
|
|
transition-property: box-shadow, transform, background, opacity;
|
2023-09-08 03:42:20 +02:00
|
|
|
box-sizing: border-box;
|
2023-08-04 18:52:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-card-disabled {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-card:hover {
|
|
|
|
background-color: var(--background-tertiary);
|
|
|
|
transform: translateY(-1px);
|
|
|
|
box-shadow: var(--elevation-high);
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-header {
|
|
|
|
margin-top: auto;
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-note {
|
|
|
|
height: 36px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
/* stylelint-disable-next-line property-no-unknown */
|
|
|
|
box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-name-author {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-name {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
flex-grow: 1;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-author {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-author::before {
|
|
|
|
content: "by ";
|
|
|
|
}
|
2024-05-11 17:32:44 -07:00
|
|
|
|
|
|
|
.vc-addon-title-container {
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
height: 1.25em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-title {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes vc-addon-title {
|
|
|
|
0% {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
transform: translateX(var(--offset));
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vc-addon-title:hover {
|
|
|
|
overflow: visible;
|
|
|
|
animation: vc-addon-title var(--duration) linear infinite;
|
|
|
|
}
|