Skip to content
Snippets Groups Projects
Commit d772cb4f authored by alexisben's avatar alexisben
Browse files

icons

parent 61029700
No related branches found
No related tags found
No related merge requests found
......@@ -358,4 +358,5 @@ $arrow-ease-transition-2: cubic-bezier(0, 0.65, 0.4, 1) !default
// Icons
$icon-burger-margin-right: -12px
$icon-close-margin-right: -12px
$icon-toc-margin-right: -14px
\ No newline at end of file
$icon-toc-margin-right: -14px
$icon-arrow-previous-margin-left: -22px // cf. testimonial
\ No newline at end of file
......@@ -76,24 +76,24 @@
.timeline-arrows
display: flex
padding-left: half($grid-gutter)
> button
@include button-reset
background: none
border: none
color: $block-timeline-horizontal-color
cursor: pointer
font-size: 1rem
padding: half($spacing1)
&:first-child
@include icon-block(arrow-left, before)
@include icon-block(arrow-previous, before)
margin-left: $icon-arrow-previous-margin-left
&:last-child
@include icon-block(arrow-right, before)
@include icon-block(arrow-next, before)
&:disabled
cursor: default
opacity: 0.3
.events
margin-left: calc(#{$grid-gutter} / -2)
margin-right: calc(#{$grid-gutter} / -2)
margin-left: half(-$grid-gutter)
margin-right: half(-$grid-gutter)
// TODO : fixer le px gap en desktop entre chaque event
ol
display: flex
......
......@@ -44,7 +44,6 @@
bottom: 0
position: absolute
right: 0
&.is-active
.splide__play
display: none
......@@ -53,16 +52,15 @@
&__pause,
&__play
// @extend .icon
height: 48px
padding: 0
width: 48px
&__play
@include icon(play)
@include icon-block(play)
&__pause
@include icon(pause)
@include icon-block(pause)
display: none
......
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