mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 07:26:15 +08:00
Revert "Update the style of the unlink protocol modal [SCI-7909]"
This reverts commit 0f9dcda99b
.
This commit is contained in:
parent
b482f4cfe9
commit
b99d9c485c
|
@ -100,7 +100,7 @@ function initLinkUpdate() {
|
|||
$("[data-action='unlink'], [data-action='revert'], [data-action='update-parent'], [data-action='update-self']")
|
||||
.on('ajax:success', function(e, data) {
|
||||
const modalBodyTemplate = (message, warning) => `<p class="message">${message}</p>
|
||||
<p class="warning">${warning || ''}</p>`;
|
||||
<p class="message">${warning || ''}</p>`;
|
||||
const {
|
||||
title,
|
||||
message,
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
@import "constants";
|
||||
@import "mixins";
|
||||
|
||||
$modal-spacing: 16px;
|
||||
|
||||
.content-pane.my-modules-protocols-index {
|
||||
background-color: $color-alto;
|
||||
margin: 0 -16px;
|
||||
|
@ -682,54 +680,3 @@ $modal-spacing: 16px;
|
|||
display: inline-block;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
#confirm-link-update-modal {
|
||||
.modal-content {
|
||||
.modal-header {
|
||||
border-bottom-color: transparent;
|
||||
position: relative;
|
||||
padding: $modal-spacing;
|
||||
|
||||
&::after {
|
||||
border-bottom: 1px solid $color-concrete;
|
||||
bottom: 0;
|
||||
left: $modal-spacing;
|
||||
position: absolute;
|
||||
width: calc(100% - 2* #{$modal-spacing});
|
||||
}
|
||||
|
||||
.close {
|
||||
color: $color-volcano;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: $modal-spacing;
|
||||
|
||||
.message {
|
||||
margin-bottom: $modal-spacing;
|
||||
}
|
||||
|
||||
.warning {
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
border-top-color: transparent;
|
||||
padding: $modal-spacing;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
border-top: 1px solid $color-concrete;
|
||||
left: $modal-spacing;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: calc(100% - 2* #{$modal-spacing});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue