mirror of
https://gh.wpcy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-04-21 05:27:17 +08:00
54 lines
832 B
CSS
54 lines
832 B
CSS
.ea11y-skip-to-content-link {
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
clip-path: inset(50%);
|
|
pointer-events: none;
|
|
|
|
position: fixed;
|
|
|
|
height: 1px;
|
|
width: 1px;
|
|
margin: -1px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
|
|
border-radius: 12px;
|
|
border: 1px solid #2563EB;
|
|
|
|
background-color: #fff;
|
|
color: #0C0D0E;
|
|
|
|
text-decoration: none;
|
|
word-wrap: normal !important;
|
|
}
|
|
|
|
.ea11y-skip-to-content-link:focus {
|
|
clip: auto !important;
|
|
clip-path: none;
|
|
pointer-events: auto;
|
|
|
|
top: 30px;
|
|
left: 30px;
|
|
z-index: 100000;
|
|
|
|
|
|
height: auto;
|
|
width: auto;
|
|
padding: 16px 24px;
|
|
}
|
|
|
|
.ea11y-skip-to-content-link:focus + .ea11y-skip-to-content-backdrop {
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
|
|
z-index: 9999;
|
|
|
|
background-color: rgba(0, 0, 0, 0.50);
|
|
}
|