diff --git a/assets/sass/_theme/sections/volumes.sass b/assets/sass/_theme/sections/volumes.sass index 3afff66b07194cb37f202c9b3127ffec404a5b8e..40dcd9f2fb6154a7ce5c107c694658c095c27f9f 100644 --- a/assets/sass/_theme/sections/volumes.sass +++ b/assets/sass/_theme/sections/volumes.sass @@ -33,17 +33,32 @@ &:hover text-decoration-color: rgba(0,0,0,1) .item--informations + margin-top: $spacing1 a, button @include meta - background-color: white - border: 1px solid $color-border + @include button-reset cursor: pointer + &::before + background-color: white + border: 1px solid $color-border + margin-right: $spacing1 + padding: half($spacing0) + transition: background 0.3s ease, border 0.3s ease + &:hover::before + background-color: $color-text + border-color: transparent + color: $color-background + button + @include icon-block(eye, before) + a + @include icon-block(download, before) * + * - margin-left: $spacing0 + margin-left: $spacing4 .modal display: none .document-aside @include media-breakpoint-up(desktop) grid-column: 9 / 12 + order: 2 dt @include meta \ No newline at end of file diff --git a/layouts/volumes/term.html b/layouts/volumes/term.html index 72e019c26735c29ad1c25089e7fddbc65bd5357d..86437069b7da249d22c4537469dc83211642308a 100644 --- a/layouts/volumes/term.html +++ b/layouts/volumes/term.html @@ -13,13 +13,13 @@ <div class="container"> + {{ partial "volumes/document-aside.html" . }} + <div class="content"> {{ partial "volumes/description.html" . }} {{ partial "volumes/table-contents.html" . }} </div> - {{ partial "volumes/document-aside.html" . }} - </div> {{ partial "blocks/list.html" . }}