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
ea35d0e5
Unverified
Commit
ea35d0e5
authored
May 19, 2020
by
Lyza Gardner
Committed by
GitHub
May 19, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2169 from hypothesis/annotator-css-fonts
Consolidate CSS font rules in `annotator` SCSS
parents
085f4d12
f6b3d8ed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
adder.scss
src/styles/annotator/adder.scss
+5
-11
annotator.scss
src/styles/annotator/annotator.scss
+2
-2
No files found.
src/styles/annotator/adder.scss
View file @
ea35d0e5
...
...
@@ -102,8 +102,6 @@ $adder-transition-duration: 80ms;
@include
focus
.
outline-on-keyboard-focus
;
box-shadow
:
none
;
font-family
:
h
;
font-size
:
18px
;
background
:
transparent
;
color
:
var
.
$grey-mid
;
display
:
flex
;
...
...
@@ -111,12 +109,12 @@ $adder-transition-duration: 80ms;
align-items
:
center
;
border
:
none
;
cursor
:
pointer
;
font-size
:
12px
;
font-family
:
sans-serif
;
line-height
:
1em
;
padding-top
:
10px
;
padding-bottom
:
6px
;
padding-left
:
10px
;
padding-right
:
10px
;
padding
:
10px
;
padding-bottom
:
7px
;
transition
:
color
$adder-transition-duration
;
}
...
...
@@ -141,8 +139,6 @@ $adder-transition-duration: 80ms;
margin-bottom
:
2px
;
margin-top
:
4px
;
font-size
:
12px
;
font-family
:
sans-serif
;
transition
:
color
$adder-transition-duration
;
}
...
...
@@ -153,8 +149,6 @@ $adder-transition-duration: 80ms;
// The badge should be vertically aligned with icons in other toolbar buttons
// and the label underneath should also align with labels in other buttons.
font-family
:
sans-serif
;
font-size
:
12px
;
font-weight
:
bold
;
padding
:
2px
4px
;
}
src/styles/annotator/annotator.scss
View file @
ea35d0e5
...
...
@@ -12,7 +12,7 @@
@use
'./bucket-bar'
;
@use
'./highlights'
;
var
.$
base
-font-size
:
14px
;
$annotator
-font-size
:
14px
;
$sidebar-collapse-transition-time
:
150ms
;
// Sidebar
...
...
@@ -35,7 +35,7 @@ $sidebar-collapse-transition-time: 150ms;
user-select
:
none
;
direction
:
ltr
;
background
:
none
;
font-size
:
var
.
$base
-font-size
;
font-size
:
$annotator
-font-size
;
line-height
:
var
.
$base-line-height
;
height
:
100%
;
position
:
fixed
;
...
...
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