1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-06 10:46:57 +00:00

Make search outline backward compatible

This commit is contained in:
Leilei332 2025-01-25 15:29:07 +08:00
parent 49a33ae467
commit ef2af7fa7e

View File

@ -76,14 +76,20 @@ input[type="search"] {
}
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
outline: 2px solid <<colour primary>>;
outline-offset: -2px;
/* TODO: Use border at present for backward compatibility */
/* outline: 2px solid <<colour primary>>;
outline-offset: -2px; */
outline: none;
border: 2px solid <<colour primary>>;
border-radius: 0.25em;
}
button:-moz-focusring, input:-moz-focusring, textarea:-moz-focusring, select:-moz-focusring {
outline: 2px solid <<colour primary>>;
outline-offset: -2px;
/* TODO: Use border at present for backward compatibility */
/* outline: 2px solid <<colour primary>>;
outline-offset: -2px; */
outline: none;
border: 2px solid <<colour primary>>;
border-radius: 0.25em;
}