mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add i18n; update the review icon image.
This commit is contained in:
parent
efc926ffc5
commit
64c29787c0
5 changed files with 11 additions and 3 deletions
|
@ -131,7 +131,7 @@ aside#left-menu.full-size(
|
|||
)
|
||||
|
||||
.form-controls
|
||||
label(for="editorTheme") #{translate("theme")}
|
||||
label(for="editorTheme") #{translate("editor_theme")}
|
||||
select(
|
||||
name="editorTheme"
|
||||
ng-model="settings.editorTheme"
|
||||
|
@ -141,7 +141,7 @@ aside#left-menu.full-size(
|
|||
|
||||
- if (settings.overleaf != null)
|
||||
.form-controls
|
||||
label(for="overallTheme") overall theme
|
||||
label(for="overallTheme") #{translate("overall_theme")}
|
||||
select(
|
||||
name="overallTheme"
|
||||
ng-model="settings.overallTheme"
|
||||
|
|
|
@ -28,7 +28,6 @@ define [
|
|||
@redrawAnnotations()
|
||||
|
||||
@$scope.$watch "theme", (value) =>
|
||||
console.log value
|
||||
@redrawAnnotations()
|
||||
|
||||
@editor.on "mousemove", (e) =>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -949,6 +949,7 @@
|
|||
display: inline-block;
|
||||
background: url('/img/review-icon-sprite-ol.png') top/30px no-repeat;
|
||||
width: 30px;
|
||||
background-position-y: -30px;
|
||||
|
||||
&::before {
|
||||
content: '\00a0'; // Non-breakable space. A non-breakable character here makes this icon work like font-awesome.
|
||||
|
@ -959,6 +960,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
.review-icon when (@is-overleaf-light = true) {
|
||||
background-position-y: 0;
|
||||
.toolbar .btn-full-height.active &,
|
||||
.toolbar .btn-full-height:active & {
|
||||
background-position-y: -30px;
|
||||
}
|
||||
}
|
||||
|
||||
.resolved-comments-toggle {
|
||||
font-size: 14px;
|
||||
color: lighten(@rp-type-blue, 25%);
|
||||
|
|
Loading…
Reference in a new issue