focus/frontend/static/css/modalCard.css

100 lines
1.5 KiB
CSS

.modal {
background-color: rgba(0, 0, 0, 0.8);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 1px solid green;
display: flex;
align-items: center;
}
.modal .content {
background: #1e1e1e;
padding: 20px;
border-radius: 8px;
max-width: 1000px;
width: 100%;
display: flex;
justify-content: center;
flex-direction: column;
gap: 30px;
}
.modal input,
.modal textarea {
background: none;
color: inherit;
border: 1px solid #333;
border-radius: 7px;
padding: 4px;
}
.modal .title {
font-size: 24px;
font-weight: bold;
width: 100%;
}
.modal .header {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.modal .buttons {
display: flex;
flex-direction: row;
align-items: center;
}
.modal button {
margin-left: 5px;
height: 50px;
width: 50px;
background: none;
border: none;
border-radius: 10px;
}
.modal button:hover {
background-color: #333;
cursor: pointer;
}
.modal .buttons button:first-child:hover {
background-color: #343;
}
.modal .buttons button:last-child:hover {
background-color: #433;
}
.modal .body {
margin-bottom: 20px;
}
.modal textarea {
width: 100%;
min-height: 200px;
resize: vertical;
font-family: inherit;
}
.modal td {
margin-right: 40px;
}
.modal td:first-child {
font-weight: bold;
}
.modal td:last-child {
margin-right: 0;
}
.modal td button {
width: 30px;
height: 30px;
}