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
b6ab7b46
Commit
b6ab7b46
authored
Oct 08, 2014
by
Aron Carroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update all icon references to use the new namespace
parent
45c0b854
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
simple-search.coffee
h/static/scripts/directives/simple-search.coffee
+2
-2
status-button.coffee
h/static/scripts/directives/status-button.coffee
+1
-1
toolbar.coffee
h/static/scripts/plugin/toolbar.coffee
+4
-4
inject.scss
h/static/styles/inject.scss
+2
-2
markdown-editor.scss
h/static/styles/markdown-editor.scss
+1
-1
simple-search.scss
h/static/styles/simple-search.scss
+1
-1
No files found.
h/static/scripts/directives/simple-search.coffee
View file @
b6ab7b46
...
...
@@ -27,9 +27,9 @@ simpleSearch = ['$parse', ($parse) ->
template
:
'''
<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…" />
<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)">
<i class="icon-x"></i>
<i class="
h-
icon-x"></i>
</button>
</form>
'''
...
...
h/static/scripts/directives/status-button.coffee
View file @
b6ab7b46
...
...
@@ -18,7 +18,7 @@ statusButton = ->
<span class="btn-icon spinner"><span><span></span></span></span>
</span>
<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>
'''
...
...
h/static/scripts/plugin/toolbar.coffee
View file @
b6ab7b46
...
...
@@ -12,7 +12,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
options
:
items
:
[
"title"
:
"Toggle Sidebar"
"class"
:
"icon-comment"
"class"
:
"
h-
icon-comment"
"click"
:
(
event
)
->
event
.
preventDefault
()
event
.
stopPropagation
()
...
...
@@ -23,7 +23,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
window
.
annotator
.
hideFrame
()
,
"title"
:
"Show Annotations"
"class"
:
"icon-visible"
"class"
:
"
h-
icon-visible"
"click"
:
(
event
)
->
event
.
preventDefault
()
event
.
stopPropagation
()
...
...
@@ -31,7 +31,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
window
.
annotator
.
setVisibleHighlights
state
,
"title"
:
"Highlighting Mode"
"class"
:
"icon-highlighter"
"class"
:
"
h-
icon-highlighter"
"click"
:
(
event
)
->
event
.
preventDefault
()
event
.
stopPropagation
()
...
...
@@ -40,7 +40,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
window
.
annotator
.
setTool
tool
,
"title"
:
"New Comment"
"class"
:
"icon-plus"
"class"
:
"
h-
icon-plus"
"click"
:
(
event
)
->
event
.
preventDefault
()
event
.
stopPropagation
()
...
...
h/static/styles/inject.scss
View file @
b6ab7b46
...
...
@@ -171,7 +171,7 @@ $base-font-size: 14px;
position
:
relative
;
}
[
class
^=
"
icon-"
],
[
class
*=
"
icon-"
]
{
[
class
^=
"
h-icon-"
],
[
class
*=
" h-
icon-"
]
{
font-family
:
'h'
;
}
}
...
...
@@ -275,7 +275,7 @@ $base-font-size: 14px;
&
:focus
{
outline
:
0
;
}
&
:hover
{
color
:
$link-color-hover
;
}
&
.icon-comment
{
&
.
h-
icon-comment
{
text-shadow
:
0
0
2px
$gray-lightest
,
0
0
0
$gray
;
...
...
h/static/styles/markdown-editor.scss
View file @
b6ab7b46
...
...
@@ -29,7 +29,7 @@
.markdown-tools-button
{
padding
:
.4em
;}
.markdown-tools-button
,
.markdown-tools-toggle
,
.icon-markdown
{
.markdown-tools-button
,
.markdown-tools-toggle
,
.
h-
icon-markdown
{
color
:
$gray
;
&
:hover
{
...
...
h/static/styles/simple-search.scss
View file @
b6ab7b46
...
...
@@ -43,7 +43,7 @@
}
.simple-search-clear
{
[
class
^=
"
icon-"
],
[
class
*=
"
icon-"
]
{
[
class
^=
"
h-icon-"
],
[
class
*=
" h-
icon-"
]
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
...
...
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