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
58b8458d
Commit
58b8458d
authored
Apr 08, 2021
by
Lyza Danger Gardner
Committed by
Lyza Gardner
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update component SASS modules to use newer button-reset mixin
parent
836adf88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
AdderToolbar.scss
src/styles/annotator/components/AdderToolbar.scss
+2
-2
Toolbar.scss
src/styles/annotator/components/Toolbar.scss
+3
-1
SelectionTabs.scss
src/styles/sidebar/components/SelectionTabs.scss
+2
-4
No files found.
src/styles/annotator/components/AdderToolbar.scss
View file @
58b8458d
@use
"../
mixin
s/buttons"
;
@use
"../
../shared/component
s/buttons"
;
@use
"../mixins/layout"
;
@use
"../mixins/molecules"
;
@use
"../mixins/utils"
;
...
...
@@ -80,7 +80,7 @@ $adder-transition-duration: 80ms;
.AdderToolbar__button
{
@include
layout
.
column
(
$align
:
center
);
@include
buttons
.
reset
-native-btn-styles
;
@include
buttons
.
reset
;
cursor
:
pointer
;
color
:
var
.
$grey-mid
;
...
...
src/styles/annotator/components/Toolbar.scss
View file @
58b8458d
...
...
@@ -2,6 +2,8 @@
@use
'../variables'
as
var
;
@use
'../../shared/components/buttons'
as
shared-buttons
;
@use
'../mixins/buttons'
;
@use
'../mixins/layout'
;
@use
'../mixins/utils'
;
...
...
@@ -75,7 +77,7 @@
/** Visible with clean theme */
.Toolbar__sidebar-close
{
@include
buttons
.
reset-native-btn-styles
;
@include
shared-buttons
.
reset
;
@include
buttons
.
button-hover
;
@include
utils
.
border
;
border-right-width
:
0
;
...
...
src/styles/sidebar/components/SelectionTabs.scss
View file @
58b8458d
@use
"
@hypothesis/frontend-shared/styles/mixins/focu
s"
;
@use
"
../../shared/components/button
s"
;
@use
"../../mixins/buttons"
;
@use
"../../mixins/layout"
;
@use
"../../mixins/utils"
;
@use
"../../variables"
as
var
;
...
...
@@ -26,8 +25,7 @@
}
.SelectionTabs__type
{
@include
buttons
.
reset-native-btn-styles
;
@include
focus
.
outline-on-keyboard-focus
;
@include
buttons
.
reset
;
color
:
var
.
$color-text
;
cursor
:
pointer
;
...
...
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