Unverified Commit 00330b32 authored by Kyle Keating's avatar Kyle Keating Committed by GitHub

Merge pull request #1628 from hypothesis/annotation-publish-halo-fix

Fix focus halo on primary action button mixin
parents 0d4f4778 bc59d373
@use "../mixins/focus";
@use "../variables" as var; @use "../variables" as var;
/* Style input placeholders */ /* Style input placeholders */
...@@ -65,6 +66,7 @@ ...@@ -65,6 +66,7 @@
} }
@mixin primary-action-btn { @mixin primary-action-btn {
@include focus.outline-on-keyboard-focus;
color: var.$grey-1; color: var.$grey-1;
background-color: var.$grey-mid; background-color: var.$grey-mid;
height: 35px; height: 35px;
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
&__btn { &__btn {
@include forms.primary-action-btn; @include forms.primary-action-btn;
@include focus.outline-on-keyboard-focus;
display: flex; display: flex;
margin-left: auto; margin-left: auto;
height: 30px; height: 30px;
......
@use "../../mixins/forms";
@use "../../variables" as var;
// A dark grey button used for the primary action
// in a form
.primary-action-btn {
@include forms.primary-action-btn;
}
.primary-action-btn--short {
height: 30px;
}
.primary-action-btn__icon {
color: var.$grey-4;
display: inline-block;
font-weight: bold;
margin-left: -3px;
margin-right: 3px;
transform: translateY(1px);
}
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
@use './components/menu-section'; @use './components/menu-section';
@use './components/moderation-banner'; @use './components/moderation-banner';
@use './components/new-note'; @use './components/new-note';
@use './components/primary-action-btn';
@use './components/search-status-bar'; @use './components/search-status-bar';
@use './components/selection-tabs'; @use './components/selection-tabs';
@use './components/share-annotations-panel'; @use './components/share-annotations-panel';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment