Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import { styled } from 'styleh-components';
import { media, fontValue } from '@skava/styleh-toolset';
import { Button } from '@skava/packages/ui';
const buttonMixin = styled.css `
width: 15rem;
height: 2.75rem;
${media.tabletOrSmaller `
width: 19rem;
`}
${media.phoneOrSmaller `
width: 100%;
`}
`;
export const StyledPlaceOrderButton = styled(Button).attrs({
'children': 'Submit Order',
'data-qa': 'qa-submit-order',
}) `
/* === was in PlaceOrderButton === */
margin-top: rem(34);
cursor: pointer;
${media.phoneOrSmaller `
width: 100%;
margin-bottom: rem(21);
margin-top: 1.125rem;
`}
${media.tabletOrLarger `
margin-top: 1.5rem;
`}
/** === */
display: flex;
font: ${fontValue(13, 'bold')};
justify-content: center;
align-items: center;
text-align: center;
border: 0;
margin: auto;
padding: 0;
overflow: hidden;
a {
color: inherit;
}
${buttonMixin};
margin: 0;
color: var(--color-pure-white);
background-color: var(--color-dark-green);
border-radius: 4px;
padding: 0;
opacity: 1;
text-transform: capitalize;
.button-text {
font: ${fontValue(18, 'semi')};
}
`;
//# sourceMappingURL=styled.js.map