Blame hig/ru/overlaid-controls.page

Packit 1470ea
Packit 1470ea
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="overlaid-controls" xml:lang="ru">
Packit 1470ea
Packit 1470ea
  <info>
Packit 1470ea
    <link type="guide" xref="patterns#secondary"/>
Packit 1470ea
    <desc>Floating controls, often used for images and video controls</desc>
Packit 1470ea
    <credit type="author">
Packit 1470ea
      <name>Алан Дэй (Allan Day)</name>
Packit 1470ea
      <email>aday@gnome.org</email>
Packit 1470ea
    </credit>
Packit 1470ea
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
Packit 1470ea
  </info>
Packit 1470ea
Packit 1470ea
<title>Overlaid controls</title>
Packit 1470ea
Packit 1470ea
<media type="image" mime="image/svg" src="figures/patterns/overlaid-controls.svg"/>
Packit 1470ea
Packit 1470ea

Transient controls that float over content are a common pattern for applications that show images or video.

Packit 1470ea
Packit 1470ea
<section id="when-to-use">
Packit 1470ea
<title>Когда использовать</title>
Packit 1470ea
Packit 1470ea

Since overlaid controls hide when they are not in use, they help to provide an uncluttered viewing experience. They are appropriate when it is desirable to present a clean and distraction-free view on a content item - this is particularly (although not exclusively) appropriate for images and video.

Packit 1470ea
Packit 1470ea

Overlaid controls may be inappropriate if they obscure relevant parts of the content below. Image editing controls may interfere with the ability to see their effects, for example. In these cases, controls should not be overlaid.

Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
<section id="guidelines">
Packit 1470ea
<title>Рекомендации</title>
Packit 1470ea
Packit 1470ea
<list>
Packit 1470ea
<item>

Follow established conventions for this type of control, such as left/right browse buttons in image viewers, and player controls at the bottom for video.

</item>
Packit 1470ea
<item>

Controls should be displayed when the pointer is moved over the content, or when it is tapped (on touch devices).

</item>
Packit 1470ea
<item>

Overlaid controls can be attached to the edge of the content/window, or can be free-floating. <link xref="action-bars">Action bars</link> can be treated as overlaid controls.

</item>
Packit 1470ea
<item>

Use the standard "OSD" theme style for overlaid controls.

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</section>
Packit 1470ea
Packit 1470ea
</page>