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

loading.pug « utilities « src « docs - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f5ddb67777f43832dc0baf1f522b985846e11be8 (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
extends ../_layout/_docs-layout.pug

block variables
  - var slug = 'loading'
  - var parent = 'utilities'
  - var title = 'Loading - 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('loading', 'Loading')
    include ../_layout/_ad-g.pug

    p
      | Loading indicator is used for loading or updating.
      | You can add the #[code loading] class to a container for loading status.

    .docs-demo.columns
      .column.col-12.text-center
        .loading

    p
      | Add the #[code loading-lg] class for large size.

    .docs-demo.columns
      .column.col-12.text-center
        .loading.loading-lg

    pre.code(data-lang='HTML')
      code
        :highlight(lang="html")
          <!-- loading element -->
          <div class="loading"></div>
          <div class="loading loading-lg"></div>

    include ../_layout/_ad-c.pug

  include ../_layout/_footer.pug