Unverified Commit ea35d0e5 authored by Lyza Gardner's avatar Lyza Gardner Committed by GitHub

Merge pull request #2169 from hypothesis/annotator-css-fonts

Consolidate CSS font rules in `annotator` SCSS
parents 085f4d12 f6b3d8ed
...@@ -102,8 +102,6 @@ $adder-transition-duration: 80ms; ...@@ -102,8 +102,6 @@ $adder-transition-duration: 80ms;
@include focus.outline-on-keyboard-focus; @include focus.outline-on-keyboard-focus;
box-shadow: none; box-shadow: none;
font-family: h;
font-size: 18px;
background: transparent; background: transparent;
color: var.$grey-mid; color: var.$grey-mid;
display: flex; display: flex;
...@@ -111,12 +109,12 @@ $adder-transition-duration: 80ms; ...@@ -111,12 +109,12 @@ $adder-transition-duration: 80ms;
align-items: center; align-items: center;
border: none; border: none;
cursor: pointer; cursor: pointer;
font-size: 12px;
font-family: sans-serif;
line-height: 1em;
padding-top: 10px; padding: 10px;
padding-bottom: 6px; padding-bottom: 7px;
padding-left: 10px;
padding-right: 10px;
transition: color $adder-transition-duration; transition: color $adder-transition-duration;
} }
...@@ -141,8 +139,6 @@ $adder-transition-duration: 80ms; ...@@ -141,8 +139,6 @@ $adder-transition-duration: 80ms;
margin-bottom: 2px; margin-bottom: 2px;
margin-top: 4px; margin-top: 4px;
font-size: 12px;
font-family: sans-serif;
transition: color $adder-transition-duration; transition: color $adder-transition-duration;
} }
...@@ -153,8 +149,6 @@ $adder-transition-duration: 80ms; ...@@ -153,8 +149,6 @@ $adder-transition-duration: 80ms;
// The badge should be vertically aligned with icons in other toolbar buttons // The badge should be vertically aligned with icons in other toolbar buttons
// and the label underneath should also align with labels in other buttons. // and the label underneath should also align with labels in other buttons.
font-family: sans-serif;
font-size: 12px;
font-weight: bold; font-weight: bold;
padding: 2px 4px; padding: 2px 4px;
} }
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@use './bucket-bar'; @use './bucket-bar';
@use './highlights'; @use './highlights';
var.$base-font-size: 14px; $annotator-font-size: 14px;
$sidebar-collapse-transition-time: 150ms; $sidebar-collapse-transition-time: 150ms;
// Sidebar // Sidebar
...@@ -35,7 +35,7 @@ $sidebar-collapse-transition-time: 150ms; ...@@ -35,7 +35,7 @@ $sidebar-collapse-transition-time: 150ms;
user-select: none; user-select: none;
direction: ltr; direction: ltr;
background: none; background: none;
font-size: var.$base-font-size; font-size: $annotator-font-size;
line-height: var.$base-line-height; line-height: var.$base-line-height;
height: 100%; height: 100%;
position: fixed; position: fixed;
......
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