.a11yfix-wrap { margin-right: 0; transform: translate(-20px, 0); width: calc(100% + 20px); } .a11yfix-hello { font-weight: 600; } .a11yfix-admin { margin-top: 0; width: 100%; max-width: none; display: flex; flex-direction: column; min-height: calc(100vh - 64px); } .a11yfix-header { text-align: center; background: #fff; margin: 0; } .a11yfix-title-section { display: flex; align-items: center; justify-content: center; clear: both; padding-top: 8px; } .a11yfix-header h1 { display: inline-block; font-weight: 600; margin: 0 0.8rem 1rem; font-size: 23px; line-height: 1.3; padding: 9px 0 4px; } .a11yfix-header-description { margin: 0 0.8rem 1rem; padding: 0; color: #50575e; } .a11yfix-body { background: #f0f0f1; padding: 16px; border-top: 1px solid #dcdcde; min-height: 0; flex: 1; display: flex; flex-direction: column; } .a11yfix-tabs { display: inline-grid; grid-template-columns: 1fr 1fr 1fr; vertical-align: top; margin-bottom: 0; max-width: 100%; } .a11yfix-tabs.a11yfix-tabs-count-1 { grid-template-columns: 1fr; } .a11yfix-tabs.a11yfix-tabs-count-2 { grid-template-columns: 1fr 1fr; } .a11yfix-tabs.a11yfix-tabs-count-3 { grid-template-columns: 1fr 1fr 1fr; } .a11yfix-tabs.a11yfix-tabs-count-4 { grid-template-columns: 1fr 1fr 1fr 1fr; } .a11yfix-tab { display: block; border: 0; background: transparent; color: inherit; text-decoration: none; padding: 8px 16px 16px; margin: 0 16px; cursor: pointer; transition: box-shadow 0.5s ease-in-out; } .a11yfix-tab.is-active { box-shadow: inset 0 -3px var(--wp-admin-theme-color, #3582c4); font-weight: 600; } .a11yfix-tab:focus-visible { outline: 2px solid var(--wp-admin-theme-color-darker-10, #2271b1); outline-offset: 2px; } .a11yfix-tab:disabled, .a11yfix-tab[aria-disabled='true'] { color: #8c8f94; cursor: not-allowed; opacity: 0.55; box-shadow: none; pointer-events: none; } .a11yfix-tab.is-active:disabled, .a11yfix-tab.is-active[aria-disabled='true'] { box-shadow: inset 0 -3px #c3c4c7; font-weight: 500; } .a11yfix-tab-panel { display: none; margin-bottom: 16px; } .a11yfix-tab-panel.is-active { display: block; } #a11yfix-panel-rules-view.is-active, #a11yfix-panel-iframe.is-active { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-bottom: 0; } #a11yfix-panel-rules-view .a11yfix-iframe-wrapper, #a11yfix-panel-iframe .a11yfix-iframe-wrapper { flex: 1; min-height: 0; margin: 0; } #a11yfix-rules-iframe, #a11yfix-preview-iframe { height: 100%; min-height: 100%; } .a11yfix-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; } .a11yfix-controls-settings { column-gap: 12px; row-gap: 10px; margin-bottom: 12px; } .a11yfix-controls-settings label { min-width: 110px; font-weight: 600; } .a11yfix-controls-settings input[type='number'] { width: 70px; margin-right: 8px; } .a11yfix-controls-actions { margin-bottom: 12px; } #a11yfix-panel-rules-view .a11yfix-controls-actions { align-items: center; } #a11yfix-view-sample { margin-left: auto; } .a11yfix-submit-sample-hint { color: #646970; font-size: 12px; line-height: 1.4; max-width: 360px; } #a11yfix-panel-rules-view .a11yfix-submit-sample-hint { flex: 0 0 100%; max-width: none; width: 100%; text-align: right; } .a11yfix-controls input[type='number'] { width: 80px; } .a11yfix-status { margin: 0; padding: 0 16px 12px; color: #50575e; } .a11yfix-status.is-error { color: #b32d2e; font-weight: 600; } .a11yfix-iframe-wrapper { margin: 12px 0 16px; } .a11yfix-preview-iframe { width: 100%; height: 420px; border: 1px solid; } .a11yfix-results-wrapper { margin-top: 8px; } .a11yfix-results-wrapper h2 { margin: 0 0 8px; } .a11yfix-results { padding: 12px; border: 1px solid #dcdcde; background: #fff; max-height: 420px; overflow: auto; } .a11yfix-results.has-list-table { padding: 0; border: 0; background: transparent; } .a11yfix-results.has-list-table > p { margin: 0 0 8px; color: #50575e; } #a11yfix-crawled-results.has-list-table > p, #a11yfix-rule-results.has-list-table > p { margin: 0; padding: 8px 10px; background: #fff; border: 1px solid #dcdcde; border-bottom: 0; } .a11yfix-layout-detection { margin: 0; padding: 8px 10px; background: #fff; border: 1px solid #dcdcde; border-bottom: 0; } .a11yfix-layout-detection-title { margin: 0 0 6px; font-weight: 600; } .a11yfix-layout-detection-list { margin: 0; padding-left: 16px; } .a11yfix-layout-detection-list li { margin: 0 0 4px; } .a11yfix-results-table { width: 100%; border-collapse: collapse; } .a11yfix-crawl-table { margin-top: 0; } .a11yfix-rules-table { margin-top: 0; table-layout: fixed; } #a11yfix-rule-results .a11yfix-results-table thead th { position: sticky; top: 0; z-index: 3; background: #f6f7f7; } .a11yfix-crawl-table th { font-size: 14px; font-weight: 600; } .a11yfix-rules-table th { font-size: 14px; font-weight: 600; } .a11yfix-crawl-table td, .a11yfix-crawl-table th { padding: 10px; } .a11yfix-rules-table td, .a11yfix-rules-table th { padding: 10px; } .a11yfix-results-table th, .a11yfix-results-table td { text-align: left; padding: 6px 8px; vertical-align: top; } .a11yfix-rules-table th:nth-child(1), .a11yfix-rules-table td:nth-child(1) { width: 20%; } .a11yfix-rules-table th:nth-child(2), .a11yfix-rules-table td:nth-child(2) { width: 10%; } .a11yfix-rules-table th:nth-child(n + 3), .a11yfix-rules-table td:nth-child(n + 3) { width: calc(70% / 9); } .a11yfix-rule-button { display: inline-flex; align-items: center; border: 1px solid #dcdcde; border-radius: 999px; padding: 1px 8px !important; background: #f6f7f7; color: #2c3338 !important; text-decoration: none !important; font-size: 11px; line-height: 1.45; font-weight: 500; } .a11yfix-rule-button:hover, .a11yfix-rule-button:focus { background: #f0f0f1; color: #1d2327 !important; } .a11yfix-rule-button--pass { background: #e8f5ec; border-color: #b8dec2; color: #1f5f2d !important; } .a11yfix-rule-button--fail { background: #fdecee; border-color: #f2b8bf; color: #7a2531 !important; } .a11yfix-rule-button--skipped { background: #f4f0e8; border-color: #d9c8a1; color: #6b5321 !important; } .a11yfix-rule-button--pass:hover, .a11yfix-rule-button--pass:focus { background: #def1e4; color: #1b5427 !important; } .a11yfix-rule-button--fail:hover, .a11yfix-rule-button--fail:focus { background: #fce2e5; color: #6e1f2b !important; } .a11yfix-rule-button--skipped:hover, .a11yfix-rule-button--skipped:focus { background: #efe7d8; color: #5d471c !important; } .a11yfix-rule-button--pending { background: #f6f7f7; border-color: #dcdcde; } .a11yfix-rule-status-badge { display: inline-flex; align-items: center; border: 1px solid #dcdcde; border-radius: 999px; padding: 2px 10px; background: #f6f7f7; color: #2c3338; font-size: 12px; line-height: 1.5; font-weight: 500; } .a11yfix-rule-status-badge--none { background: #f8f9f9; border-color: #d2d5d8; } .a11yfix-rule-button-disabled { pointer-events: none; cursor: default; } .a11yfix-rule-part-marks { color: #50575e; font-size: 12px; } .a11yfix-rule-toggle.is-active { color: #fff; border-color: var(--wp-admin-theme-color, #3582c4); background: var(--wp-admin-theme-color, #3582c4); } .a11yfix-rule-toggle { border-color: #8c8f94; background: #f6f7f7; color: #2c3338; } .a11yfix-rule-toggle:hover, .a11yfix-rule-toggle:focus { border-color: #2271b1; color: #1d2327; } .a11yfix-rule-toggle.is-active, .a11yfix-rule-toggle.is-active:hover, .a11yfix-rule-toggle.is-active:focus, .a11yfix-rule-toggle.is-active:active { color: #fff; border-color: var(--wp-admin-theme-color, #3582c4); background: var(--wp-admin-theme-color, #3582c4); box-shadow: none; } .a11yfix-rule-toggle:disabled, .a11yfix-rule-toggle[disabled] { border-color: #dcdcde; background: #f6f7f7; color: #a7aaad; } .a11yfix-rule-toggle.is-active:disabled, .a11yfix-rule-toggle.is-active[disabled] { border-color: var(--wp-admin-theme-color, #3582c4); background: var(--wp-admin-theme-color, #3582c4); color: #fff; opacity: 0.75; } .a11yfix-popup-overlay { display: none; position: fixed; inset: 0; z-index: 1000; overflow: auto; align-items: center; justify-content: center; padding: 16px; background: color-mix(in srgb, CanvasText 40%, transparent); } .a11yfix-popup-overlay.is-open { display: flex; } .a11yfix-popup { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 64px); overflow: auto; margin: 0; padding: 16px; border: 1px solid #dcdcde; border-radius: 8px; background: Canvas; } .a11yfix-popup-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; position: sticky; top: 0; z-index: 2; padding-bottom: 8px; background: Canvas; border-bottom: 1px solid #dcdcde; } .a11yfix-popup-title { margin: 0; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; } .a11yfix-popup-body { display: block; } .a11yfix-popup-body > h3 { margin: 12px 0 8px; } .a11yfix-popup-list { list-style: none; margin: 12px 0 0; padding: 0; } .a11yfix-popup-list--compact { margin-top: 8px; } .a11yfix-popup-item { display: flex; gap: 12px; margin-bottom: 12px; padding: 10px; border: 1px solid #dcdcde; border-radius: 6px; } .a11yfix-popup-item--compact { gap: 8px; margin-bottom: 8px; padding: 8px 10px; } .a11yfix-popup-thumb { width: 64px; height: 64px; object-fit: cover; } .a11yfix-popup-meta { flex: 1; min-width: 0; display: grid; gap: 6px; } .a11yfix-popup-line { margin: 0; line-height: 1.4; overflow-wrap: anywhere; } .a11yfix-popup-label { font-weight: 600; } .a11yfix-popup-value { font-weight: 400; } .a11yfix-popup-summary { margin: 0 0 4px; padding: 8px 10px; border: 1px solid #dcdcde; border-radius: 6px; font-weight: 600; } .a11yfix-popup-source { display: inline-block; padding: 2px 8px; border: 1px solid #dcdcde; border-radius: 999px; font-size: 12px; line-height: 1.4; } .a11yfix-popup-line-notice { font-style: italic; } .a11yfix-popup-line--tip { color: #2563eb; font-style: italic; } @media screen and (max-width: 782px) { .a11yfix-admin { width: 100%; min-height: calc(100vh - 56px); } .a11yfix-header, .a11yfix-body { border-left: 0; border-right: 0; } .a11yfix-body { padding: 12px; min-height: 0; } .a11yfix-tabs, .a11yfix-tabs.a11yfix-tabs-count-2, .a11yfix-tabs.a11yfix-tabs-count-3 { display: grid; grid-template-columns: 1fr; width: 100%; } .a11yfix-tab { margin: 0; padding: 10px 12px; text-align: left; } .a11yfix-tab.is-active { box-shadow: inset 3px 0 var(--wp-admin-theme-color, #3582c4); } .a11yfix-controls, .a11yfix-controls-settings, .a11yfix-controls-actions { align-items: flex-start; flex-direction: column; } #a11yfix-view-sample { margin-left: 0; } .a11yfix-submit-sample-hint { max-width: 100%; text-align: right; } .a11yfix-controls-settings label { min-width: 0; } .a11yfix-controls-settings input[type='number'] { margin-right: 0; } }