Skip to content

Commit

Permalink
Remove details block - style new drop-downs
Browse files Browse the repository at this point in the history
  • Loading branch information
protitude committed Sep 10, 2024
1 parent ab3de80 commit 79cc21f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 59 deletions.
37 changes: 19 additions & 18 deletions components/04-templates/_oda_reports.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,28 @@

.path-reports {

.sidebar-left {

details {
background: inherit;
border-top: none;
border-left: none;
border-right: none;
margin: 0;
}

summary {
border: none;
font-weight: normal;
background: inherit;
margin: 0;
padding: 0;
&:after {
div {
.collapsiblockTitle button {
position: relative;
background: none;
&::after {
position: absolute;
top: 5px;
right: 10px;
content: "";
background: top right url("../images/tojibbers-bl.svg") no-repeat;
background-size: 15px 15px;
height: 15px;
width: 15px;
transition: transform .5s;
@include reduced-motion {
transition: none;
}
}
}

.collapsiblockTitleCollapsed button::after {
transform: rotate(180deg);
}
}

main {
Expand Down
41 changes: 0 additions & 41 deletions templates/block/block--facet-block.html.twig

This file was deleted.

0 comments on commit 79cc21f

Please sign in to comment.