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 { RectanglePlaceholder } from 'atoms/Placeholder'

const ActionButton = styled.withComponent(RectanglePlaceholder) `
  margin-bottom: 16px;

  @tablet-or-smaller() {
    width: calc(50% - 8px);
    margin: 0;
  }

  @phone-or-smaller() {
    width: 100%;
    margin-bottom: 16px;
  }
`
const ButtonWrapper = styled.div `
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(30% - rem(16));
  align-items: flex-end;

  @tablet-or-smaller() {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    flex: 0 0 100%;
  }

  @phone-or-smaller() {
    flex-direction: column;
  }
`
const CommentBox = styled.withComponent(RectanglePlaceholder) `
  width: rem(500);
  flex: 1;

  @tablet-or-smaller() {
    width: 100%;
    flex: 0 0 100%;
  }
`
const CommentBoxWrapper = styled.div `
  display: flex;
  flex: 0 0 70%;
  margin-bottom: rem(24);
  margin-right: rem(16);
  .textarea-container {
    width: 100%;
  }

  @tablet-or-smaller() {
    flex: 100%;
    margin-right: 0;
  }
`
const Wrapper = styled.div `
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 $spacing;
  @phone-or-smaller() {
    padding: 0 $spacing-small;
  }
`
export { ActionButton, ButtonWrapper, CommentBox, CommentBoxWrapper, Wrapper }