mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-27 00:30:09 +02:00
style: minor fixes
This commit is contained in:
@@ -519,12 +519,6 @@ body > #demo-frame {
|
|||||||
/* So that modal overlay gets pointer events */
|
/* So that modal overlay gets pointer events */
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 900px) {
|
|
||||||
.modal {
|
|
||||||
/* width: 90vw; */
|
|
||||||
/* margin-left: -45vw; */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.modal__close-btn {
|
.modal__close-btn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
@@ -545,11 +539,11 @@ body > #demo-frame {
|
|||||||
color: #444;
|
color: #444;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
/* margin: 0 auto; */
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
padding: 2em;
|
padding: 2em;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
max-width: 85vw;
|
||||||
max-height: 90vh;
|
max-height: 90vh;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@@ -558,6 +552,11 @@ body > #demo-frame {
|
|||||||
transition-duration: 0.19s;
|
transition-duration: 0.19s;
|
||||||
transform: translateY(-50px) scale(0.7);
|
transform: translateY(-50px) scale(0.7);
|
||||||
}
|
}
|
||||||
|
@media screen and (max-width: 900px) {
|
||||||
|
.modal__content {
|
||||||
|
max-width: 95vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
.is-modal-visible {
|
.is-modal-visible {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
@@ -1080,7 +1079,7 @@ body > #demo-frame {
|
|||||||
content: 'BETA';
|
content: 'BETA';
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 3px;
|
left: 3px;
|
||||||
top: -10px;
|
top: -7px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: #b76b29;
|
background: #b76b29;
|
||||||
color: white;
|
color: white;
|
||||||
|
Reference in New Issue
Block a user