input and button fix

This commit is contained in:
Felix Hamann 2018-03-30 00:33:03 +02:00
parent 95f59c9a45
commit fc3cb2de3b
2 changed files with 10 additions and 3 deletions

View File

@ -159,7 +159,7 @@ th {
input[type="submit"],
input[type="button"],
button,
.btn {
.btn, a.btn {
outline: 0;
border: 0;
box-shadow: 0;
@ -175,12 +175,14 @@ button,
}
input.btn-primary,
button.btn-primary,
a.btn.btn-primary,
.btn.btn-primary {
background-color: var(--primarybase);
}
input.btn-info,
button.btn-info,
a.btn.btn-info,
.btn.btn-info {
background-color: var(--infobase)
}
@ -188,6 +190,7 @@ button.btn-info,
input[type="submit"][disabled],
input[type="button"][disabled],
button[disabled],
a.btn[disabled],
.btn[disabled] {
opacity: 0.3;
background-color: var(--greybase);
@ -197,14 +200,17 @@ button[disabled],
input[type="submit"]:not([disabled]):hover,
input[type="button"]:not([disabled]):hover,
button:not([disabled]):hover,
a.btn:not([disabled]):hover,
.btn:not([disabled]):hover {
background-color: var(--lighterbase);
text-decoration: underline;
color: white;
}
input[type="submit"].btn-info:hover,
input[type="button"].btn-info:hover,
button.btn-info:hover,
a.btn.btn-info:hover,
.btn.btn-info:hover {
background-color: var(--greybase)
}

View File

@ -33,6 +33,7 @@ form {
.form-group__label {
width: 25%;
white-space: nowrap;
font-weight: 600;
}
@media (max-width: 999px) {
@ -64,7 +65,7 @@ input[type="email"] {
color: var(--fontbase);
transition: all .1s;
font-size: 16px;
min-width: 300px;
min-width: 400px;
}
input[type="text"]:focus,
@ -83,7 +84,7 @@ textarea {
outline: 0;
border: 0;
padding: 7px 4px;
min-width: 300px;
min-width: 400px;
min-height: 100px;
font-family: var(--fontfamilybase);
font-size: 16px;