Skip to content

Commit

Permalink
#23 Changes after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
tdziezykDS committed Sep 5, 2023
1 parent 59842c6 commit 06c07a7
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 33 deletions.
15 changes: 5 additions & 10 deletions blocks/v2-cards/v2-cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ main .section.v2-cards-container .v2-cards-wrapper {
gap: 24px;
padding: 16px;
justify-content: center;
max-width: 1040px;
max-width: var(--wrapper-width);
margin: auto;
}

Expand All @@ -30,8 +30,8 @@ main .section.v2-cards-container .v2-cards-wrapper {
}

.v2-cards__image {
background: #e9eaec;
height: 193px;
background: var(--c-tertiary-light-cool-gray);
aspect-ratio: 16/9;
width: 100%;
object-fit: cover;
}
Expand Down Expand Up @@ -63,19 +63,15 @@ main .section.v2-cards-container .v2-cards-wrapper {

.v2-cards__button-container .icon {
stroke: currentcolor;
width: 1em;
height: 1em;
width: 16px;
height: 16px;
}

.v2-cards__button-container .icon svg {
width: 1em;
height: 1em;
}

.v2-cards__button-container .v2-cards__button:hover {
color: var(--c-secondary-steel);
}

@media (min-width: 744px) {
.v2-cards {
flex-flow: row wrap;
Expand All @@ -86,6 +82,5 @@ main .section.v2-cards-container .v2-cards-wrapper {

.v2-cards__card-item {
max-width: calc((100% - 32px) / 3);
min-width: 336px;
}
}
2 changes: 1 addition & 1 deletion blocks/v2-cards/v2-cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default async function decorate(block) {
el.classList.add(`${blockClass}__button-container`);
[...el.querySelectorAll('a')].forEach((link) => {
link.classList.add('standalone-link', `${blockClass}__button`);
link.classList.remove('button', 'primary');
link.classList.remove('button', 'button--primary');
});
});
}
2 changes: 1 addition & 1 deletion icons/chevron-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 3 additions & 10 deletions icons/play.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions icons/speach.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -971,10 +971,13 @@ main .section.responsive-title h1 {
}

.redesign-v2 a.standalone-link:active,
.redesign-v2 a.standalone-link:visited,
.redesign-v2 a.standalone-link:hover {
background: transparent;
color: var(--c-cta-blue-active);
.redesign-v2 a.standalone-link:visited {
color: var(--c-primary-black);
}

.redesign-v2 a.standalone-link:hover,
.redesign-v2 a.standalone-link:focus {
text-decoration: underline;
}

@media (min-width: 1040px) {
Expand Down

0 comments on commit 06c07a7

Please sign in to comment.