mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add review header item.
This commit is contained in:
parent
8d933d9b5f
commit
1148b00c9a
3 changed files with 23 additions and 3 deletions
|
@ -89,11 +89,10 @@ header.toolbar.toolbar-header.toolbar-with-labels(
|
||||||
href,
|
href,
|
||||||
ng-if="trackChangesFeatureFlag",
|
ng-if="trackChangesFeatureFlag",
|
||||||
ng-class="{ active: ui.reviewPanelOpen }"
|
ng-class="{ active: ui.reviewPanelOpen }"
|
||||||
tooltip="#{translate('review')}",
|
|
||||||
tooltip-placement="bottom",
|
|
||||||
ng-click="toggleReviewPanel()"
|
ng-click="toggleReviewPanel()"
|
||||||
)
|
)
|
||||||
| Review
|
i.review-icon
|
||||||
|
p.toolbar-label Review
|
||||||
a.btn.btn-full-height(
|
a.btn.btn-full-height(
|
||||||
href,
|
href,
|
||||||
ng-if="permissions.admin",
|
ng-if="permissions.admin",
|
||||||
|
|
BIN
services/web/public/img/review-icon-sprite.png
Normal file
BIN
services/web/public/img/review-icon-sprite.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
|
@ -697,3 +697,24 @@
|
||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.review-icon {
|
||||||
|
position: absolute;
|
||||||
|
background: url('/img/review-icon-sprite.png') top/30px no-repeat;
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
|
||||||
|
.toolbar .btn-full-height:hover & {
|
||||||
|
background-position-y: -30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbar .btn-full-height.active &,
|
||||||
|
.toolbar .btn-full-height:active & {
|
||||||
|
background-position-y: -60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
& + .toolbar-label {
|
||||||
|
margin-left: 34px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue