Commit b6ab7b46 authored by Aron Carroll's avatar Aron Carroll

Update all icon references to use the new namespace

parent 45c0b854
...@@ -27,9 +27,9 @@ simpleSearch = ['$parse', ($parse) -> ...@@ -27,9 +27,9 @@ simpleSearch = ['$parse', ($parse) ->
template: ''' template: '''
<form class="simple-search-form" ng-class="!searchtext && 'simple-search-inactive'" name="searchBox" ng-submit="search($event)"> <form class="simple-search-form" ng-class="!searchtext && 'simple-search-inactive'" name="searchBox" ng-submit="search($event)">
<input id="simple-search-{{viewId}}" class="simple-search-input" type="text" ng-model="searchtext" name="searchText" placeholder="Search…" /> <input id="simple-search-{{viewId}}" class="simple-search-input" type="text" ng-model="searchtext" name="searchText" placeholder="Search…" />
<label for="simple-search-{{viewId}}" class="simple-search-icon icon-search"></label> <label for="simple-search-{{viewId}}" class="simple-search-icon h-icon-search"></label>
<button class="simple-search-clear" type="reset" ng-hide="!searchtext" ng-click="reset($event)"> <button class="simple-search-clear" type="reset" ng-hide="!searchtext" ng-click="reset($event)">
<i class="icon-x"></i> <i class="h-icon-x"></i>
</button> </button>
</form> </form>
''' '''
......
...@@ -18,7 +18,7 @@ statusButton = -> ...@@ -18,7 +18,7 @@ statusButton = ->
<span class="btn-icon spinner"><span><span></span></span></span> <span class="btn-icon spinner"><span><span></span></span></span>
</span> </span>
<span class="btn-message btn-message-success"> <span class="btn-message btn-message-success">
<span class="btn-message-text">Saved!</span> <i class="btn-message-icon icon-checkmark2"></i> <span class="btn-message-text">Saved!</span> <i class="btn-message-icon h-icon-checkmark2"></i>
</span> </span>
</span> </span>
''' '''
......
...@@ -12,7 +12,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin ...@@ -12,7 +12,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
options: options:
items: [ items: [
"title": "Toggle Sidebar" "title": "Toggle Sidebar"
"class": "icon-comment" "class": "h-icon-comment"
"click": (event) -> "click": (event) ->
event.preventDefault() event.preventDefault()
event.stopPropagation() event.stopPropagation()
...@@ -23,7 +23,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin ...@@ -23,7 +23,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
window.annotator.hideFrame() window.annotator.hideFrame()
, ,
"title": "Show Annotations" "title": "Show Annotations"
"class": "icon-visible" "class": "h-icon-visible"
"click": (event) -> "click": (event) ->
event.preventDefault() event.preventDefault()
event.stopPropagation() event.stopPropagation()
...@@ -31,7 +31,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin ...@@ -31,7 +31,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
window.annotator.setVisibleHighlights state window.annotator.setVisibleHighlights state
, ,
"title": "Highlighting Mode" "title": "Highlighting Mode"
"class": "icon-highlighter" "class": "h-icon-highlighter"
"click": (event) -> "click": (event) ->
event.preventDefault() event.preventDefault()
event.stopPropagation() event.stopPropagation()
...@@ -40,7 +40,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin ...@@ -40,7 +40,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
window.annotator.setTool tool window.annotator.setTool tool
, ,
"title": "New Comment" "title": "New Comment"
"class": "icon-plus" "class": "h-icon-plus"
"click": (event) -> "click": (event) ->
event.preventDefault() event.preventDefault()
event.stopPropagation() event.stopPropagation()
......
...@@ -171,7 +171,7 @@ $base-font-size: 14px; ...@@ -171,7 +171,7 @@ $base-font-size: 14px;
position: relative; position: relative;
} }
[class^="icon-"], [class*=" icon-"] { [class^="h-icon-"], [class*=" h-icon-"] {
font-family: 'h'; font-family: 'h';
} }
} }
...@@ -275,7 +275,7 @@ $base-font-size: 14px; ...@@ -275,7 +275,7 @@ $base-font-size: 14px;
&:focus { outline: 0; } &:focus { outline: 0; }
&:hover { color: $link-color-hover; } &:hover { color: $link-color-hover; }
&.icon-comment { &.h-icon-comment {
text-shadow: text-shadow:
0 0 2px $gray-lightest, 0 0 2px $gray-lightest,
0 0 0 $gray; 0 0 0 $gray;
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
.markdown-tools-button {padding: .4em;} .markdown-tools-button {padding: .4em;}
.markdown-tools-button, .markdown-tools-toggle, .icon-markdown { .markdown-tools-button, .markdown-tools-toggle, .h-icon-markdown {
color: $gray; color: $gray;
&:hover { &:hover {
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
} }
.simple-search-clear { .simple-search-clear {
[class^="icon-"], [class*=" icon-"] { [class^="h-icon-"], [class*=" h-icon-"] {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
......
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