2022-09-15 12:52:39 +00:00
|
|
|
import Box from "@docspace/components/box";
|
|
|
|
import ComboBox from "@docspace/components/combobox";
|
|
|
|
import DropDown from "@docspace/components/drop-down";
|
|
|
|
import DropDownItem from "@docspace/components/drop-down-item";
|
|
|
|
import TextInput from "@docspace/components/text-input";
|
2022-09-22 12:20:27 +00:00
|
|
|
|
2022-09-15 12:52:39 +00:00
|
|
|
import styled from "styled-components";
|
|
|
|
|
|
|
|
export const StyledBox = styled(Box)`
|
|
|
|
position: relative;
|
|
|
|
max-width: 320px;
|
|
|
|
`;
|
|
|
|
|
|
|
|
export const StyledComboBox = styled(ComboBox)`
|
2022-09-22 12:20:27 +00:00
|
|
|
width: 57px;
|
|
|
|
height: 44px;
|
|
|
|
|
2022-09-15 12:52:39 +00:00
|
|
|
.combo-button {
|
2022-09-22 12:20:27 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-09-15 12:52:39 +00:00
|
|
|
border-right: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
padding-left: 0;
|
2022-09-22 12:20:27 +00:00
|
|
|
.forceColor {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
svg {
|
|
|
|
path:last-child {
|
|
|
|
fill: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-09-15 12:52:39 +00:00
|
|
|
}
|
2022-09-22 12:20:27 +00:00
|
|
|
.combo-buttons_arrow-icon {
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-top: 4px solid #a3a9ae;
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 21px;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
|
|
|
export const StyledText = styled.p`
|
|
|
|
color: #d0d5da;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 50px 0;
|
|
|
|
margin: 0;
|
2022-09-15 12:52:39 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
export const StyledInput = styled(TextInput)`
|
2022-09-22 12:20:27 +00:00
|
|
|
height: 44px;
|
2022-09-15 12:52:39 +00:00
|
|
|
padding-left: 10px;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2022-09-22 12:20:27 +00:00
|
|
|
}
|
2022-09-15 12:52:39 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
export const StyledDropDown = styled(DropDown)`
|
|
|
|
padding: 12px 16px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-top: 4px;
|
|
|
|
border: 1px solid #d0d5da;
|
|
|
|
border-radius: 3px;
|
2022-09-22 12:20:27 +00:00
|
|
|
box-shadow: none;
|
2022-09-15 12:52:39 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
export const StyledDropDownItem = styled(DropDownItem)`
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
2022-09-22 12:20:27 +00:00
|
|
|
padding: 0;
|
|
|
|
height: 36px;
|
|
|
|
svg {
|
|
|
|
width: 36px !important;
|
|
|
|
height: 36px !important;
|
|
|
|
}
|
|
|
|
.drop-down-icon {
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
margin-right: 0;
|
|
|
|
svg {
|
|
|
|
path:last-child {
|
|
|
|
fill: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-09-15 12:52:39 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
export const CountryFlag = styled.div`
|
2022-09-22 12:20:27 +00:00
|
|
|
box-sizing: border-box;
|
2022-09-15 12:52:39 +00:00
|
|
|
border: 1px solid #d0d5da;
|
|
|
|
margin-right: 10px;
|
2022-09-22 12:20:27 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 3px 0;
|
|
|
|
font-size: 0.6rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2022-09-15 12:52:39 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
export const CountryName = styled.h3`
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #33333;
|
|
|
|
margin: 0;
|
2022-09-22 12:20:27 +00:00
|
|
|
margin-left: 10px;
|
2022-09-15 12:52:39 +00:00
|
|
|
line-height: 20px;
|
|
|
|
`;
|
|
|
|
|
|
|
|
export const CountryDialCode = styled.p`
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 20px;
|
|
|
|
margin: 0;
|
2022-09-22 12:20:27 +00:00
|
|
|
margin-left: 5px;
|
2022-09-15 12:52:39 +00:00
|
|
|
color: #a3a9ae;
|
|
|
|
`;
|