Unverified Commit 73e0e81a authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #1479 from hypothesis/annotator-toolbar-focus-ring

Show focus ring on annotator toolbar buttons when using keyboard focus
parents 8080cf5b 1a622105
'use strict';
const configFrom = require('./config/index');
const $ = require('jquery');
// Applications
// Load polyfill for :focus-visible pseudo-class.
require('focus-visible');
const configFrom = require('./config/index');
const Guest = require('./guest');
const Sidebar = require('./sidebar');
const PdfSidebar = require('./pdf-sidebar');
......
@import '../base';
@import '../mixins/icons';
@import '../mixins/focus';
@import './adder';
......@@ -107,6 +108,8 @@ $base-font-size: 14px;
}
.annotator-frame-button {
@include outline-on-keyboard-focus;
transition: background-color 0.25s;
@include smallshadow;
background: $white;
......@@ -126,7 +129,6 @@ $base-font-size: 14px;
&:focus,
&:hover {
outline: 0;
color: $text-color;
}
}
......
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