login/register/post

This commit is contained in:
j 2023-07-24 22:00:43 +01:00
commit 6fc506df2f
6 changed files with 283 additions and 108 deletions

View file

@ -22,47 +22,69 @@
padding-top: 8px;
padding-left: 4px;
.buttons {
display: none;
&.active {
display: block;
}
}
input, button {
height: 36px;
}
input {
width: calc(50% - 8px);
}
.buttons {
&.login {
input {
width: calc(100% - 8px);
}
}
}
input.invalid,
textarea.invalid {
border-bottom: 1px solid purple;
}
textarea,
input {
padding: 4px;
margin-left: 0;
margin-top: 4px;
margin-bottom: 4px;
margin-right: 4px;
background: none;
color: white;
border: 1px solid green;
}
textarea {
width: calc(100% - 8px);
height: 100px;
display: block;
}
button {
background: black;
color: white;
border: solid 1px green;
padding: 8px;
}
button:hover,
button:active {
border: solid 1px lightgreen;
cursor: pointer;
}
}
@media(max-width:768px) {
.add-comment {
padding-left: 4px;
}
}
.add-comment textarea,
.add-comment input {
padding: 4px;
margin-left: 0;
margin-top: 4px;
margin-bottom: 4px;
margin-right: 4px;
background: none;
color: white;
border: 1px solid green;
}
.add-comment input {
width: calc(50% - 8px);
}
.add-comment textarea {
width: calc(100% - 8px);
height: 100px;
display: block;
}
.add-comment button {
background: black;
color: white;
border: solid 1px green;
padding: 8px;
}
.add-comment button:hover {
border: solid 1px lightgreen;
cursor: pointer;
}
.add-comment {
.buttons {
&.login {
input {
width: calc(25% - 8px);
input {
width: calc(100% - 8px);
}
.buttons {
&.login {
input {
width: calc(100% - 8px);
}
}
}
}
@ -99,3 +121,4 @@ button.publish-comment {
height: 16px;
}
}