From 5e74f8637756add6bfeca4129e6869e5d470c2ea Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Thu, 7 Apr 2016 19:22:44 +0800 Subject: update doc and index --- demo/index.html | 958 -------------------------------------------------------- 1 file changed, 958 deletions(-) delete mode 100644 demo/index.html (limited to 'demo') diff --git a/demo/index.html b/demo/index.html deleted file mode 100644 index ca36a6d..0000000 --- a/demo/index.html +++ /dev/null @@ -1,958 +0,0 @@ - - - - - - - - Spectre, a lightweight and clean CSS framework for faster and extendable development. - - - - - -
-
-

Project Spectre

-
-

Project Spectre is a lightweight and clean CSS framework for faster and extendable development.

-
    -
  • lightweight and clean starting point for your project
  • -
  • flexbox and responsive layout friendly
  • -
  • built in useful components and utilities
  • -
-
-
- -
-
-
-
-
- -
- -
-

typography

-
-

typography.less sets default styles for headings, paragraphs, blockquote, lists elements and some text related utilities.

-
- -
headings
-

H1 Title 5rem

-

H2 Title 4rem

-

H3 Title 3rem

-

H4 Title 2.4rem

-
H5 Title 2rem
-
H6 Title 1.6rem
- -
paragraphs
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

- -
blockquote
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

- - Source -
- -
lists
-
-
-
    -
  • list item 1
  • -
  • list item 2 -
      -
    • list item 2.1
    • -
    • list item 2.2
    • -
    • list item 2.3
    • -
    -
  • -
  • list item 3
  • -
-
-
-
    -
  1. list item 1
  2. -
  3. list item 2 -
      -
    1. list item 2.1
    2. -
    3. list item 2.2
    4. -
    5. list item 2.3
    6. -
    -
  4. -
  5. list item 3
  6. -
-
-
-
- -
-

flexbox layout

-
-

layout.less includes flexbox based grid system with 12 columns.

-

Add the class columns to a container. Add any element you want with classname column inside the container. These columns will take up the space equally. You can specific the width of each column by adding class col-[1-12].

-
-
-
-
1
-
-
-
2
-
-
-
3
-
-
-
4
-
-
-
5
-
-
-
6
-
-
-
7
-
-
-
8
-
-
-
9
-
-
-
10
-
-
-
11
-
-
-
12
-
-
-
-
-
1
-
-
-
2
-
-
-
3
-
-
-
4
-
-
-
-
-
1
-
-
-
2
-
-
-
3
-
-
-
4
-
-
-
- -
-

tables

-
-

tables.less sets default styles for tables and data sets.

-

Add the class <table> to any table element. The class will add padding, border and emphasized table header. Adding the class selected to a <tr> element will highlight the whole table row.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
namedurationgenrerelease date
The Shawshank Redemption2h 22minCrime, Drama14 October 1994 USA
The Godfather2h 55minCrime, Drama24 March 1972 USA
Schindler's List3h 15minBiography, Drama, History4 February 1994 USA
Se7en2h 7minCrime, Drama, Mystery24 March 1972 USA
-
- -
-

buttons

-
-

buttons.less includes simple button style for actions in different types and sizes.

-

Add the class btn to <a>, <input> or <button> elements for a default button. There are classes btn-primary and btn-link for predefined primary and link buttons. A button with the class loading can show loading indicator.

-
-
-
- - -
-
- - -
-
- - -
-
- -
button sizes
-
-

Add the class btn-sm or btn-lg for small or large size. Icons with the class icon can be correctly rendered in each button size. Also, you can add the class btn-block for a full-width button.

-
-
-
- - - -
-
- -
- -
-
-
- - - -
-
- -
button groups
-
-

If you want to use buttons as a group, add the class btn-group to the container.

-
-
-
-
- - - -
-
-
-
- - - -
-
-
-
- -
-

forms

-
-

forms.less provides the most common control styles used in forms, including label, input, textarea, select, checkbox, radio and switch.

-

-
-
-
-
-
- - -
-
- - -
-
- -
-
- -
-
- - -
-
- - - -
-
- -
-
- - -
-
-
-
-
-
- -
- -
-
-
- -
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
- -
-
-
- -
- - -
-
-
-
-
- -
-
-
-
-
- - -
-
-
-
-
- -
input groups
-
-
-
- slack.com/ - -
-
-
-
- slack.com/ - - -
-
-
-
- -
-

media

-
-
- -
-
- -
-
-
- -
-

avatars

-
-
- - - - - -
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
-
-
-
-
-
-
-
-
-
- -
-

chips

-
-
-
- - Crime - -
-
- Drama - -
-
- Biography - -
-
- Mystery - -
-
-
-
- - Yan Zhu - -
-
- - Yan Zhu - -
-
- - Yan Zhu - -
-
-
-
- -
-

file icons

-
-

fileicons.less includes a set of file icons. This part is written entirely in CSS as well.

-
-
-
-
-
-
-
-
-
-
- -
-
-
- -
-

tooltips

-
-

tooltips.less is a label-like component that appears on hover and focus.

-

Add the class tooltip and the attribute data-tooltip, which contains the tooltip content, to non self closing elements. And add the class name tooltip-right, tooltip-bottom or tooltip-left to define the position of a tooltip. By default, the tooltip appears above the element.

- <button class="btn btn-primary tooltip tooltip-right" data-tooltip="Lorem ipsum dolor sit amet">right tooltip</button> -
-
-
- -
-
- -
-
- -
-
- -
-
-
- -
-

labels

-
-

labels.less .

-

Add the class label to span elements.

-
-
-
- default label -
-
- primary label -
-
- success label -
-
- info label -
-
- warning label -
-
- danger label -
-
- default label -
-
- primary label -
-
-
- -
-

toasts

-
-

toasts.less is used to show alert or information to users.

-

Add a container element with the class toast. You can add any text within the container, and even icons. You may also add a close button with the class btn-clear if you need.

-
-
-
-
- - Lorem ipsum dolor sit amet, consectetur adipiscing elit. -
-
-
-
- - Lorem ipsum dolor sit amet, consectetur adipiscing elit. -
-
-
-
-
-
- - Efficiently unleash cross-media information without cross-media value. -
-
-
-
- - Efficiently unleash cross-media information without cross-media value. -
-
-
-
- - Efficiently unleash cross-media information without cross-media value. -
-
-
-
- - Efficiently unleash cross-media information without cross-media value. -
-
-
-
- - - - - -
-

tabs

- -
- -
-

badges

-
-

badges.less is often used as unread number indicator.

-

Add the class badge to non self closing elements. And add the attribute data-badge to define the content of a badge. The badge will appear in the top-right direction of the element.

-
-
-
- - Notifications - -
-
- - Notifications - -
-
- - Notifications - -
-
- - Notifications - -
-
-
- -
-

modals

-
-
- -
-
-
-
-

cards

-
-
-
-
- -
-
-

Microsoft

-
Software and hardware
-
-
- Empower every person and every organization on the planet to achieve more. -
- -
-
-
-
-
-

Apple

-
Hardware and software
-
-
- -
-
- To make a contribution to the world by making tools for the mind that advance humankind. -
- -
-
-
-
-
-

Google

-
Software and hardware
-
-
- Organize the world’s information and make it universally accessible and useful. -
- -
-
-
-
-
- - \ No newline at end of file -- cgit v1.3.1-26-gb76a