Summary Files Commits Branches @commit @diff @stats
path: root / index.html
diff options
context:
space:
mode:
Commit0b11b9be0b33cc8006fe61a5b359342afca83a2a (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-11 09:00:26 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-11 09:00:26 +0800
Filesa30e179aef119f6ccb2731e2f78b3893727374d9 /index.html
Spectre-Dark-Gruvbox-0b11b9be0b33cc8006fe61a5b359342afca83a2a.tar
Spectre-Dark-Gruvbox-0b11b9be0b33cc8006fe61a5b359342afca83a2a.tar.gz
Spectre-Dark-Gruvbox-0b11b9be0b33cc8006fe61a5b359342afca83a2a.zip
Parentd5dc078eb7eb895a3130cdb6188dc59b56324f17 (diff)
Parent660c41f50f2948dc00364869aaed05dc9d1739d1 (diff)
Merge branch 'master' into gh-pages
1 files changed, 34 insertions, 16 deletions
-rw-r--r--index.html50
diff --git a/index.html b/index.html
index a7b90d5..c6d9ced 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="https://github.com/picturepan2/spectre" />
- <title>Spectre, a lightweight and modern CSS framework for faster and extensible development.</title>
+ <title>Spectre.css, a lightweight and modern CSS framework for faster and extensible development.</title>
<link rel="stylesheet" href="dist/spectre.css" />
<link rel="stylesheet" href="demo/font/style.css" />
<style>
@@ -61,9 +61,9 @@
<body>
<section class="container bg-grey">
<section id="overview" class="grid-hero grid-960">
- <header class="text-center"><h3>Spectre</h3></header>
+ <header class="text-center"><h3>Spectre.css</h3></header>
<section>
- <p><strong>Spectre</strong> is a lightweight and modern CSS framework for faster and extensible development.</p>
+ <p><strong>Spectre.css</strong> is a lightweight and modern CSS framework for faster and extensible development.</p>
<ul>
<li>lightweight and clean starting point for your project</li>
<li>flexbox, responsive and mobile-friendly layout</li>
@@ -1106,7 +1106,7 @@
</div>
<section class="notes">
<p>Add a container element with the class <code class="label">toast</code>. You can add any text within the container, and even icons. You may also add a close button with the class <code class="label">btn-clear</code> if you need. </p>
- <p>You can add the class <code class="label">toast-primary</code>, <code class="label">toast-success</code>, <code class="label">toast-info</code>, <code class="label">toast-warning</code>, <code class="label">toast-danger</code> for more colors.</p>
+ <p>You can add the class <code class="label">toast-primary</code>, <code class="label">toast-success</code>, <code class="label">toast-info</code>, <code class="label">toast-warning</code>, <code class="label">toast-danger</code> for additional colors.</p>
</section>
<!-- toasts example -->
@@ -1132,24 +1132,24 @@
</section>
<div class="columns">
<div class="column">
- <menu class="menu">
- <menuitem class="menu-item">
+ <ul class="menu">
+ <li class="menu-item">
<a href="#" class="active">
My profile
</a>
- </menuitem>
- <menuitem class="divider"></menuitem>
- <menuitem class="menu-item">
+ </li>
+ <li class="divider"></li>
+ <li class="menu-item">
<a href="#">
Settings
</a>
- </menuitem>
- <menuitem class="menu-item">
+ </li>
+ <li class="menu-item">
<a href="#">
Logout
</a>
- </menuitem>
- </menu>
+ </li>
+ </ul>
</div>
<div class="column">
<ul class="menu">
@@ -1483,8 +1483,8 @@
<div class="content">
<form>
<div class="form-group">
- <label class="form-label" for="input-example-1">Name</label>
- <input class="form-input" type="text" id="input-example-1" placeholder="Name" />
+ <label class="form-label" for="input-example-7">Name</label>
+ <input class="form-input" type="text" id="input-example-7" placeholder="Name" />
</div>
<div class="form-group">
<label class="form-label">Gender</label>
@@ -1632,6 +1632,7 @@
<a href="#display" class="btn btn-primary">display</a>
<a href="#text" class="btn btn-primary">text</a>
<a href="#shapes" class="btn btn-primary">shapes</a>
+ <a href="#loading" class="btn btn-primary">loading</a>
</div>
</section>
</section>
@@ -1727,7 +1728,7 @@
</section>
- <section id="shadow" class="grid-960">
+ <section id="shapes" class="grid-960">
<section class="notes">
<p><strong>Shape utilities</strong> are used for change element shapes.</p>
</section>
@@ -1741,6 +1742,23 @@
</pre>
</section>
+
+ <section id="loading" class="grid-960">
+ <section class="notes">
+ <p><strong>Loading indicator</strong> is used for loading or updating. Also, you can add the class <code class="label">loading</code> to buttons for loading status.</p>
+ </section>
+ <div class="columns">
+ <div class="column">
+ <div class="loading"></div>
+ </div>
+ </div>
+ <!-- loading example -->
+<pre class="code lang-html">
+<span class="com">&lt;!-- loading element --&gt;</span>
+&lt;<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">&quot;loading&quot;</span>&gt;&lt;<span class="tag">/div</span>&gt;
+</pre>
+
+ </section>
</section>
<footer class="bg-grey">
<section id="copyright" class="grid-footer grid-960">