1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-07 06:45:23 +02:00

refactor(ui/modals): replace bootbox with react solution [EE-4541] (#8010)

This commit is contained in:
Chaim Lev-Ari 2023-02-14 13:49:41 +05:30 committed by GitHub
parent 392c7f74b8
commit e66dea44e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
111 changed files with 1330 additions and 1562 deletions

View file

@ -401,34 +401,6 @@ input[type='checkbox'] {
float: none !important;
}
.bootbox-form .bootbox-input-checkbox {
display: none;
}
.bootbox-form .visible {
position: initial !important;
display: initial !important;
margin-left: 10px !important;
margin-top: -2px !important;
}
.bootbox-form label {
padding-left: 0;
}
.bootbox-checkbox-list {
max-height: 200px;
overflow-y: auto;
background-color: var(--white-color);
border: 1px solid var(--grey-48);
border-radius: 4px;
}
:root[theme='dark'] .bootbox-checkbox-list,
:root[theme='highcontrast'] .bootbox-checkbox-list {
background-color: var(--bg-modal-content-color);
}
.small-select {
display: inline-block;
padding: 0px 6px;
@ -440,10 +412,6 @@ input[type='checkbox'] {
font-size: 14px;
}
.bootbox-form .checkbox i {
margin-left: 21px;
}
.visualizer_container {
display: flex;
flex-direction: row;
@ -584,20 +552,6 @@ input[type='checkbox'] {
padding: 0 !important;
}
.modal::before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -4px;
}
.modal-dialog {
display: inline-block;
text-align: left;
vertical-align: middle;
}
.striked::after {
border-bottom: 0.2em solid var(--grey-26);
content: '';
@ -630,17 +584,6 @@ input[type='checkbox'] {
margin-right: -50%;
}
/*bootbox override */
.modal-open {
padding-right: 0 !important;
}
.image-zoom-modal .modal-dialog {
width: 80%;
}
/*!bootbox override*/
/*toaster override*/
#toast-container > div {
opacity: 0.9;
@ -732,20 +675,6 @@ json-tree .branch-preview {
cursor: not-allowed;
}
/* used for bootbox prompt with inputType radio */
.form-check.radio {
margin-left: 15px;
}
.inline-text {
display: inline;
position: absolute;
font-family: 'Montserrat';
font-size: smaller;
margin-left: 5px;
margin-right: 5px;
}
.web-editor {
background-color: var(--bg-webeditor-color);
border-radius: 8px;