.t123:has([aria-expanded="true"]) .accessibility-panel {
right: 0;
}
#accessibility-title {
margin-bottom: 20px;
font-weight: bold;
font-size: 18px;
}
.access {
cursor: pointer;
}
.option-group:has(#reset-accessibility) {
margin-bottom: 0;
}
#decrease-font {
font-size: 10px;
}
#increase-font {
font-size: 16px;
}
.accessibility-panel {
position: fixed;
top: 50%;
right: -300px;
width: 250px;
max-height: 100vh;
overflow-y: auto;
line-height: 20px;
scrollbar-width: none;
-ms-overflow-style: none;
background-color: #ffffff;
color: #0F0E0E;
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
padding: 15px;
transition: right 0.3s ease;
z-index: 9999999;
border-radius: 10px 0 0 10px;
border: 1px solid #ddd;
font-size: 16px;
box-sizing: border-box;
font-family: Arial,sans-serif;
transform: translateY(-50%);
}
.accessibility-panel::-webkit-scrollbar {
display: none;
}
.accessibility-panel.open {
right: 0;
}
.accessibility-toggle {
position: fixed;
top: 100px;
right: 0;
background-color: #3498db;
color: #fff;
border: none;
border-radius: 5px 0 0 5px;
padding: 10px;
cursor: pointer;
z-index: 10000;
}
.accessibility-toggle:focus {
outline: 3px solid #ff6b00;
}
.option-group {
width: 100%;
}
.option-group-title {
margin-top: 0;
margin-bottom: 10px;
font-size: 16px;
font-weight: bold;
}
.color-scheme-btn {
display: block;
width: 100%;
padding: 8px 10px;
margin-bottom: 8px;
border-radius: 5px;
cursor: pointer;
text-align: left;
border: 2px solid transparent;
box-sizing: border-box;
}
.color-scheme-btn:focus {
outline: 2px solid #3498db;
}
.color-scheme-btn.active {
border-color: #3498db;
}
.black-on-white {
background-color: white;
color: black;
}
.white-on-black {
background-color: black;
color: white;
}
.brown-on-beige {
background-color: #f5f5dc;
color: #8b4513;
}
.dark-blue-on-blue {
background-color: #add8e6;
color: #00008b;
}
.font-size-controls {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
width: 100%;
}
.font-size-btn {
padding: 8px 15px;
border-radius: 5px;
cursor: pointer;
background-color: #f0f0f0;
border: 1px solid #ddd;
flex-grow: 1;
margin: 0 5px;
text-align: center;
}
.font-size-btn:first-child {
margin-left: 0;
}
.font-size-btn:last-child {
margin-right: 0;
}
.font-size-btn:hover {
background-color: #e0e0e0;
}
.font-size-btn:focus {
outline: 2px solid #3498db;
}
.font-size-btn.active {
border: 2px solid #3498db;
}
.filter-btn {
display: flex;
align-items: center;
width: 100%;
padding: 8px 10px;
margin-bottom: 8px;
border-radius: 5px;
cursor: pointer;
text-align: left;
background-color: #f0f0f0;
border: 1px solid #ddd;
box-sizing: border-box;
}
.filter-btn.active {
background-color: #e0e0e0;
border-color: #3498db;
}
.filter-btn:focus {
outline: 2px solid #3498db;
}
.filter-icon {
width: 20px;
height: 20px;
margin-right: 10px;
background-color: #ddd;
border-radius: 3px;
flex-shrink: 0;
}
#reset-accessibility {
width: 100%;
padding: 10px;
background-color: #f44336;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
box-sizing: border-box;
}
#reset-accessibility:hover {
background-color: #d32f2f;
}
#reset-accessibility:focus {
outline: 2px solid #ff6b00;
}
.large-cursor {
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='transparent' stroke='black' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='8' fill='black'/%3E%3C/svg%3E"), auto !important;
}
body.accessibility-white-on-black.large-cursor {
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='transparent' stroke='white' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='8' fill='white'/%3E%3C/svg%3E"), auto !important;
}
body.accessibility-brown-on-beige.large-cursor {
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='transparent' stroke='%238b4513' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='8' fill='%238b4513'/%3E%3C/svg%3E"), auto !important;
}
.large-cursor-high-contrast {
cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='transparent' stroke='black' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='22' fill='transparent' stroke='white' stroke-width='1.5'/%3E%3Ccircle cx='24' cy='24' r='8' fill='black'/%3E%3Ccircle cx='24' cy='24' r='8' fill='black' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E"), auto !important;
}
body.accessibility-black-on-white {
background-color: #fff !important;
color: #000 !important;
}
body.accessibility-black-on-white *:not(.access .tn-atom):not(.accessibility-toggle):not(.accessibility-toggle svg), body.accessibility-black-on-white input::placeholder {
background-color: #fff !important;
color: #000 !important;
border-color: #000 !important;
}
body.accessibility-black-on-white a {
color: #0000ff !important;
text-decoration: underline !important;
}
body.accessibility-white-on-black {
background-color: #000 !important;
color: #fff !important;
}
body.accessibility-white-on-black *:not(.access .tn-atom):not(.accessibility-toggle):not(.accessibility-toggle svg), body.accessibility-white-on-black input::placeholder {
background-color: #000 !important;
color: #fff !important;
border-color: #fff !important;
}
body.accessibility-white-on-black a {
color: #ffff00 !important;
text-decoration: underline !important;
}
body.accessibility-brown-on-beige {
background-color: #f5f5dc !important;
color: #8b4513 !important;
}
body.accessibility-brown-on-beige *:not(.access .tn-atom):not(.accessibility-toggle):not(.accessibility-toggle svg), body.accessibility-brown-on-beige input::placeholder {
background-color: #f5f5dc !important;
color: #8b4513 !important;
border-color: #8b4513 !important;
}
body.accessibility-brown-on-beige a {
color: #a52a2a !important;
text-decoration: underline !important;
}
body.accessibility-dark-blue-on-blue {
background-color: #add8e6 !important;
color: #00008b !important;
}
body.accessibility-dark-blue-on-blue *:not(.access .tn-atom):not(.accessibility-toggle):not(.accessibility-toggle svg), body.accessibility-dark-blue-on-blue input::placeholder {
background-color: #add8e6 !important;
color: #00008b !important;
border-color: #00008b !important;
}
body.accessibility-dark-blue-on-blue a {
color: #0000cd !important;
text-decoration: underline !important;
}
body.accessibility-hide-images img {
visibility: hidden !important;
opacity: 0 !important;
}
body.accessibility-hide-images [style*="background-image:"] {
background-image: none !important;
}
.accessibility-highlight-text {
background-color: yellow !important;
color: black !important;
}
html body.accessibility-black-on-white [data-elem-type="text"],
html body.accessibility-black-on-white [data-elem-type="text"] * {
background-color: transparent !important;
}
html body.accessibility-white-on-black [data-elem-type="text"],
html body.accessibility-white-on-black [data-elem-type="text"] * {
background-color: transparent !important;
}
html body.accessibility-brown-on-beige [data-elem-type="text"],
html body.accessibility-brown-on-beige [data-elem-type="text"] * {
background-color: transparent !important;
}
html body.accessibility-dark-blue-on-blue [data-elem-type="text"],
html body.accessibility-dark-blue-on-blue [data-elem-type="text"] * {
background-color: transparent !important;
}
Настройки для слабовидящих
Цветовая схема
Черным по белому
Белым по черному
Коричневым по бежевому
Темно-синим по синему
Сбросить настройки