|
|
@@ -2,25 +2,50 @@ h5.modal-title { |
|
|
|
margin: 0px !important; |
|
|
|
} |
|
|
|
|
|
|
|
body.modal-open { |
|
|
|
overflow: auto; |
|
|
|
height: auto; |
|
|
|
min-height: 100%; |
|
|
|
// Hack to fix incorrect padding applied by Bootstrap |
|
|
|
body.modal-open[style^="padding-right"] { |
|
|
|
padding-right: 12px !important; |
|
|
|
|
|
|
|
header.navbar { |
|
|
|
padding-right: 12px !important; |
|
|
|
margin-right: -12px !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.modal { |
|
|
|
// Same scrollbar as body |
|
|
|
scrollbar-width: auto; |
|
|
|
&::-webkit-scrollbar { |
|
|
|
width: 12px; |
|
|
|
height: 12px; |
|
|
|
} |
|
|
|
|
|
|
|
// Hide scrollbar on touch devices |
|
|
|
@media(max-width: 991px) { |
|
|
|
scrollbar-width: none; |
|
|
|
&::-webkit-scrollbar { |
|
|
|
width: 0; |
|
|
|
height: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.modal-content { |
|
|
|
border-color: var(--border-color); |
|
|
|
} |
|
|
|
.modal-header { |
|
|
|
position: sticky; |
|
|
|
top: 0; |
|
|
|
z-index: 3; |
|
|
|
background: inherit; |
|
|
|
padding: var(--padding-md) var(--padding-lg); |
|
|
|
padding-bottom: 0; |
|
|
|
border-bottom: 0; |
|
|
|
// padding-bottom: 0; |
|
|
|
border-bottom: 1px solid var(--border-color); |
|
|
|
|
|
|
|
.modal-title { |
|
|
|
font-weight: 500; |
|
|
|
line-height: 2em; |
|
|
|
font-size: $font-size-lg; |
|
|
|
max-width: calc(100% - 80px); |
|
|
|
} |
|
|
|
|
|
|
|
.modal-actions { |
|
|
@@ -60,9 +85,17 @@ body.modal-open { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.awesomplete ul { |
|
|
|
z-index: 2; |
|
|
|
} |
|
|
|
|
|
|
|
.modal-footer { |
|
|
|
position: sticky; |
|
|
|
bottom: 0; |
|
|
|
z-index: 1; |
|
|
|
background: inherit; |
|
|
|
padding: var(--padding-md) var(--padding-lg); |
|
|
|
border-top: 0; |
|
|
|
border-top: 1px solid var(--border-color); |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
button { |
|
|
|