mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-13 14:39:52 +03:00
commit
58176b6c98
@ -971,6 +971,14 @@ body.blur > *:not(#modal-container) {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
@include breakpoint($mobile) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-info {
|
||||
@ -979,6 +987,10 @@ body.blur > *:not(#modal-container) {
|
||||
|
||||
.modal-action {
|
||||
@extend %modal;
|
||||
|
||||
.modal-footer {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
@ -1024,10 +1036,16 @@ body.blur > *:not(#modal-container) {
|
||||
}
|
||||
|
||||
.modal-style-wide {
|
||||
@extend %modal;
|
||||
width: 550px;
|
||||
|
||||
@include breakpoint($mobile) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-style-centered {
|
||||
text-align: center;
|
||||
}
|
||||
/* ==========================================================================
|
||||
Main Elements
|
||||
========================================================================== */
|
||||
|
@ -1,5 +1,5 @@
|
||||
<aside class="modal-background"></aside>
|
||||
<article class="modal{{#if options.type}}-{{options.type}}{{/if}} {{#if options.style}}modal-style-{{options.style}}{{/if}} {{options.animation}} js-modal">
|
||||
<article class="modal{{#if options.type}}-{{options.type}}{{/if}} {{#if options.style}}{{#each options.style}}modal-style-{{this}} {{/each}}{{/if}}{{options.animation}} js-modal">
|
||||
{{#if content.title}}<header class="modal-header"><h1>{{content.title}}</h1>{{#if options.close}}<a class="close" href="#"><span class="hidden">Close</span></a>{{/if}}</header>{{/if}}
|
||||
<section class="modal-content">
|
||||
</section>
|
||||
|
@ -166,7 +166,7 @@
|
||||
}
|
||||
},
|
||||
type: "action",
|
||||
style: "wide",
|
||||
style: ["wide", "centered"],
|
||||
animation: 'fade'
|
||||
},
|
||||
content: {
|
||||
|
@ -300,7 +300,7 @@
|
||||
options: {
|
||||
close: true,
|
||||
type: "info",
|
||||
style: "wide",
|
||||
style: ["wide"],
|
||||
animation: 'fade'
|
||||
},
|
||||
content: {
|
||||
@ -374,7 +374,7 @@
|
||||
options: {
|
||||
close: true,
|
||||
type: "info",
|
||||
style: "wide",
|
||||
style: ["wide"],
|
||||
animation: 'fade'
|
||||
},
|
||||
content: {
|
||||
|
@ -186,8 +186,8 @@
|
||||
options: {
|
||||
close: false,
|
||||
type: "action",
|
||||
style: "wide",
|
||||
animation: 'fadeIn',
|
||||
style: ["wide"],
|
||||
animation: 'fade',
|
||||
afterRender: function () {
|
||||
this.$('.js-drop-zone').upload();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user