Инициализация в новом репозитории
This commit is contained in:
commit
eb1f18f53e
374 changed files with 226678 additions and 0 deletions
70
FRONT/DEV/src/components/modalwindows/style.ts
Normal file
70
FRONT/DEV/src/components/modalwindows/style.ts
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
import styled from "styled-components";
|
||||
|
||||
export const ModalWindow = styled.div`
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 9999;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
`
|
||||
|
||||
export const ModalContainer = styled.div<{height?: string}>`
|
||||
border-radius: 12px;
|
||||
background: ${(props)=>props.theme.secondary};
|
||||
color: ${(props=>props.theme.textColor)};
|
||||
position: relative;
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
gap: 15px;
|
||||
height: ${(props) => props.height ? props.height : '200px'};
|
||||
width: 520px;
|
||||
`
|
||||
|
||||
export const ModalTitle = styled.div`
|
||||
padding: 20px;
|
||||
border-bottom: 1px solid #9D9D9D;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
h3{
|
||||
font-size: 18px;
|
||||
}
|
||||
`
|
||||
|
||||
export const ModalContent = styled.div`
|
||||
padding: 0 20px;
|
||||
|
||||
h3{
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
p{
|
||||
font-size: 12px;
|
||||
}
|
||||
`
|
||||
|
||||
export const ModalText = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
`
|
||||
|
||||
export const ErrorMessage = styled.p`
|
||||
color: #d95454;
|
||||
`
|
||||
|
||||
export const ButtonContainer = styled.div`
|
||||
justify-content: flex-end;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 20px;
|
||||
`
|
||||
Loading…
Add table
Add a link
Reference in a new issue