Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { styled } from 'styleh-components'
import { Label } from '@skava/ui/dist/components/atoms/Text'
import { Image, ImageElement } from '@skava/ui/dist/components/atoms/Image'
import { VideoPlayer } from '@skava/ui/dist/components/atoms/Video'

const StyledImage = styled(Image)`
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: rem(20);
  ${ImageElement} {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
`

const StyledLabel = styled(Label)`
  color: #fff;
  text-shadow: 0px 1px 20px #000;
  font-size: rem(24);
  font-weight: lighter;
  text-align: center;
  &:first-letter {
    text-transform: uppercase;
  }
`

const StyledVideoPlayer = styled(VideoPlayer)``

const StyledForegroundWrapper = styled.div`
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: rem(500);
`

const StyledWrapper = styled.section`
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #b5b5b5;
`

export {
  StyledImage,
  StyledLabel,
  StyledVideoPlayer,
  StyledForegroundWrapper,
  StyledWrapper,
}