mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Add review header item.
This commit is contained in:
@@ -89,11 +89,10 @@ header.toolbar.toolbar-header.toolbar-with-labels(
|
||||
href,
|
||||
ng-if="trackChangesFeatureFlag",
|
||||
ng-class="{ active: ui.reviewPanelOpen }"
|
||||
tooltip="#{translate('review')}",
|
||||
tooltip-placement="bottom",
|
||||
ng-click="toggleReviewPanel()"
|
||||
)
|
||||
| Review
|
||||
i.review-icon
|
||||
p.toolbar-label Review
|
||||
a.btn.btn-full-height(
|
||||
href,
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user