Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
00330b32
Unverified
Commit
00330b32
authored
Jan 02, 2020
by
Kyle Keating
Committed by
GitHub
Jan 02, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1628 from hypothesis/annotation-publish-halo-fix
Fix focus halo on primary action button mixin
parents
0d4f4778
bc59d373
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
23 deletions
+2
-23
forms.scss
src/styles/mixins/forms.scss
+2
-0
focused-mode-header.scss
src/styles/sidebar/components/focused-mode-header.scss
+0
-1
primary-action-btn.scss
src/styles/sidebar/components/primary-action-btn.scss
+0
-21
sidebar.scss
src/styles/sidebar/sidebar.scss
+0
-1
No files found.
src/styles/mixins/forms.scss
View file @
00330b32
@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
;
...
...
src/styles/sidebar/components/focused-mode-header.scss
View file @
00330b32
...
@@ -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
;
...
...
src/styles/sidebar/components/primary-action-btn.scss
deleted
100644 → 0
View file @
0d4f4778
@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
);
}
src/styles/sidebar/sidebar.scss
View file @
00330b32
...
@@ -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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment