mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-07 16:32:28 +02:00
UI : modyfing style for checkbox
This commit is contained in:
parent
bbe1de8b8a
commit
3b3b46279c
|
@ -1,246 +1,268 @@
|
||||||
.modaleWrapper {
|
.modaleWrapper {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 50px 0px 0px 70px;
|
margin: 50px 0px 0px 70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modale {
|
.modale {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 10%;
|
top: 10%;
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: 75%;
|
max-width: 75%;
|
||||||
max-height: 85%;
|
max-height: 85%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 20px 20px 20px;
|
padding: 20px 20px 20px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
|
box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
animation: append-animate 0.3s linear;
|
animation: append-animate 0.3s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes append-animate {
|
@keyframes append-animate {
|
||||||
from {
|
from {
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.close {
|
.close {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-left: 95%;
|
margin-left: 95%;
|
||||||
color: #494b7a;
|
color: #494b7a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close :hover {
|
.close :hover {
|
||||||
color: #aa60ff;
|
color: #aa60ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repoManageForm {
|
.repoManageForm {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
padding: 15px 30px 30px 30px;
|
padding: 15px 30px 30px 30px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.formWrapper {
|
.formWrapper {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
color: #494b7a;
|
color: #494b7a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repoManageForm label {
|
.repoManageForm label {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
color: #494b7a;
|
color: #494b7a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repoManageForm input,
|
.repoManageForm input,
|
||||||
.repoManageForm textarea,
|
.repoManageForm textarea,
|
||||||
.repoManageForm select {
|
.repoManageForm select {
|
||||||
border: 1px solid #6d4aff21;
|
border: 1px solid #6d4aff21;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
height: auto;
|
height: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
/* color: #1b1340; */
|
/* color: #1b1340; */
|
||||||
color: #494b7a;
|
color: #494b7a;
|
||||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repoManageForm textarea {
|
.repoManageForm textarea {
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repoManageForm textarea:focus,
|
.repoManageForm textarea:focus,
|
||||||
.repoManageForm input:focus,
|
.repoManageForm input:focus,
|
||||||
.repoManageForm select:focus {
|
.repoManageForm select:focus {
|
||||||
outline: 1px solid #6d4aff;
|
outline: 1px solid #6d4aff;
|
||||||
box-shadow: 0 0 10px 3px rgba(110, 74, 255, 0.605);
|
box-shadow: 0 0 10px 3px rgba(110, 74, 255, 0.605);
|
||||||
}
|
}
|
||||||
|
|
||||||
.repoManageForm .invalid {
|
.repoManageForm .invalid {
|
||||||
background: #f3c7c7;
|
background: #f3c7c7;
|
||||||
border: 1px solid #e45454;
|
border: 1px solid #e45454;
|
||||||
outline: 1px solid #ff4a4a;
|
outline: 1px solid #ff4a4a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.repoManageForm .invalid:focus {
|
.repoManageForm .invalid:focus {
|
||||||
background: #f3c7c7;
|
background: #f3c7c7;
|
||||||
border: 1px solid #e45454;
|
border: 1px solid #e45454;
|
||||||
outline: 1px solid #ff4a4a;
|
outline: 1px solid #ff4a4a;
|
||||||
box-shadow: 0 0 10px 3px rgba(255, 74, 74, 0.605);
|
box-shadow: 0 0 10px 3px rgba(255, 74, 74, 0.605);
|
||||||
}
|
}
|
||||||
|
|
||||||
.repoManageForm button {
|
.repoManageForm button {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 15px auto;
|
margin: 15px auto;
|
||||||
}
|
}
|
||||||
.repoManageForm button:hover {
|
.repoManageForm button:hover {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 15px auto;
|
margin: 15px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.errorMessage {
|
.errorMessage {
|
||||||
color: red;
|
color: red;
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lanCommandWrapper {
|
||||||
|
display: flex;
|
||||||
|
margin-top: 20px;
|
||||||
|
color: #494b7a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lanCommandWrapper label {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lanCommandWrapper input[type='checkbox'] {
|
||||||
|
width: auto;
|
||||||
|
margin-right: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
accent-color: #6d4aff;
|
||||||
|
}
|
||||||
|
.lanCommandWrapper input[type='checkbox']:focus {
|
||||||
|
outline: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
accent-color: #6d4aff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* DELETE DIALOG */
|
/* DELETE DIALOG */
|
||||||
|
|
||||||
.deleteDialogWrapper {
|
.deleteDialogWrapper {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 590px;
|
max-height: 590px;
|
||||||
color: #111827;
|
color: #111827;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.deleteDialogMessage {
|
.deleteDialogMessage {
|
||||||
background-color: #ea1313;
|
background-color: #ea1313;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cancelButton {
|
.cancelButton {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
background-color: #c1c1c1;
|
background-color: #c1c1c1;
|
||||||
color: white;
|
color: white;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cancelButton:hover {
|
.cancelButton:hover {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
background-color: #9a9a9a;
|
background-color: #9a9a9a;
|
||||||
color: white;
|
color: white;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cancelButton:active {
|
.cancelButton:active {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
background-color: #9a9a9a;
|
background-color: #9a9a9a;
|
||||||
color: white;
|
color: white;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
transform: scale(0.9);
|
transform: scale(0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
.deleteButton {
|
.deleteButton {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
background-color: #ff0000;
|
background-color: #ff0000;
|
||||||
color: white;
|
color: white;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.deleteButton:hover {
|
.deleteButton:hover {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
background-color: #ff4b4b;
|
background-color: #ff4b4b;
|
||||||
color: white;
|
color: white;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.deleteButton:active {
|
.deleteButton:active {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
background-color: #ff4b4b;
|
background-color: #ff4b4b;
|
||||||
color: white;
|
color: white;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
transform: scale(0.9);
|
transform: scale(0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
.littleDeleteButton {
|
.littleDeleteButton {
|
||||||
border: none;
|
border: none;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
color: red;
|
color: red;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
background: none;
|
background: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.selectAlert {
|
.selectAlert {
|
||||||
margin: auto auto 35px auto;
|
margin: auto auto 35px auto;
|
||||||
max-width: 160px;
|
max-width: 160px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue