Skip to content

Commit

Permalink
Merge pull request #245 from ELIXIR-Belgium/sass-fix
Browse files Browse the repository at this point in the history
bugfix: add back compatibility for older versions of the sass-converter
  • Loading branch information
bedroesb authored May 2, 2024
2 parents 9d3dafc + 93308c4 commit d9536dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ DEPENDENCIES
webrick (~> 1.8.1)

BUNDLED WITH
2.2.16
2.2.33
28 changes: 16 additions & 12 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -891,31 +891,35 @@ li.past_event,
}

/*-----More information tiles-----*/

.info-collapse {
transition: border-color 0.2s ease-in-out;

// Main accordion style
a.info-collapse {
i {
transition-property: margin-right, transform;
transition-duration: 0.2s;
transition-timing-function: ease-in-out;
transition: transform .2s ease-in-out;
margin-right: $spacer;
}

h3 {
transition: color .2s ease-in-out;
}
&[aria-expanded="true"] {
border-color: color.scale($border-color, $lightness: -30%) !important;
i {
transform: rotate(180deg);
}
}
&:hover {
border-color: color.scale($border-color, $lightness: -30%) !important;
i {
color: color.scale($link-color, $lightness: -20%) !important;
i,
h3 {
color: rgba($link-color, .8)!important;
}
}
}

// Add a bottom border to the last accordion.
a.info-collapse[aria-expanded="false"]:last-of-type,
a.info-collapse[aria-expanded="true"]:last-of-type + .show {
border-bottom: 1px solid $border-color;
}

// Collapsed content styling
.info-card {
.info-logo {
max-width: 250px;
Expand Down

0 comments on commit d9536dc

Please sign in to comment.