123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- ---
- ---
- .carousel {
- width: 100%;
- overflow: hidden;
- .header {
- display: flex;
- flex-direction: row;
- margin-top: var(--margin);
- padding-top: var(--margin);
- padding-bottom: var(--margin);
- vertical-align: middle;
- animation-name: appear-from-blur;
- animation-duration: 1s;
- animation-fill-mode: forwards;
- h1 {
- margin-top: auto;
- margin-bottom: auto;
- font-size: x-large;
- font-weight: bold;
- }
- .arrow {
- position: relative;
- width: calc(var(--margin) + var(--button-icon-size));
- min-width: calc(var(--margin) + var(--button-icon-size));
- height: calc(var(--margin) + var(--button-icon-size));
- background: var(--color-container);
- border: none;
- border-radius: 50%;
- margin-right: var(--margin);
- padding: 0;
- & > img {
- width: 100%;
- height: 100%;
- filter: invert(100%);
- align-self: center;
- }
- }
- }
- #carousel-pane {
- position: relative;
- display: flex;
- flex-direction: row;
- left: calc(var(--margin) * -1);
- transition: transform .3s ease;
- transform: translateX(0);
- .card {
- position: relative;
- width: var(--product-card-width);
- max-width: calc(100% - var(--margin) * 2);
- display: flex;
- flex-direction: column;
- .icon {
- width: calc(var(--product-card-width));
- aspect-ratio: 1 / 1;
- border-radius: var(--corner-radius-small);
- margin-bottom: var(--margin);
- background-repeat: no-repeat;
- background-size: cover;
- background-position: center;
- }
- .name {
- font-size: large;
- font-weight: bold;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .button {
- margin-top: auto;
- }
- #icon-container {
- display: flex;
- flex-direction: row;
- margin-top: auto;
- .source-badge {
- margin-right: var(--source-badge-margin);
- }
- }
- }
- }
- }
|