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 TextAreaWrap from 'src/inputs/TextArea'
import { PrimaryButton, GhostButton } from 'presets/Buttons'
import { ButtonLabel } from 'atoms/Button'

const StyledApproveButton = styled.withComponent(PrimaryButton) `
  background: #008A00;
  border-radius: 4px;
  margin-bottom: 16px;
  color: #ffffff;
  @font(18, medium);

  @tablet-or-smaller(){
    order: 1;
  }

  @phone-or-smaller(){
    order: 0;
  }
`

const StyledRejectButton = styled.withComponent(GhostButton) `
  border: 1px solid #5F6C88;
  @font(18, medium);
  color: #5F6C88;

  @tablet-or-smaller(){
    margin-right: 16px;
  }
`

const Wrapper = styled.div `
  width: 100%;

  .form-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex: 0 0 100%;
  }

  .textarea-container {
    display: flex;
    flex: 0 0 70%;
    margin-bottom: rem(24);
    margin-right: rem(16);

    @tablet-or-smaller() {
      flex: 100%;
      margin-right: 0;
    }

    .comment-box {
      width: 100%;
      height: 140px;
      resize: none;
      border: 0;
      border: 1px solid #979797;

      @phone-or-smaller() {
        height: 118px;
      }

      &::placeholder {
        font-size: rem(18);
        font-style: italic;
        color: #5f6c88;
        padding-top: 8px;
        padding-left: 10px;
      }
    }
  }

  .button-group {
    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;
    }
  }
`

export { StyledApproveButton, StyledRejectButton, Wrapper }