Repository URL to install this package:
|
Version:
2.1.14 ▾
|
import { styled } from 'styleh-components'
import { PrimaryButton, GhostButton } from 'presets/Buttons'
const StyledApproveButton = styled(PrimaryButton) `
background: var(--color-dark-green);
border-radius: 4px;
margin-bottom: 16px;
color: var(--color-pure-white);
@font (18, medium);
@tablet-or-smaller() {
order: 1;
}
@phone-or-smaller() {
order: 0;
}
`
const StyledRejectButton = styled(GhostButton) `
border: 1px solid var(--color-dark-grey);
@font (18, medium);
color: var(--color-dark-grey);
@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: var(--color-dark-grey);
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 }