/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/web/css/docs/tooltips.html
189 строк
218 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 10:58
22 окт 2025, 10:58
3d4f486
Код
Авторство
О чём код?
<!-- /** * Copyright 2014 Adobe * All Rights Reserved. */ --> <!DOCTYPE html><html><head><title>tooltips | Magento UI Library </title><meta charset="utf-8"><style>*{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;border:0}body{padding:60px 0 40px;background-color:hsl(207,10%,90%);color:hsl(207,5%,30%)}.co … [Строка слишком длинная. Вы можете скачать файл] <p> Magento UI library provides 4 tooltip types:</p> <pre><code class="lang-css"> top bottom left right</code></pre> <textarea class="preview-code" spellcheck="false">Lorem Ipsum is simply <span class="example-tooltip-bottom"><a href="#" aria-describedby="tooltip-1">dummy</a><span class="tooltip-content" id="tooltip-1" role="tooltip">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</span></span> text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a <span class="example-tooltip-left"><a href="#" aria-describedby="tooltip-2">galley</a><span class="tooltip-content" id="tooltip-2" role="tooltip">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</span></span> of type and scrambled it to make a type specimen book. It has survived <span class="example-tooltip-right"><a href="#" aria-describedby="tooltip-3">not</a><span class="tooltip-content" id="tooltip-3" role="tooltip">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</span></span> only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing <span class="example-tooltip-top"><a href="#" aria-describedby="tooltip-4">software</a><span class="tooltip-content" id="tooltip-4" role="tooltip">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s</span></span> like Aldus PageMaker including versions of Lorem Ipsum.</textarea> </div><div class="code"><pre><code>.example-tooltip-bottom { .lib-tooltip(bottom); } .example-tooltip-left { .lib-tooltip(left); } .example-tooltip-right { .lib-tooltip(right); } .example-tooltip-top { .lib-tooltip(top); }</code></pre></div></article><article id="tooltips-variables" class="section"><div class="docs"><a href="#tooltips-variables" class="permalink"><svg viewBox="0 0 512 512" height="32" width="32" class="icon"><path d="M156.2,199.7c7.5-7.5,15.9-13.8,24.8-18.7c49.6-27.3,113.1-12.8,145,35.5l-38.5,38.5c-11.1-25.2-38.5-39.6-65.8-33.5c-10.3,2.3-20.1,7.4-28,15.4l-73.9,73.9c-22.4,22.4-22.4,58.9,0,81.4c22.4,22.4,58.9,22.4,81.4,0l22.8-22.8c20.7,8.2,42.9,11.5,64.9,9.9l-50.3,50.3c-43.1,43.1-113,43.1-156.1,0c-43.1-43.1-43.1-113-0-156.1L156.2,199.7z M273.6,82.3l-50.3,50.3c21.9-1.6,44.2,1.6,64.9,9.9l22.8-22.8c22.4-22.4,58.9-22.4,81.4,0c22.4,22.4,22.4,58.9,0,81.4l-73.9,73.9c-22.5,22.5-59.1,22.3-81.4,0c-5.2-5.2-9.7-11.7-12.5-18l-38.5,38.5c4,6.1,8.3,11.5,13.7,16.9c13.9,13.9,31.7,24.3,52.1,29.3c26.5,6.4,54.8,2.8,79.2-10.6c8.9-4.9,17.3-11.1,24.8-18.7l73.9-73.9c43.1-43.1,43.1-113,0-156.1C386.6,39.2,316.7,39.2,273.6,82.3z"></path></svg></a><h1 id="tooltips-variables">Tooltips variables</h1> <pre> <table> <tr> <th class="vars_head">Mixin variable</th> <th class="vars_head">Global variable</th> <th class="vars_head">Default value</th> <th class="vars_head">Allowed values</th> <th class="vars_head">Comment</th> </tr> <tr> <th>@_tooltip-position</th> <td>-</td> <td class="vars_value">top</td> <td class="vars_value">top | right | bottom | left</td> <td>Side of the element tooltip is displayed on</td> </tr> <tr> <th>@_tooltip-selector-toggle</th> <td>-</td> <td class="vars_value">~".tooltip-toggle"</td> <td class="vars_value">'' | false | value</td> <td>The class name of the element that toggles tooltip</td> </tr> <tr> <th>@_tooltip-selector-content</th> <td>-</td> <td class="vars_value">~".tooltip-content"</td> <td class="vars_value">'' | false | value</td> <td>The tooltip content class name</td> </tr> <tr> <th>@_tooltip-background</th> <td>@tooltip__background</td> <td class="vars_value">@color-white</td> <td class="vars_value">'' | false | value</td> <td>Tooltip background color</td> </tr> <tr> <th>@_tooltip-border-color</th> <td>@tooltip__border-color</td> <td class="vars_value">#bbb</td> <td class="vars_value">'' | false | value</td> <td>Tooltip border color</td> </tr> <tr> <th>@_tooltip-border-width</th> <td>@tooltip__border-width</td> <td class="vars_value">1px</td> <td class="vars_value">'' | false | value</td> <td>Tooltip border width</td> </tr> <tr> <th>@_tooltip-border-radius</th> <td>@tooltip__border-radius</td> <td class="vars_value">false</td> <td class="vars_value">'' | false | value</td> <td>Tooltip border radius</td> </tr> <tr> <th>@_tooltip-color</th> <td>@tooltip__color</td> <td class="vars_value">@primary__color</td> <td class="vars_value">'' | false | value</td> <td>Tooltip text color</td> </tr> <tr> <th>@_tooltip-cursor</th> <td>@tooltip__cursor</td> <td class="vars_value">help</td> <td class="vars_value">'' | false | value</td> <td>Tooltip cursor</td> </tr> <tr> <th>@_tooltip-font-size</th> <td>@tooltip__font-size</td> <td class="vars_value">false</td> <td class="vars_value">'' | false | value</td> <td>Tooltip font size</td> </tr> <tr> <th>@_tooltip-font-family</th> <td>@tooltip__font-family</td> <td class="vars_value">false</td> <td class="vars_value">'' | false | value</td> <td>Tooltip font family</td> </tr> <tr> <th>@_tooltip-font-weight</th> <td>@tooltip__font-weight</td> <td class="vars_value">false</td> <td class="vars_value">'' | false | value</td> <td>Tooltip font weight</td> </tr> <tr> <th>@_tooltip-font-style</th> <td>@tooltip__font-style</td> <td class="vars_value">false</td> <td class="vars_value">'' | false | value</td> <td>Tooltip font style</td> </tr> <tr> <th>@_tooltip-line-height</th> <td>@tooltip__line-height</td> <td class="vars_value">1.4</td> <td class="vars_value">'' | false | value</td> <td>Tooltip line height</td> </tr> <tr> <th>@_tooltip-margin</th> <td>@tooltip__margin</td> <td class="vars_value">false</td> <td class="vars_value">'' | false | value</td> <td>Tooltip margin</td> </tr> <tr> <th>@_tooltip-padding</th> <td>@tooltip__padding</td> <td class="vars_value">12px 16px</td> <td class="vars_value">'' | false | value</td> <td>Tooltip padding</td> </tr> <tr> <th>@_tooltip-min-width</th> <td>@tooltip__min-width</td> <td class="vars_value">210px</td> <td class="vars_value">'' | false | value</td> <td>Tooltip minimal width</td> </tr> <tr> <th>@_tooltip-max-width</th> <td>@tooltip__max-width</td> <td class="vars_value">360px</td> <td class="vars_value">'' | false | value</td> <td>Tooltip maximal width</td> </tr> <tr> <th>@_tooltip-arrow-size</th> <td>@tooltip-arrow__size</td> <td class="vars_value">5px</td> <td class="vars_value">'' | false | value</td> <td>Tooltip arrow size</td> </tr> <tr> <th>@_tooltip-arrow-offset</th> <td>@tooltip-arrow__offset</td> <td class="vars_value">10px</td> <td class="vars_value">'' | false | value</td> <td>Tooltip arrow offset</td> </tr> <tr> <th>@_tooltip-z-index</th> <td>@tooltip__z-index</td> <td class="vars_value">100</td> <td class="vars_value">'' | false | value</td> <td>Tooltip z-index</td> </tr> </table> </pre> </div></article></section><div class="bar bottom"><div hidden class="settings container"><!-- Icons from http://iconmonstr.com--><button title="Desktop (1280)" data-width='1280'><svg viewBox="0 0 412 … [Строка слишком длинная. Вы можете скачать файл]