/*
 * plugins/wordpress/accessibit/admin/css/admin.css
 *
 * The plugin's own admin screens. Deliberately tiny: wp-admin supplies the
 * look, and everything here is something wp-admin's own stylesheet takes away.
 */

/*
 * wp-admin strips list markers from an unclassed <ul> inside .wrap, so the free
 * scan's issues rendered as a run of unrelated lines with no indication that
 * they were a list at all. Put them back.
 */
.accessibit-free-issue-list {
  margin: 0.5em 0 1em 1.5em;
  list-style: disc outside;
}

.accessibit-free-issue-list li {
  margin-bottom: 0.4em;
}

/* The two scan blocks read as separate things, so space them as separate things. */
#accessibit-free-scan,
#accessibit-scan {
  margin-bottom: 1.5em;
}

/*
 * An unavailable retry control — out of attempts, or waiting out the backoff.
 *
 * free-scan.js marks it `aria-disabled` rather than `disabled`, because a
 * disabled element cannot hold focus and the control must not vanish from under
 * the reader at the moment it stops working. That keeps it focusable but means
 * `:disabled` no longer matches, so the appearance is stated here instead of
 * relying on core's `.button.disabled` rule applying.
 *
 * `#accessibit-scan-btn`, `#accessibit-scan-msg` and `#accessibit-scan-cta`
 * were styled here too and are gone with the paid "Run scan" button: no markup
 * has carried those ids since it was removed from v1.
 */
#accessibit-free-cta button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.6;
}

/*
 * The reason beside a disabled control — "No attempts left for this domain."
 * Secondary to the button it explains, and on the same line, because it is one
 * statement and not a paragraph of its own.
 */
.accessibit-cta-note {
  color: #50575e;
  font-style: italic;
}
