[Library | Trunk]: Fs modal redesign

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/assets@60633 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2021-03-12 09:39:17 +00:00
parent 2f77c61dec
commit 7ed38ace50
1 changed files with 50 additions and 27 deletions

View File

@ -8,43 +8,66 @@
overflow: auto;
background-color: white;
opacity: 0;
display: flex;
justify-content: center;
padding: 15px 15px;
transform: scale(0);
transition: transform linear .3s, opacity linear .3s;
}
.fs-modal > .close {
position: fixed;
.fs-modal .fs-modal-dialog {
background-color: white;
border-radius: 4px;
max-height: calc(100vh - 30px);
width: 900px;
box-shadow: 0 3px 6px #0000001a;
height: fit-content;
position: relative;
}
.fs-modal .fs-modal-dialog > .header {
height: 19px;
padding: 15px;
border-bottom: 1px solid rgba(26, 26, 26, 0.2);
}
.fs-modal .fs-modal-dialog > .content {
max-height: calc(100% - 80px);
padding: 15px;
overflow: auto;
}
.fs-modal .fs-modal-dialog > .content.hasFooter {
max-height: calc(100% - 140px);
}
.fs-modal .fs-modal-dialog > .footer {
height: 39px;
padding: 10px 15px;
border-top: 1px solid rgba(26, 26, 26, 0.2);
}
.fs-modal .fs-modal-dialog > .close {
position: absolute;
opacity: 0.7;
top: 30px;
left: 30px;
transform: translate(-50%, -50%);
top: 10px;
right: 10px;
z-index: 1;
}
.fs-modal > .header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 80px;
padding: 10px 120px;
}
.fs-modal > .content {
margin-top: 100px;
}
.fs-modal > .content > .content-inner {
padding: 30px 90px;
}
@media only screen and (max-width: 639px) {
.fs-modal > .header {
padding: 10px 45px;
@media only screen and (min-width: 640px) {
.fs-modal {
padding: 50px 30px;
}
.fs-modal > .content > .content-inner {
padding: 30px 45px;
.fs-modal .fs-modal-dialog {
max-height: calc(100vh - 100px);
}
}
@media only screen and (min-width: 960px) {
.fs-modal {
padding: 50px 40px;
}
}