2021-06-30 15:10:16 +00:00
|
|
|
import styled from "styled-components";
|
2022-01-20 15:29:09 +00:00
|
|
|
import Base from "../themes/base";
|
2021-06-30 15:10:16 +00:00
|
|
|
|
|
|
|
const BannerWrapper = styled.div`
|
2021-07-02 10:21:54 +00:00
|
|
|
max-width: 185px;
|
2022-01-20 15:29:09 +00:00
|
|
|
border: ${(props) => props.theme.campaignsBanner.border};
|
2021-06-30 15:10:16 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
padding: 15px;
|
2021-07-02 15:08:04 +00:00
|
|
|
margin: 20px 0px 50px 0px;
|
2021-06-30 15:10:16 +00:00
|
|
|
|
2021-07-01 11:36:48 +00:00
|
|
|
@media screen and (max-width: 1024px) {
|
2021-07-02 10:21:54 +00:00
|
|
|
max-width: inherit;
|
2021-07-01 11:36:48 +00:00
|
|
|
}
|
|
|
|
|
2021-06-30 21:28:58 +00:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2022-01-20 15:29:09 +00:00
|
|
|
color: ${(props) => props.theme.campaignsBanner.color};
|
2021-06-30 21:28:58 +00:00
|
|
|
}
|
|
|
|
|
2021-11-11 14:21:49 +00:00
|
|
|
.banner-img-wrapper {
|
|
|
|
height: 160px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-06-30 21:50:15 +00:00
|
|
|
img {
|
2021-07-02 15:08:04 +00:00
|
|
|
max-width: 100%;
|
2021-06-30 21:50:15 +00:00
|
|
|
height: auto;
|
2021-11-11 14:21:49 +00:00
|
|
|
margin-top: 5px;
|
2021-06-30 21:50:15 +00:00
|
|
|
}
|
|
|
|
|
2021-07-01 12:18:02 +00:00
|
|
|
.banner-sub-header {
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
2021-06-30 15:10:16 +00:00
|
|
|
.banner-btn {
|
|
|
|
width: 100%;
|
2022-01-20 15:29:09 +00:00
|
|
|
color: ${(props) => props.theme.campaignsBanner.btnColor};
|
2021-06-30 15:10:16 +00:00
|
|
|
margin-top: 15px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
2021-07-01 09:23:20 +00:00
|
|
|
|
|
|
|
.banner-btn:active {
|
2022-01-20 15:29:09 +00:00
|
|
|
color: ${(props) => props.theme.campaignsBanner.btnColor};
|
|
|
|
background: ${(props) => props.theme.campaignsBanner.btnBackgroundActive};
|
2021-07-01 09:23:20 +00:00
|
|
|
border: none;
|
|
|
|
}
|
2021-06-30 15:10:16 +00:00
|
|
|
`;
|
|
|
|
|
2022-01-20 15:29:09 +00:00
|
|
|
BannerWrapper.defaultProps = { theme: Base };
|
|
|
|
|
2021-07-01 08:52:56 +00:00
|
|
|
export default BannerWrapper;
|