Finished.

This commit is contained in:
Midou36O 2022-09-14 14:32:56 +01:00
parent fc5fc6a91d
commit 50b058c1d2
Signed by: midou
GPG Key ID: 08063D5407090BC2

View File

@ -60,13 +60,16 @@
padding: 10px; padding: 10px;
max-width: 100%; max-width: 100%;
} }
#contact select {
width: 105%;
max-width: 105%;
}
#contact button[type="submit"] { #contact button[type="submit"] {
cursor: pointer; cursor: pointer;
width: 100%; width: 105%;
border: none; border: none;
background: #00d4aa; background: #00d4aa;
color: #252525; color: #252525;
@ -87,6 +90,29 @@
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
} }
#contact button[type="delete"] {
cursor: pointer;
width: 105%;
border: none;
background: #d10006;
color: #FFF;
margin: 0 0 5px;
padding: 10px;
font-size: 15px;
border-radius: 5px;
}
#contact button[type="delete"]:hover {
background: #990005;
-webkit-transition: background 0.3s ease-in-out;
-moz-transition: background 0.3s ease-in-out;
transition: background-color 0.3s ease-in-out;
}
#contact button[type="delete"]:active {
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
a { a {
color: #00d4aa; color: #00d4aa;
} }
@ -136,7 +162,7 @@
<br /> <br />
<button type="submit" />Submit</button> <button type="submit" />Submit</button>
</form> </form>
<h1>Delete Announcement</h1> <h1 style="margin-top: 20px;">Delete Announcement</h1>
<form <form
id="contact" id="contact"
action="/api/announcements/delete" action="/api/announcements/delete"
@ -152,7 +178,7 @@
/> />
<br /> <br />
</div> </div>
<button type="submit"/>Submit</button> <button type="delete"/>Delete</button>
</form> </form>
</div> </div>
</body> </body>