mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 08:01:33 -05:00
e54a1d1a43
GitOrigin-RevId: 878faff8eea90f508aa94e4471990c31d5d3f0e5
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
.toolbar.toolbar-editor(ng-controller="EditorToolbarController")
|
|
.toggle-wrapper
|
|
editor-switch
|
|
|
|
div(
|
|
formatting-buttons
|
|
ng-cloak
|
|
ng-if="!editor.showVisual"
|
|
buttons="editorButtons"
|
|
opening="editor.opening"
|
|
resize-on="layout:main:resize,layout:pdf:resize,layout:review:resize,review-panel:toggle"
|
|
is-fullscreen-editor="ui.view == 'editor' && ui.pdfLayout == 'flat'"
|
|
class="formatting-buttons"
|
|
)
|
|
div(
|
|
formatting-buttons
|
|
ng-cloak
|
|
ng-if="editor.showVisual"
|
|
buttons="[]"
|
|
opening="editor.opening"
|
|
resize-on="layout:main:resize,layout:pdf:resize,layout:review:resize,review-panel:toggle"
|
|
is-fullscreen-editor="ui.view == 'editor' && ui.pdfLayout == 'flat'"
|
|
class="formatting-buttons"
|
|
)
|
|
|
|
.toolbar-pdf-right
|
|
switch-to-pdf-button()
|
|
detacher-synctex-control()
|
|
editor-compile-button()
|
|
|
|
script(type="text/ng-template", id="formattingButtonsTpl")
|
|
.formatting-buttons-wrapper
|
|
|
|
|
button.btn.formatting-btn.formatting-btn--icon(
|
|
ng-repeat="button in shownButtons"
|
|
ng-click="button.handleClick()"
|
|
ng-class="{ active: button.active }",
|
|
aria-label="{{button.title}}"
|
|
tooltip="{{button.title}}"
|
|
tooltip-placement="bottom"
|
|
tooltip-append-to-body="true"
|
|
)
|
|
i(class="{{button.iconClass}}") {{button.iconText}}
|