@procraft/widget-order
Version:
Order widget for landing
91 lines (79 loc) • 1.53 kB
text/typescript
import styled from 'styled-components'
import { StarsStyled } from '../Stars/styles'
export const ReviewsPopupContentStyled = styled.div`
height: 100%;
width: 100%;
max-width: 700px;
position: relative;
overflow: hidden;
padding-left: 50px;
> button.close {
position: absolute;
top: 10px;
left: 10px;
cursor: pointer;
background: white;
border-radius: 50%;
width: 32px;
height: 32px;
border: none;
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
> svg {
width: 16px;
height: 16px;
}
}
> .content {
/* border: 1px solid red; */
overflow: auto;
height: 100%;
width: 100%;
padding: 30px;
background: white;
/* margin-left: 50px; */
}
`
export const ReviewsPopupTitleStyled = styled.div`
font-size: 18px;
font-weight: 700;
color: #333;
display: flex;
align-items: center;
${StarsStyled} {
margin: 0 10px;
> svg {
width: 18px;
height: 18px;
}
}
.reviews,
.mean-val {
font-size: 16px;
font-weight: 600;
color: #1f63a7;
}
`
export const ReviewsPopupStyled = styled.div`
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100%;
background: rgba(0, 0, 0, 0.6);
display: flex;
justify-content: flex-end;
z-index: 1100;
/* overflow: hidden; */
&,
* {
box-sizing: border-box;
font-family: Inter, sans-serif;
}
${ReviewsPopupTitleStyled} {
margin-bottom: 15px;
}
`