mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Refined disabled states more
This commit is contained in:
parent
48449ee222
commit
71ded80e8c
2 changed files with 23 additions and 24 deletions
|
@ -109,8 +109,8 @@
|
|||
/* Content
|
||||
/* ---------------------------------------------------------- */
|
||||
|
||||
.settings-menu-container:not(.ember-power-select-multiple-trigger):not(.tag-settings) input,
|
||||
.settings-menu-container:not(.tag-settings) .gh-input,
|
||||
.settings-menu-container:not(.ember-power-select-multiple-trigger):not(.tag-settings) input:not([disabled]),
|
||||
.settings-menu-container:not(.tag-settings) .gh-input:not([disabled]),
|
||||
.settings-menu-pane .gh-date-time-picker-date,
|
||||
.settings-menu-pane .gh-date-time-picker-time {
|
||||
background: var(--white);
|
||||
|
@ -321,15 +321,16 @@
|
|||
.settings-menu-mailgun-warning {
|
||||
border-radius: 5px;
|
||||
padding: 8px 12px;
|
||||
background: var(--yellow);
|
||||
color: #fff;
|
||||
background: rgba(254, 205, 53, 0.1);
|
||||
color: color-mod(var(--yellow) l(-8%) s(+10%));
|
||||
border: 1px solid var(--yellow);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.settings-menu-mailgun-warning a {
|
||||
text-decoration: underline;
|
||||
color: #fff;
|
||||
color: color-mod(var(--yellow) l(-8%) s(+10%));
|
||||
}
|
||||
|
||||
.settings-menu-email .disabled button,
|
||||
|
|
|
@ -24,12 +24,11 @@
|
|||
<div class="gh-publishmenu-radio-desc">Set automatic future publish date</div>
|
||||
</div>
|
||||
</div>
|
||||
{{#if (and this.feature.labs.members (eq this.post.displayName "post") (not mailgunError))}}
|
||||
{{#if (and this.feature.labs.members (eq this.post.displayName "post") (not mailgunError) (not this.deliveredAction))}}
|
||||
<div class="gh-publishmenu-radio">
|
||||
{{#if this.backgroundLoader.isRunning}}
|
||||
<div class="gh-loading-spinner" style="zoom: 50%"></div>
|
||||
{{else}}
|
||||
{{#unless this.deliveredAction}}
|
||||
<div class="for-checkbox {{if disableEmailOption "pe-none"}}">
|
||||
<div class="checkbox" for="email-when-published-checkbox">
|
||||
<Input @checked={{this.sendEmailWhenPublished}} @type="checkbox" @id="email-when-published-checkbox" @name="email-when-published" @disabled={{disableEmailOption}} />
|
||||
|
@ -47,7 +46,6 @@
|
|||
<div class="gh-publishmenu-radio-desc">You haven't got any members</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Reference in a new issue