-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tooltips, fixes and addition (#2006)
- Fixes for tooltips lagging and getting stuck if the pointer happens to hover over the tooltip. - Fix for tooltips appearing behind other elements. - Addition of tooltips for editor tools. - Fix for tooltip appearance in related tables form.
- Loading branch information
Showing
3 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,38 @@ | ||
export default `<div id="o-editor-toolbar" class="o-editor-toolbar o-toolbar o-toolbar-horizontal o-padding-horizontal-8 o-rounded-top o-hidden"> | ||
<div id="o-editor-toolbar-drawtools" class="o-toolbar-horizontal"> | ||
<div class="o-popover-container"> | ||
<button id="o-editor-draw" class="o-button-lg" type="button" name="button"> | ||
<button id="o-editor-draw" class="o-button-lg o-tooltip" style aria-label="Nytt objekt" type="button" name="button"> | ||
<svg class="o-icon-24"> | ||
<use xlink:href="#ic_add_24px"></use> | ||
</svg> | ||
<span data-tooltip="Nytt objekt" data-placement="north"></span> | ||
</button> | ||
</div> | ||
</div> | ||
<button id="o-editor-attribute" class="o-button-lg" type="button" name="button"> | ||
<button id="o-editor-attribute" class="o-button-lg o-tooltip" style aria-label="Formulär" type="button" name="button"> | ||
<svg class="o-icon-24"> | ||
<use xlink:href="#ic_title_24px"></use> | ||
</svg> | ||
<span data-tooltip="Formulär" data-placement="north"></span> | ||
</button> | ||
<button id="o-editor-delete" class="o-button-lg" type="button" name="button"> | ||
<button id="o-editor-delete" class="o-button-lg o-tooltip" style aria-label="Radera" type="button" name="button"> | ||
<svg class="o-icon-24"> | ||
<use xlink:href="#ic_delete_24px"></use> | ||
</svg> | ||
<span data-tooltip="Radera" data-placement="north"></span> | ||
</button> | ||
<div class="o-popover-container"> | ||
<button id="o-editor-layers" class="o-button-lg" type="button" name="button"> | ||
<button id="o-editor-layers" class="o-button-lg o-tooltip" style aria-label="Lager" type="button" name="button"> | ||
<svg class="o-icon-24"> | ||
<use xlink:href="#ic_layers_24px"></use> | ||
</svg> | ||
<span data-tooltip="Lager" data-placement="north"></span> | ||
</button> | ||
</div> | ||
<button id="o-editor-save" class="o-button-lg o-disabled" type="button" name="button"> | ||
<button id="o-editor-save" class="o-button-lg o-disabled o-tooltip" style aria-label="Spara" type="button" name="button"> | ||
<svg class="o-icon-24"> | ||
<use xlink:href="#ic_save_24px"></use> | ||
</svg> | ||
<span data-tooltip="Spara" data-placement="north"></span> | ||
</button> | ||
</div>`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters