Added 'altcha' captcha system for account and channel creation.

This commit is contained in:
rainbow napkin 2024-12-26 06:09:49 -05:00
parent 60801f0dc2
commit e0f53df176
20 changed files with 326 additions and 55 deletions

View file

@ -59,6 +59,16 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
--background-panel-effect-pretty: blur(4px);
--background-panel-effect-fast: none;
/* altcha theming */
--altcha-border-width: 1px;
--altcha-border-radius: 1em;
--altcha-color-base: var(--bg1);
--altcha-color-border: var(--accent1);
--altcha-color-text: var(--accent1);
--altcha-color-border-focus: currentColor;
--altcha-color-error-text: #f23939;
--altcha-max-width: 260px;
}
/* global */
@ -108,6 +118,10 @@ button:active{
box-shadow: var(--focus-glow0-alt0);
}
input{
accent-color: var(--focus0);
}
.danger-button{
background-color: var(--danger0);
color: var(--accent1);
@ -384,4 +398,13 @@ span.emote-panel-list-emote:active, span.emote-list-trash-icon:active{
span.emote-list-trash-icon{
background-color: var(--bg2);
border: 1px solid var(--accent0)
}
/* altcha theming*/
div.altcha{
box-shadow: 4px 4px 1px var(--bg1-alt0) inset;
}
altcha-widget a{
color: var(--accent1);
}