Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Revert "Release Template-V2" #924

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
208 changes: 75 additions & 133 deletions express/blocks/browse-by-category/browse-by-category.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
main .browse-by-category-wrapper.fullwidth {
margin: 0;
max-width: fit-content;
}

main .browse-by-category {
main .browse-by-category-container {
padding-bottom: 24px;
}

main .browse-by-category-container .browse-by-category {
max-width: max-content;
}
main .browse-by-category .carousel-container .carousel-platform {
align-items: start;
}
main .browse-by-category.card .carousel-container .carousel-platform {
gap: 14px;
margin: 6px 0 0 0;
}
main .browse-by-category .carousel-container .button.carousel-arrow {
}

main .browse-by-category-container .browse-by-category-wrapper {
padding: 0;
max-width: none;
}

main .browse-by-category-container .browse-by-category .carousel-container .carousel-platform {
align-items: flex-start;
}

main .browse-by-category-container .browse-by-category .carousel-container .button.carousel-arrow {
position: absolute;
top: 46px;
}
main .browse-by-category .browse-by-category-heading-section {
}

main .browse-by-category-container .browse-by-category-heading-section {
display: flex;
justify-content: space-between;
flex-direction: column;
Expand All @@ -30,28 +29,28 @@ main .browse-by-category-wrapper.fullwidth {
margin-left: auto;
margin-right: auto;
margin-bottom: 10px;
}
main .browse-by-category .browse-by-category-heading-section .browse-by-category-heading {
}

main .browse-by-category-container .browse-by-category-heading-section .browse-by-category-heading {
text-align: left;
font-size: 28px;
line-height: 30px;
}
main .browse-by-category .browse-by-category-heading-section .browse-by-category-link-wrapper {
}

main .browse-by-category-container .browse-by-category-heading-section .browse-by-category-link-wrapper {
margin: 8px 0 0;
}
main .browse-by-category .browse-by-category-link {
}

main .browse-by-category-container .browse-by-category-link {
font-size: 16px;
line-height: 22px;
display: flex;
padding: 0;
white-space: nowrap;
width: max-content;
}
main .browse-by-category .browse-by-category-link::after {
}

main .browse-by-category-container .browse-by-category-link::after {
display: flex;
width: 6px;
height: 6px;
Expand All @@ -62,14 +61,14 @@ main .browse-by-category-wrapper.fullwidth {
border-style: solid;
border-color: var(--color-info-accent);
transform-origin: 75% 75%;
transform: rotate(-45deg);
transform: rotate( -45deg );
content: "";
margin-top: 5px;
margin-left: 5px;
margin-right: 2.25px;
}
main .browse-by-category:not(.card) .browse-by-category-card {
}

main .browse-by-category-container .browse-by-category-category {
position: relative;
display: flex;
gap: 8px;
Expand All @@ -78,29 +77,19 @@ main .browse-by-category-wrapper.fullwidth {
min-width: 123px;
margin: 0;
padding: 10px 8px 0 8px;
}

main .browse-by-category.card .browse-by-category-card {
position: relative;
display: flex;
flex-direction: column;
}

main .browse-by-category .browse-by-category-card-link {
}

main .browse-by-category-container .browse-by-category-category-anchor {
position: absolute;
height: 100%;
width: 100%;
}

main .browse-by-category:not(.card) .browse-by-category-card-link:hover ~ .browse-by-category-image-wrapper img {
transform: scale(1.1) matrix(1, -0.07, 0.05, 1, 0, 0);
}

main .browse-by-category.card .browse-by-category-card-link:hover ~ .browse-by-category-image-wrapper img {
transform: scale(1.1) matrix(1, -0.01, 0.01, 1, 0, 0);
}

main .browse-by-category .browse-by-category-image-wrapper {
}

main .browse-by-category-container .browse-by-category-category-anchor:hover ~ .browse-by-category-category-image-wrapper img {
transform: scale(1.1) matrix(1, -0.07, 0.07, 1, 0, 0);
}

main .browse-by-category-container .browse-by-category-category-image-wrapper {
background-color: var(--color-gray-200);
min-height: 90px;
width: 148px;
Expand All @@ -109,100 +98,53 @@ main .browse-by-category-wrapper.fullwidth {
justify-content: center;
align-items: center;
pointer-events: none;
}
main .browse-by-category:not(.card) .browse-by-category-image-wrapper img {
}

main .browse-by-category-container .browse-by-category-category-image-wrapper img {
display: block;
object-fit: cover;
width: 80px;
height: 80px;
transform: matrix(1, -0.07, 0.07, 1, 0, 0);
box-shadow: 0 0 6px #0000001f;
box-shadow: 0 0 6px #0000001F;
border-radius: 8px;
opacity: 1;
transition: transform 0.2s ease-in-out;
}
main .browse-by-category .browse-by-category-image-wrapper .browse-by-category-image-shadow {
}

main .browse-by-category-container .browse-by-category-category-image-wrapper .browse-by-category-category-image-shadow {
position: absolute;
width: 76px;
height: 76px;
transform: matrix(0.97, -0.22, 0.22, 0.97, -6, 0);
background: var(--color-gray-300) 0 0 no-repeat padding-box;
border-radius: 10px;
opacity: 1;
}

main .browse-by-category.card .browse-by-category-image-shadow-wrapper {
display: block;
object-fit: cover;
transform: matrix(1, -0.07, 0.07, 1, 0, 0);
box-shadow: 0 0 6px #0000001f;
border-radius: 8px;
opacity: 1;
transition: transform 0.2s ease-in-out;
}

main .browse-by-category.card .browse-by-category-image-wrapper {
background-color: #f8f8f8;
min-height: 90px;
height: 116px;
width: 182px;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
pointer-events: none;
}

main .browse-by-category.card .browse-by-category-image-wrapper img {
display: block;
object-fit: contain;
max-width: 110px;
max-height: 97px;
height: 100%;
transform: matrix(1, -0.01, 0.01, 1, 0, 0);
box-shadow: 0 0 6px #0000001f;
border-radius: 8px;
opacity: 1;
transition: transform 0.2s ease-in-out;
}

main .browse-by-category.card .browse-by-category-image-wrapper .browse-by-category-image-shadow {
position: absolute;
width: 100%;
height: 100%;
transform: matrix(0.90, -0.18, 0.20, 0.90, -14, 0);
background: #d6d6d6e5;
}

main .browse-by-category:not(.card) .browse-by-category-card-title {
}

main .browse-by-category-container .browse-by-category-category-title {
margin: 0;
font-size: 18px;
line-height: 24px;
font-weight: 700;
max-width: 148px;
}

main .browse-by-category.card .browse-by-category-card-title {
margin: 6px 0;
font-size: 16px;
line-height: 24px;
font-weight: 700;
align-self: start;
}

@media (min-width: 900px) {
main .section .browse-by-category-wrapper {
padding: 0 28px;
}

main .section .browse-by-category-wrapper {
max-width: none;
}

main .browse-by-category .browse-by-category-heading-section {
flex-direction: row;
padding: 0;
}

@media (min-width: 900px) {
main .browse-by-category-container .browse-by-category-heading-section {
flex-direction: row;
padding: 0;
}

main .browse-by-category-container .browse-by-category-wrapper {
padding: 0 28px;
max-width: none;
}
}

@media (min-width: 1200px) {
main .browse-by-category-container .browse-by-category-wrapper {
padding: 0 28px;
max-width: none;
}
}
}
Loading