mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Styled disabled email checkbox
This commit is contained in:
parent
2aa781eef1
commit
e5271b534d
@ -235,3 +235,11 @@
|
||||
.gh-publishmenu-email-label {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.gh-publishmenu-email-label.disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.gh-publishmenu-content .for-checkbox.pe-none span {
|
||||
background: color-mod(var(--whitegrey) l(+4%));
|
||||
}
|
@ -39,12 +39,12 @@
|
||||
></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-publishmenu-email-label">
|
||||
<div class="gh-publishmenu-email-label {{if disableEmailOption "pe-none"}}">
|
||||
<label class="gh-publishmenu-radio-label" for="email-when-published-checkbox">Email post</label>
|
||||
{{#if this.memberCount}}
|
||||
<div class="gh-publishmenu-radio-desc">Send post to members when published</div>
|
||||
{{else}}
|
||||
<div class="gh-publishmenu-radio-desc">You have 0 members</div>
|
||||
<div class="gh-publishmenu-radio-desc">You haven't got any members</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
Loading…
Reference in New Issue
Block a user