Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RemoveButton: Remove focus borders inherited from Button component #1249

Merged
merged 1 commit into from
Dec 4, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions client/components/remove-button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
color: $gray-dark;
}
&:active {
border-width: 2px 1px 1px;
border-width: 0px;
}
&:visited {
color: $gray-dark;
Expand All @@ -38,13 +38,9 @@
cursor: default;

&:active {
border-width: 1px 1px 2px;
border-width: 0;
}
}
&:focus {
border-color: $blue-medium;
box-shadow: 0 0 0 2px $blue-light;
}
&.hidden {
display: none;
}
Expand Down Expand Up @@ -83,13 +79,6 @@
&[disabled] {
color: lighten( $alert-red, 30% );
}
&:hover,
&:focus {
border-color: $alert-red;
}
&:focus {
box-shadow: 0 0 0 2px lighten( $alert-red, 20% );
}
}

.button.is-primary.is-scary,
Expand All @@ -98,10 +87,6 @@
border-color: darken( $alert-red, 20% );
color: $white;

&:hover,
&:focus {
border-color: darken( $alert-red, 30% );
}
&[disabled] {
background: lighten( $alert-red, 20% );
border-color: tint( $alert-red, 30% );
Expand Down