Sha256: f277f418100d0104bfaa157c041da0d3e908d9e5fe6f83c2204f65d5619de277
Contents?: true
Size: 1.8 KB
Versions: 19
Compression:
Stored size: 1.8 KB
Contents
[data-controller="content--editor--status-bar"] { min-height: 3rem; line-height: 3rem; padding: 0 1.25rem 0 1.5rem; background: var(--background); color: var(--color); border: 1px solid var(--border); margin-bottom: 1rem; white-space: nowrap; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "status actions"; align-items: baseline; .status-text { display: none; grid-area: status; font-weight: bold; color: var(--color); overflow: hidden; text-overflow: ellipsis; } &[data-state="published"] .status-text[data-published], &[data-state="unpublished"] .status-text[data-unpublished], &[data-state="draft"] .status-text[data-draft], &[data-state="dirty"] .status-text[data-dirty] { display: unset; } menu { display: inline; grid-area: actions; margin: 0; padding: 0; } menu > li { display: inline; } .button { color: inherit; line-height: 1rem; margin-left: 0.5rem; } .button--primary { background: var(--color); border: 1px solid var(--border); color: white; &[disabled] { background: var(--color); opacity: 0.8; } } .button--secondary { background: var(--background); border: 1px solid var(--border); color: var(--color); &[disabled] { background: var(--background); } } &[data-state="published"] { [value="publish"], [value="save"], [value="revert"], [value="discard"] { display: none; } } &[data-state="unpublished"] { [value="save"], [value="discard"], [value="revert"] { display: none; } } &[data-state="draft"] { [value="save"], [value="discard"] { display: none; } } &[data-state="dirty"] { [value="revert"] { display: none; } } }
Version data entries
19 entries across 19 versions & 1 rubygems