Skip to content

Commit

Permalink
Merge branch 'fk-stnfd-sprint-45' of github.com:SU-HSDO/suhumsci into…
Browse files Browse the repository at this point in the history
… shs-5505--banner-image-partial-overlay-alignment-issue
  • Loading branch information
cienvaras committed Mar 6, 2024
2 parents 232b03c + 6fe33f7 commit 75ed4f3
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 9 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_airy/css/humsci_airy.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docroot/themes/humsci/humsci_basic/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ function verticalLinkedCard() {
// Loop through each card
cards.forEach((card) => {
// Find the main link within each card
const mainLink = card.querySelector('.hb-vertical-linked-card__title__link');
const mainLink = card.querySelector(
'.hb-vertical-linked-card__title__link',
);

if (!mainLink) {
return;
}

// Add a click event listener to each card
function handleClick() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
@include hb-icon-background('plus', $color);
background-size: hb-calculate-rems(18px);
transition: hb-transition(transform);

@media (prefers-reduced-motion: reduce) {
transition: none;
}
}

@mixin hb-menu-minus-icon($color: 'gray-dark') {
Expand All @@ -28,6 +32,10 @@
@include hb-icon-background('chevron', 'black');
background-size: hb-calculate-rems(10px) hb-calculate-rems(7px);
transition: hb-transition(transform);

@media (prefers-reduced-motion: reduce) {
transition: none;
}
}

@mixin hb-menu-up-arrow-icon {
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_colorful/js/index.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_traditional/js/index.js

Large diffs are not rendered by default.

0 comments on commit 75ed4f3

Please sign in to comment.