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
5a47a536
Commit
5a47a536
authored
Jul 01, 2019
by
Lyza Danger Gardner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused template, SASS for old `AnnotationHeader` Angular component
parent
f703f1ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
73 deletions
+0
-73
annotation-header.html
src/sidebar/templates/annotation-header.html
+0
-42
annotation.scss
src/styles/sidebar/components/annotation.scss
+0
-31
No files found.
src/sidebar/templates/annotation-header.html
deleted
100644 → 0
View file @
f703f1ad
<header
class=
"annotation-header"
>
<!-- User -->
<span
ng-if=
"vm.user()"
>
<annotation-user
annotation=
"vm.annotation"
></annotation-user>
<span
class=
"annotation-collapsed-replies"
>
<a
class=
"annotation-link"
href=
""
ng-click=
"vm.onReplyCountClick()"
ng-pluralize
count=
"vm.replyCount"
when=
"{'0': '', 'one': '1 reply', 'other': '{} replies'}"
></a>
</span>
<br
/>
<span
class=
"annotation-header__share-info"
>
<a
class=
"annotation-header__group"
target=
"_blank"
ng-if=
"vm.group() && vm.group().links.html"
href=
"{{vm.group().links.html}}"
>
<i
class=
"h-icon-group"
></i><span
class=
"annotation-header__group-name"
>
{{vm.group().name}}
</span>
</a>
<span
ng-show=
"vm.isPrivate"
title=
"This annotation is visible only to you."
>
<i
class=
"h-icon-lock"
></i><span
class=
"annotation-header__group-name"
ng-show=
"!vm.group().links.html"
>
Only me
</span>
</span>
<i
class=
"h-icon-border-color"
ng-show=
"vm.isHighlight && !vm.isEditing"
title=
"This is a highlight. Click 'edit' to add a note or tag."
></i>
<span
ng-if=
"::vm.showDocumentInfo"
>
<span
class=
"annotation-citation"
ng-if=
"vm.documentMeta().titleLink"
>
on "
<a
ng-href=
"{{vm.documentMeta().titleLink}}"
>
{{vm.documentMeta().titleText}}
</a>
"
</span>
<span
class=
"annotation-citation"
ng-if=
"!vm.documentMeta().titleLink"
>
on "{{vm.documentMeta().titleText}}"
</span>
<span
class=
"annotation-citation-domain"
ng-if=
"vm.documentMeta().domain"
>
({{vm.documentMeta().domain}})
</span>
</span>
</span>
</span>
<span
class=
"u-flex-spacer"
></span>
<timestamp
class-name=
"'annotation-header__timestamp'"
timestamp=
"vm.updated()"
href=
"vm.htmlLink()"
ng-if=
"!vm.editing() && vm.updated()"
></timestamp>
</header>
src/styles/sidebar/components/annotation.scss
View file @
5a47a536
...
...
@@ -3,7 +3,6 @@
// Highlight quote of annotation whenever its thread is hovered
.thread-list__card
:hover
.annotation-quote
{
border-left
:
$highlight
3px
solid
;
color
:
$grey-5
;
}
// When hovering a top-level annotation, show the footer in a hovered state.
...
...
@@ -60,35 +59,10 @@
}
.annotation-quote-list
,
.annotation-header
,
.annotation-footer
{
@include
pie-clearfix
;
}
.annotation-header
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
baseline
;
// Margin between top of x-height of username and
// top of the annotation card should be ~15px
margin-top
:
-
$layout-h-margin
+
10px
;
}
.annotation-header__share-info
{
color
:
$grey-5
;
@include
font-normal
;
}
.annotation-header__group
{
color
:
$color-gray
;
font-size
:
$body1-font-size
;
}
.annotation-header__group-name
{
display
:
inline-block
;
margin-left
:
5px
;
}
.annotation-body
{
@include
font-normal
;
color
:
$grey-6
;
...
...
@@ -164,11 +138,6 @@
color
:
$grey-5
;
}
.annotation-header__timestamp
{
@include
font-small
;
color
:
$grey-4
;
}
.annotation-actions
{
float
:
right
;
margin-top
:
0
;
...
...
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