Added 'altcha' captcha system for account and channel creation.
This commit is contained in:
parent
60801f0dc2
commit
e0f53df176
20 changed files with 326 additions and 55 deletions
|
|
@ -13,13 +13,19 @@ GNU Affero General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
||||
|
||||
form{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5em;
|
||||
margin: 5% 17%;
|
||||
}
|
||||
|
||||
input{
|
||||
margin: 0 0 2em;
|
||||
.register-prompt{
|
||||
width: 100%
|
||||
}
|
||||
|
||||
#register-button{
|
||||
width: 6em;
|
||||
height: 2em;
|
||||
}
|
||||
|
|
@ -16,9 +16,16 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
|||
form{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5em;
|
||||
margin: 5% 17%;
|
||||
}
|
||||
|
||||
input{
|
||||
margin: 0 0 2em;
|
||||
.register-prompt{
|
||||
width: 100%
|
||||
}
|
||||
|
||||
#register-button{
|
||||
width: 6em;
|
||||
height: 2em;
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue