Repository URL to install this package:
|
Version:
2.1.0 ▾
|
import { styled } from 'styleh-components'
const GalleryWrapper = styled.div`
width: 100%;
height: 300px;
position: relative;
background-color: var(--color-light-grey);
`
const GalleryListWrapper = styled.div`
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
`
const GalleryListContainer = styled.div`
/**
* setting dynamic height of the gallery container
*/
${props => props.containerWidth && styled.css`
width: ${props.containerWidth + 'px'};
`}
height: 100%;
position: absolute;
top: 0;
left: 0;
display: flex;
flex-direction: row;
`
const GalleryItemPanel = styled.div`
${props => props.itemWidth && styled.css`
width: ${props.itemWidth + 'px'};
`}
height: 100%;
background-color: var(--color-red);
border: 1px solid black;
`
const BulletsConatiner = styled.div`
display: flex;
justify-content: center;
margin-top: 10px;
`
const Bullet = styled.div`
width: 20px;
height: 20px;
border-radius: 50%;
background-color: grey;
display: flex;
align-items: center;
justify-content: center;
font-size: 9px;
margin: 5px;
color: white;
`
const NavigationContainer = styled.div`
position: absolute;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 1;
`
const LeftNavigation = styled.div`
width: 50px;
height: 100px;
background-color: grey;
`
const RightNavigation = styled.div`
width: 50px;
height: 100px;
background-color: grey;
`
export {
Bullet,
BulletsConatiner,
NavigationContainer,
LeftNavigation,
RightNavigation,
GalleryItemPanel,
GalleryListWrapper,
GalleryListContainer,
GalleryWrapper,
}