Skip to content
Snippets Groups Projects
Unverified Commit d437bacd authored by Olivia Simonet's avatar Olivia Simonet Committed by GitHub
Browse files

Ajustement des icônes dans les titres des blocs de page (#896)

parent c103d298
No related branches found
No related tags found
No related merge requests found
......@@ -141,8 +141,6 @@
@include in-page-without-sidebar
.block-title
a
@include stretched-link(before)
.top
.description
p
......@@ -202,13 +200,7 @@
display: flex
flex-direction: column
.page-title a
@include stretched-link
text-decoration: none
.more
@include icon(arrow, after, true)
&::after
opacity: 1
transition: padding-left 0.3s
&:hover .more::after
padding-left: pxToRem(10)
.media
......@@ -231,13 +223,8 @@
position: relative
+ .page
margin-top: $spacing-5
.more
@include icon(arrow-right-line, after, true)
@include hover-translate-icon(after)
&:hover .more:after
transform: translateX(#{pxToRem(10)})
&-title a
@include stretched-link
.media
img
aspect-ratio: 1
......
......@@ -2,9 +2,14 @@
@include article
.page-title
a
@include icon(arrow-right-line, after, true)
@include hover-translate-icon(after)
@include stretched-link(before)
// exclusion for blocks with "more" link
.block:not(.block-pages--large, .block-pages--alternate) &
@include icon(arrow-right-line, after, true)
@include hover-translate-icon(after)
.more
@include icon(arrow-right-line, after, true)
@include hover-translate-icon(after)
.block-pages,
.pages
......
......@@ -15,7 +15,7 @@
{{ else }}
{{ $image_class = "" }}
{{ end }}
<article class="{{ $image_class }} {{- if (not (isset .Params "image")) -}} without-image {{- end -}}">
<article class="page {{ $image_class }} {{- if (not (isset .Params "image")) -}} without-image {{- end -}}">
{{ $heading_tag.open }}
<a href="{{- .Permalink -}}">
{{- partial "PrepareHTML" .Title -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment