Commit 130b79a9 authored by Aron Carroll's avatar Aron Carroll

Use the icon font for the adder

parent 6e981752
...@@ -27,6 +27,9 @@ class Annotator.Guest extends Annotator ...@@ -27,6 +27,9 @@ class Annotator.Guest extends Annotator
tool: 'comment' tool: 'comment'
visibleHighlights: false visibleHighlights: false
html: jQuery.extend {}, Annotator::html,
adder: '<div class="annotator-adder"><button class="h-icon-pen"></button></div>'
constructor: (element, options, config = {}) -> constructor: (element, options, config = {}) ->
options.noScan = true options.noScan = true
super super
......
...@@ -39,26 +39,30 @@ $base-font-size: 14px; ...@@ -39,26 +39,30 @@ $base-font-size: 14px;
width: 6px; width: 6px;
} }
button, button:first-child { button {
@include sweetbutton; @include sweetbutton;
background-image: url("../images/pen_1.png") !important; font-family: h;
background-size: 65%;
background-position: center;
background-repeat: no-repeat;
border: none; border: none;
cursor: pointer; cursor: pointer;
height: 100%; height: 100%;
text-indent: -999em;
width: 100%; width: 100%;
font-size: 1.2em;
margin: 0; margin: 0;
padding: 0;
text-align: center;
background: white !important;
color: $border !important;
&::-moz-focus-inner { &::-moz-focus-inner {
border: 0; border: 0;
} }
&:hover {
color: $hoverborder !important;
}
} }
&:hover { &:hover {
@include box-shadow(1px 1px 6px -2px $gray-light);
border-color: $hoverborder; border-color: $hoverborder;
&:before { &:before {
......
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