Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cursors.pug « utilities « src « docs - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c816795dd5d0ff9a9e5d64a20bdc74f4e3b0ca20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
extends ../_layout/_docs-layout.pug

block variables
  - var slug = 'cursors'
  - var parent = 'utilities'
  - var title = 'Cursor utilities - Utilities - Spectre.css CSS Framework'
  - var description = 'Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development. Spectre provides basic styles for typography and elements, flexbox based responsive layout system, pure CSS components and utilities with best practice coding and consistent design language.'

block docs-content
  +docs-heading('cursors', 'Cursor utilities')
    include ../_layout/_ad-g.pug

    p Cursor utilities specify which mouse cursor to display when mouseover.

    .docs-demo.columns
      .column.col-4
        .bg-gray.docs-block.c-hand c-hand
      .column.col-4
        .bg-gray.docs-block.c-move c-move
      .column.col-4
        .bg-gray.docs-block.c-zoom-in c-zoom-in
      .column.col-4
        .bg-gray.docs-block.c-zoom-out c-zoom-out
      .column.col-4
        .bg-gray.docs-block.c-not-allowed c-not-allowed
      .column.col-4
        .bg-gray.docs-block.c-auto c-auto

    pre.code(data-lang='HTML')
      code
        :highlight(lang="html")
          <!-- cursor: hand; -->
          <div class="c-hand"></div>
          <!-- cursor: move; -->
          <div class="c-move"></div>
          <!-- cursor: zoom-in; -->
          <div class="c-zoom-in"></div>
          <!-- cursor: zoom-out; -->
          <div class="c-zoom-out"></div>
          <!-- cursor: not-allowed; -->
          <div class="c-not-allowed"></div>
          <!-- cursor: auto; -->
          <div class="c-auto"></div>

    include ../_layout/_ad-c.pug

  include ../_layout/_footer.pug