Skip to content

Commit

Permalink
Avoid collision with button[type=button]. You should be using `.but…
Browse files Browse the repository at this point in the history
…ton` anyway.
  • Loading branch information
Bryan Elliott committed Aug 2, 2022
1 parent f74bc81 commit 10ee9f1
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions assets/sass/all-digital/base/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ label {
cursor: pointer;
}

[type=text],
[type=email],
[type=url],
[type=tel],
[type=password],
[type=search],
[type=number],
[type=date],
input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=password],
input[type=search],
input[type=number],
input[type=date],
textarea,
select,
.readonly {
Expand Down Expand Up @@ -117,8 +117,8 @@ select {
}
}

[type=checkbox],
[type=radio] {
input[type=checkbox],
input[type=radio] {
margin: 0 calc-target(10) calc-target(10) 0;

+ label {
Expand All @@ -127,20 +127,20 @@ select {
}
}

[type=submit],
[type=button] {
input[type=submit],
input[type=button] {
@include button;
}

[type=submit]:hover,
[type=button]:hover {
input[type=submit]:hover,
input[type=button]:hover {
@include button-hover;
}

[type=submit]:active,
[type=submit]:active,
[type=button]:active,
[type=button]:active {
input[type=submit]:active,
input[type=submit]:active,
input[type=button]:active,
input[type=button]:active {
@include button-active;
}

Expand Down

0 comments on commit 10ee9f1

Please sign in to comment.