added style for forms

master
Jakob 2020-02-24 21:10:54 +01:00
parent 9afaeeaf21
commit 6723bee789
1 changed files with 41 additions and 0 deletions

View File

@ -300,3 +300,44 @@ div.dropdown {
.dropdown:hover:not(.active) { .dropdown:hover:not(.active) {
background-color: #8bd3dd; background-color: #8bd3dd;
} }
input[type=text], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=password], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=submit] {
width: 100%;
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #45a049;
}
div.form {
border-radius: 5px;
background-color: #f2f2f2;
padding: 20px;
}