borgwarehouse/Containers/RepoManage/RepoManage.module.css

296 lines
4.9 KiB
CSS

.modaleWrapper {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
margin: 50px 0px 0px 70px;
}
.modale {
position: fixed;
top: 10%;
width: 800px;
height: auto;
max-width: 75%;
max-height: 85%;
background: #fff;
padding: 20px 20px 20px;
overflow: auto;
border-radius: 10px;
box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
margin: 0 auto;
animation: append-animate 0.3s linear;
}
.modale h2 {
margin-top: 0;
color: #374151;
}
@keyframes append-animate {
from {
transform: scale(0);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
.close {
cursor: pointer;
margin-left: 95%;
color: #494b7a;
}
.close :hover {
color: #aa60ff;
}
.repoManageForm {
margin: auto;
width: 100%;
max-width: 600px;
border-radius: 8px;
background-color: #ffffff;
font-family: Inter, sans-serif;
color: #1f2937;
}
.formWrapper {
text-align: center;
width: 100%;
margin: 0 auto;
color: inherit;
}
.repoManageForm label {
display: block;
margin-top: 0.9rem;
margin-bottom: 0.5rem;
font-weight: 600;
font-size: 0.95rem;
color: #374151;
text-align: left;
}
.repoManageForm input,
.repoManageForm textarea,
.repoManageForm select {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid #d1d5db;
border-radius: 6px;
font-size: 0.9rem;
background-color: #f9fafb;
color: #111827;
font-family: Inter;
}
.repoManageForm textarea {
resize: vertical;
min-height: 80px;
}
.repoManageForm input:focus,
.repoManageForm textarea:focus,
.repoManageForm select:focus {
border-color: #6d4aff;
background-color: #ffffff;
outline: none;
box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.3);
}
.repoManageForm .invalid {
background-color: #fef2f2;
border-color: #ef4444;
}
.repoManageForm .invalid:focus {
box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}
.repoManageForm button {
display: block;
margin: 2rem auto 0 auto;
background-color: #6d4aff;
color: #ffffff;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease;
}
.repoManageForm button:hover {
background-color: #5c3dff;
}
.errorMessage {
color: #dc2626;
font-size: 0.875rem;
margin-top: 0.3rem;
}
.optionCommandWrapper {
display: flex;
gap: 0.5rem;
align-items: center;
margin-top: 1.5rem;
font-size: 0.95rem;
color: #374151;
}
.optionCommandWrapper label {
margin: 0;
}
.optionCommandWrapper input[type='checkbox'] {
width: 18px;
height: 18px;
accent-color: #6d4aff;
cursor: pointer;
}
.optionCommandWrapper input[type='checkbox']:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.4);
}
.selectAlert {
max-width: 160px;
}
.selectAlertWrapper label {
margin: 0;
}
.selectAlertWrapper {
display: flex;
flex-direction: row;
justify-content: start;
align-items: center;
margin-top: 1.5rem;
gap: 0.5rem;
font-size: 0.95rem;
color: #374151;
}
/* DELETE DIALOG */
.deleteDialogWrapper {
text-align: center;
margin: auto;
width: 80%;
height: 100%;
max-height: 590px;
color: #111827;
display: flex;
flex-direction: column;
justify-content: center;
}
.deleteDialogMessage {
background-color: #ea1313;
color: #fff;
font-weight: 500;
border-radius: 5px;
padding: 15px;
margin-top: 15px;
margin-bottom: 15px;
font-size: 1.1em;
}
.cancelButton {
border: 0;
padding: 10px 15px;
background-color: #c1c1c1;
color: white;
margin: 5px;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
font-weight: bold;
font-size: 1em;
}
.cancelButton:hover {
border: 0;
padding: 10px 15px;
background-color: #9a9a9a;
color: white;
margin: 5px;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
font-weight: bold;
font-size: 1em;
}
.cancelButton:active {
border: 0;
padding: 10px 15px;
background-color: #9a9a9a;
color: white;
margin: 5px;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
font-weight: bold;
font-size: 1em;
transform: scale(0.9);
}
.deleteButton {
border: 0;
padding: 10px 15px;
background-color: #ff0000;
color: white;
margin: 5px;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
font-weight: bold;
font-size: 1em;
}
.deleteButton:hover {
border: 0;
padding: 10px 15px;
background-color: #ff4b4b;
color: white;
margin: 5px;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
font-weight: bold;
font-size: 1em;
}
.deleteButton:active {
border: 0;
padding: 10px 15px;
background-color: #ff4b4b;
color: white;
margin: 5px;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
font-weight: bold;
font-size: 1em;
transform: scale(0.9);
}
.littleDeleteButton {
margin-top: 10px;
border: none;
font-weight: 300;
color: red;
text-decoration: underline;
background: none;
cursor: pointer;
}