Table of contents

Cursors

Use special classes to set a specified cursor for the element.

About

Added in 4.2.5

Metro 4 contains special classes to set a specified cursor for the element. These classes have format .c-{cursor-name}

These classes do not contain !important marker.

Category Class Image Desc
General .c-auto   The browser determines the cursor to display based on the current context.
E.g. equivalent to text when hovering text.
.c-default default.gif Default cursor, typically an arrow.
.c-none   No cursor is rendered.
Links and task statuses .c-context-menu context-menu.png A context menu is available under the cursor.
Only IE 10 and up have implemented this on Windows: баг 258960.
.c-help help.gif Indicating help is available.
.c-pointer pointer.gif E.g. used when hovering over links, typically a hand.
.c-progress progress.gif The program is busy in the background but the user can still interact with the interface (unlike for wait).
.c-wait wait.gif The program is busy (sometimes an hourglass or a watch).
Selection .c-cell cell.gif Indicating that cells can be selected.
.c-crosshair crosshair.gif Cross cursor, often used to indicate selection in a bitmap.
.c-text text.gif Indicating text can be selected, typically an I-beam.
.c-text-vertical vertical-text.gif Indicating that vertical text can be selected, typically a sideways I-beam.
Drag & Drop .c-alias alias.gif Indicating an alias or shortcut is to be created.
.c-copy copy.gif Indicating that something can be copied.
.c-move move.gif The hovered object may be moved.
.c-no-drop no-drop.gif Cursor showing that a drop is not allowed at the current location.
баг 275173 on Windows and Mac OS X, "no-drop is the same as not-allowed".
.c-not-allowed not-allowed.gif Cursor showing that something cannot be done.
Resizing & scrolling .c-all-scroll all-scroll.gif Cursor showing that something can be scrolled in any direction (panned).
баг 275174 on Windows, "all-scroll is the same as move".
.c-col-resize col-resize.gif The item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating.
.c-row-resize row-resize.gif The item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them.
.c-n-resize Example of a resize towards the top cursor Some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box.
.c-e-resize Example of a resize towards the right cursor
.c-s-resize Example of a resize towards the bottom cursor
.c-w-resize Example of a resize towards the left cursor
.c-ne-resize Example of a resize towards the top-right corner cursor
.c-nw-resize Example of a resize towards the top-left corner cursor
.c-se-resize Example of a resize towards the bottom-right corner cursor
.c-sw-resize Example of a resize towards the bottom-left corner cursor
.c-ew-resize 3-resize.gif Indicates a bidirectional resize cursor.
.c-ns-resize 6-resize.gif
.c-nesw-resize 1-resize.gif
.c-nwse-resize 4-resize.gif
Zooming .c-zoom-in zoom-in.gif

Indicates that something can be zoomed (magnified) in or out.

.c-zoom-out zoom-out.gif
Capture .c-grab grab.gif

Indicates that something can be grabbed (dragged to be moved).

.c-grabbing grabbing.gif

                    <button class="button c-default">Default</button>
                    <button class="button c-pointer">Pointer</button>
                    <button class="button c-grab">Grab</button>