You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
770 B
37 lines
770 B
import styled from 'styled-components/macro'
|
|
|
|
const ArrowStyled = styled.button`
|
|
width: 40px;
|
|
height: 40px;
|
|
padding: 0;
|
|
border: 1px solid transparent;
|
|
border-radius: 50%;
|
|
background-color: transparent;
|
|
background-position: center;
|
|
outline: none;
|
|
z-index: 1;
|
|
position: absolute;
|
|
cursor: pointer;
|
|
|
|
:active {
|
|
background-color: rgba(117, 117, 117, 1);
|
|
}
|
|
|
|
:hover, :focus {
|
|
background-color: rgba(117, 117, 117, 0.5);
|
|
}
|
|
`
|
|
|
|
export const ArrowLeft = styled(ArrowStyled)`
|
|
background-image: url(/images/arrowLeft.svg);
|
|
top: 50%;
|
|
left: -10px;
|
|
transform: translate(0,-50%);
|
|
`
|
|
|
|
export const ArrowRight = styled(ArrowStyled)`
|
|
background-image: url(/images/arrowRight.svg);
|
|
top: 50%;
|
|
right: -10px;
|
|
transform: translate(0, -50%);
|
|
`
|
|
|