Files
inbraille/public/style.css
T
Lucas RayanandClaude Sonnet 5.5 a9aec5abe4
Release / Plano (reaproveitar a imagem?) (push) Successful in 8s
CI / Trivy (dependências, segredos e configuração) (push) Failing after 8s
Release / ci (push) Failing after 9s
CI / Testes e imagem Docker (linux/arm64) (push) Skipped
Release / Publica a imagem (linux/arm64) (push) Skipped
Release / Cria a release no Gitea (push) Skipped
Recover InBraille from the production image (1.3.1) and move it to Gitea
The GitHub account was suspended and the repository had no backup. The deployed code
(src/, public/, index.html, main.py, requirements.txt) was extracted from the production
image 1.3.1. The tests, Dockerfile, compose files, SECURITY.md, CHANGELOG.md and README were
rebuilt from the records of the work sessions that created them; LICENSE, .gitignore,
robots.txt and sitemap.xml were recreated. CI now runs on Gitea Actions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 00:15:01 -03:00

228 lines
4.4 KiB
CSS

.text-area-container {
position: relative;
}
.text-area-container label {
position: absolute;
top: -10px;
left: 10px;
background: white;
padding: 0 5px;
font-size: 0.9rem;
color: #4b5563;
}
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 34px;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #3b82f6;
}
input:checked + .slider:before {
transform: translateX(26px);
}
input:disabled + .slider {
background-color: #e5e7eb;
}
.tab-active {
border-bottom: 3px solid #3b82f6;
color: #3b82f6;
font-weight: 600;
}
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 200px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -100px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
animation: fadeIn 0.3s ease-out forwards;
}
.neurodiversity-badge {
background: linear-gradient(135deg, #6366f1, #8b5cf6);
}
/* Language dropdown menu */
.lang-menu > summary {
list-style: none;
}
.lang-menu > summary::-webkit-details-marker {
display: none;
}
.lang-menu[open] > summary .lang-caret {
transform: rotate(180deg);
}
/* MUI-like snackbar/alert toasts */
#toast-container {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
width: auto;
max-width: min(92vw, 480px);
pointer-events: none;
}
.toast {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 18px;
border-radius: 8px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
font-size: 0.92rem;
line-height: 1.35;
color: #fff;
opacity: 0;
transform: translateY(24px);
transition: opacity 0.3s ease, transform 0.3s ease;
pointer-events: auto;
}
.toast.show {
opacity: 1;
transform: translateY(0);
}
.toast i {
font-size: 1.15rem;
flex-shrink: 0;
}
.toast-info { background-color: #2563eb; }
.toast-warning { background-color: #d97706; }
.toast-error { background-color: #dc2626; }
.toast-success { background-color: #16a34a; }
/* Attention pulse for a required input */
.input-attention {
animation: inputPulse 0.9s ease-in-out 0s 2;
}
@keyframes inputPulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.45); }
}
/* Braille font definition with circular dots */
@font-face {
font-family: 'Noto Sans Symbols 2';
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: url('/public/fonts/NotoSansSymbols2-Braille.woff2') format('woff2'),
url('https://fonts.gstatic.com/s/notosanssymbols2/v25/I_uyMoGduATTei9eI8daxVHDyfisHr71-jrBWXPM4Q.woff2') format('woff2');
unicode-range: U+2800-28FF;
}
.braille-font,
.braille-symbol,
.braille-text,
#input_text,
#output_text {
font-family: 'Noto Sans Symbols 2', 'Apple Braille', 'Segoe UI Symbol', sans-serif;
}
.braille-symbol {
font-weight: normal;
letter-spacing: 0.05em;
display: inline-block;
}
.braille-hero {
font-family: 'Noto Sans Symbols 2', 'Apple Braille', 'Segoe UI Symbol', sans-serif;
font-weight: 400;
line-height: 80%;
color: #a024b4;
user-select: none;
display: inline-block;
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.braille-hero:hover {
transform: scale(1.06);
}
/* FAQ Accordion Styling */
details.faq-item summary::-webkit-details-marker {
display: none;
}
details.faq-item summary {
list-style: none;
}
details.faq-item[open] summary .faq-chevron {
transform: rotate(180deg);
}