submit as an input

This commit is contained in:
Raphael Goetter 2017-07-31 20:47:46 +02:00
parent 8dbd40dccf
commit 73b8db37c2
4 changed files with 13 additions and 4 deletions

View file

@ -1806,6 +1806,7 @@ label {
[type="number"], [type="number"],
[type="password"], [type="password"],
[type="search"], [type="search"],
[type="submit"],
[type="tel"], [type="tel"],
[type="text"], [type="text"],
[type="time"], [type="time"],
@ -1830,6 +1831,11 @@ textarea {
appearance: none; appearance: none;
} }
[type="submit"] {
background-color: #777;
color: #fff;
}
input[disabled] { input[disabled] {
opacity: .5; opacity: .5;
cursor: not-allowed; cursor: not-allowed;
@ -1882,7 +1888,6 @@ progress {
.btn, .btn,
.button, .button,
[type="button"], [type="button"],
[type="submit"],
button, .btn--primary, button, .btn--primary,
.button--primary, .btn--success, .button--primary, .btn--success,
.button--success, .btn--info, .button--success, .btn--info,
@ -1918,7 +1923,6 @@ button, .btn--primary,
.btn:focus, .btn:focus,
.button:focus, .button:focus,
[type="button"]:focus, [type="button"]:focus,
[type="submit"]:focus,
button:focus { button:focus {
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
} }

File diff suppressed because one or more lines are too long

View file

@ -30,7 +30,6 @@
.btn, .btn,
.button, .button,
[type="button"], [type="button"],
[type="submit"],
button { button {
@extend %btn; @extend %btn;

View file

@ -33,6 +33,7 @@ label {
[type="number"], [type="number"],
[type="password"], [type="password"],
[type="search"], [type="search"],
[type="submit"],
[type="tel"], [type="tel"],
[type="text"], [type="text"],
[type="time"], [type="time"],
@ -56,6 +57,11 @@ textarea {
appearance: none; appearance: none;
} }
[type="submit"] {
background-color: $color-border;
color: $color-light;
}
input[disabled] { input[disabled] {
opacity: .5; opacity: .5;
cursor: not-allowed; cursor: not-allowed;