mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 12:16:09 +03:00
97ce6f8a0c
- Lighter dropdown shadow - Removed display:flex from .btn because safari can't handle it on <button> elements, where it will immediately set all text-alignment to "left" with no way to change. I haven't been able to find any regressions for this change so far. Can't remember why buttons were supposed to be flexbox anyway. Maybe for icon alignment within buttons, but I can't find any such examples within the app. - Safari thinks that user-select: all; means a single click should SELECT ALL THE THINGS. Removed/replaced with user-select: text; which makes it behave like Chrome; click and drag to select. - Increased hit area for "?" button - Removed :active style for post-edit button on content management screen, adjusted position - Increased contrast on tag description, tag count, and view blog links See #5652
19 lines
1.1 KiB
Handlebars
19 lines
1.1 KiB
Handlebars
<div class="modal-container js-modal-container" {{action "closeModal"}}>
|
|
<article class="{{klass}} js-modal">
|
|
<section class="modal-content" {{action "noBubble" bubbles=false preventDefault=false}}>
|
|
{{#if title}}<header class="modal-header"><h1>{{title}}</h1></header>{{/if}}
|
|
{{#if showClose}}<a class="close icon-x" href="" title="Close" {{action "closeModal"}}><span class="hidden">Close</span></a>{{/if}}
|
|
<section class="modal-body">
|
|
{{yield}}
|
|
</section>
|
|
{{#if confirm}}
|
|
<footer class="modal-footer">
|
|
{{! Buttons must be on one line to prevent white-space errors }}
|
|
<button type="button" class="{{rejectButtonClass}} btn-minor js-button-reject" {{action "confirm" "reject"}}>{{confirm.reject.text}}</button><button type="button" class="{{acceptButtonClass}} js-button-accept" {{action "confirm" "accept"}}>{{confirm.accept.text}}</button>
|
|
</footer>
|
|
{{/if}}
|
|
</section>
|
|
</article>
|
|
</div>
|
|
<div class="modal-background js-modal-background"></div>
|