diff --git a/docs/components.html b/docs/components.html index d5e037d96..7089ade73 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1430,7 +1430,7 @@

diff --git a/docs/css/docs.css b/docs/css/docs.css index 3026c4533..73aa88205 100644 --- a/docs/css/docs.css +++ b/docs/css/docs.css @@ -21,7 +21,7 @@ } .section-footer { color: #acb3c2; - padding: 25px 15px 10px 15px; + padding: 26px 15px 10px 15px; position: relative; z-index: 200; } @@ -86,15 +86,18 @@ overflow: auto; } .docs-content { + padding-bottom: 50px; padding-top: 0; } .docs-content .container { padding: 10px; } -.docs-content header { +.docs-content .container > h3, +.docs-content .container > h4 { padding-top: 55px; } .docs-content .anchor { + color: #626fca; height: 0; margin-left: -1em; overflow: hidden; @@ -218,12 +221,12 @@ padding: 0 5px; } .docs-sidebar { - padding: 70px 10px 50px 10px; + padding: 70px 10px 70px 10px; position: relative; } .docs-sidebar .docs-nav { bottom: 50px; - height: calc(100vh - 120px); + height: calc(100vh - 140px); overflow-y: auto; position: fixed; top: 90px; diff --git a/docs/elements.html b/docs/elements.html index 41b612ed1..a196a4ce1 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -254,11 +254,11 @@
-

Typography

+

Typography

Typography sets default styles for headings, paragraphs, semantic text, blockquote and lists elements.

-

Headings

+

Headings

H1 Title 5rem

H2 Title 4rem

@@ -273,7 +273,7 @@
H6 Title 1.6rem
<h2>H2 Title <small class="label">4rem</small></h2> -

Paragraphs

+

Paragraphs

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent risus leo, dictum in vehicula sit amet, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.

Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs.

@@ -283,7 +283,7 @@
H6 Title 1.6rem
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent risus leo, <a href="#">dictum in vehicula sit amet</a>, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.</p>
 
-

Semantic text elements

+

Semantic text elements

I18N @@ -362,7 +362,7 @@
H6 Title 1.6rem
-

Optimized for east asian fonts

+

Optimized for east asian fonts

你好, こんにちは, 안녕하세요

Chinese (Simplified)
@@ -397,7 +397,7 @@
Korean
<p class="cjk"><del>祇園</del><del>精舎</del>の鐘の声、諸行無常の響きあり。……</p> -

Blockquote

+

Blockquote

The advance of technology is based on making it fit in so that you don't really even notice it, so it's part of everyday life.

- Bill Gates @@ -410,7 +410,7 @@
Korean
</blockquote> -

Lists

+

Lists

    @@ -474,7 +474,7 @@
    Korean
-

Tables

+

Tables

Tables include default styles for tables and data sets.

@@ -536,7 +536,7 @@
Korean
-

Buttons

+

Buttons

Buttons include simple button styles for actions in different types and sizes.

@@ -601,7 +601,7 @@
Korean
<button class="btn loading">button</button> -

Button sizes

+

Button sizes

@@ -649,7 +649,7 @@
Korean
<button class="btn btn-action circle"><i class="icon icon-arrow-left"></i></button> -

Button groups

+

Button groups

@@ -697,7 +697,7 @@
Korean
-

Forms

+

Forms

Forms provide the most common control styles used in forms, including input, textarea, select, checkbox, radio and switch.

@@ -809,7 +809,7 @@
Korean

You can use :indeterminate pseudo class for indeterminate state of checkboxes.

-

Horizontal forms

+

Horizontal forms

If you want to have a horizontal form, add the form-horizontal class to the <form> container. And add the col-[1-12] class to the child elements for form row layout.

@@ -908,7 +908,7 @@
Korean
</form> -

Form sizes

+

Form sizes

For smaller or larger input and select controls, you could add the input-sm/input-lg, select-sm/select-lg and label-sm/label-lg classes to the elements.

@@ -945,7 +945,7 @@
Korean
-

Form icons

+

Form icons

Add a wrapper with the has-icon-left/has-icon-right class to <input> element. And add the icon with form-icon class next to the <input>.

@@ -1030,7 +1030,7 @@
Korean
</div> -

Input types

+

Input types

@@ -1110,7 +1110,7 @@
Korean
-

Input groups

+

Input groups

@@ -1193,7 +1193,7 @@
Korean
</div> -

Form validation styles

+

Form validation styles

To use form validation styles, add is-success or is-error class to the controls or add has-success or has-error class to parent elements. You can use the form-input-hint class to provide form validation success and error messages.

@@ -1292,7 +1292,7 @@
Korean
</form> -

Form disabled styles

+

Form disabled styles

Add the disabled attribute to the element or <fieldset> for a disabled form components style.

@@ -1346,11 +1346,11 @@
Korean
-

Icons experimental

+

Icons experimental

Icons are single-element, responsive and pure CSS icons. You can include spectre-icons.css located in the dist folder to your web <head> to have these CSS icons.

-

Navigation

+

Navigation

-

Action

+

Action

-

Object

+

Object

-

Labels

+

Labels

Labels are formatted text tags for highlighted, informative information.

@@ -1620,7 +1620,7 @@
Korean
-

Codes

+

Codes

Codes are inline and multiline code snippets.

For inline code, you can use the element <code>. For multiline code snippet blocks, you can use <pre> with the code class as a container, and add <code> inside it. The data-lang attribute is rendered as the language name in the top right.

@@ -1643,11 +1643,11 @@
Korean
-

Media

+

Media

Media includes responsive images, figures and video classes.

-

Images

+

Images

Add the img-responsive class to <img> elements. The images will scale with the parent sizes.

@@ -1698,7 +1698,7 @@
Korean
</figure> -

Video

+

Video

For responsive video, add a container with the video-responsive class. Insert any YouTube, Youku or other iframe/embed video inside the container. The ratio is 16:9 by default. You may add video-responsive-4-3 for 4:3 ratio video container or video-responsive-1-1 for 1:1 ratio.

@@ -1741,9 +1741,7 @@

Layout

diff --git a/docs/experimentals.html b/docs/experimentals.html index c67d75754..84c9365ce 100644 --- a/docs/experimentals.html +++ b/docs/experimentals.html @@ -255,14 +255,14 @@
-

Experimentals

+

Experimentals

The Experimentals include experimental elements and features, mostly are not yet ready for wide use. These elements and components are limited inside spectre-exp.less before browsers fully support them. Sometimes, there are some specific browsers targeted components.

-

Calendars

+

Calendars

Calendars are designed for date or date range picker and events display. It is made with flex layout.

@@ -330,7 +330,7 @@
-

Calendars large

+

Calendars large

@@ -425,7 +425,7 @@
-

Carousels

+

Carousels

Carousels are slideshows for cycling images. It is built in pure CSS.

@@ -490,7 +490,7 @@
-

Comparison Sliders

+

Comparison Sliders

Comparison Sliders are sliders for comparing two images. It is built in pure CSS.

@@ -528,7 +528,7 @@
-

Filters

+

Filters

Filters are CSS only content filters.

@@ -653,7 +653,7 @@
-

Meters

+

Meters

Meters represent the value within the known range.

@@ -688,7 +688,7 @@
-

Parallax

+

Parallax

The Parallax acts like Apple TV/tvOS hover parallax effect. It is built in pure CSS.

@@ -731,7 +731,7 @@

tvOS parallax demo

-

Progress

+

Progress

The Progress indicates the progress completion of a task.

@@ -758,7 +758,7 @@

tvOS parallax demo

-

Sliders

+

Sliders

Sliders are for selecting values from ranges.

@@ -778,7 +778,7 @@

tvOS parallax demo

-

Timelines

+

Timelines

Timelines are ordered sequences of activities.

@@ -888,9 +888,7 @@

Utilities

diff --git a/docs/index.html b/docs/index.html index 11da7d6c0..cc806a27b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -593,9 +593,7 @@

Elements

diff --git a/docs/layout.html b/docs/layout.html index c90809a6e..1b224b51d 100644 --- a/docs/layout.html +++ b/docs/layout.html @@ -254,7 +254,7 @@
-

Flexbox grid

+

Flexbox grid

Layout includes flexbox based responsive grid system with 12 columns.

@@ -364,7 +364,7 @@
-

Responsive grid

+

Responsive grid

Spectre provides a neat responsive layout grid system and responsive visibility utilities.

@@ -410,7 +410,7 @@ </div> -

Responsive container

+

Responsive container

The responsive layout also provides fixed-width containers. Use grid-480, grid-960 or grid-1280 to container for a fixed-width container with the specific max-width.

@@ -423,7 +423,7 @@ </div> -

Responsive visibility

+

Responsive visibility

The responsive visibility utilities help show and hide elements on specific viewport sizes.

@@ -563,7 +563,7 @@
-

Panels

+

Panels

Panels are flexible view container layout with auto-expand content section.

@@ -805,7 +805,7 @@
-

Empty states / blank slates

+

Empty states / blank slates

Empty states/blank slates are commonly used as placeholders for first time use, empty data and error screens.

@@ -894,9 +894,7 @@

Components

diff --git a/docs/src/docs.less b/docs/src/docs.less index c7217db9f..c01aba385 100644 --- a/docs/src/docs.less +++ b/docs/src/docs.less @@ -26,7 +26,7 @@ .section-footer { color: @gray-color; - padding: 25px 15px 10px 15px; + padding: 26px 15px 10px 15px; position: relative; z-index: 200; @@ -107,17 +107,20 @@ } .docs-content { + padding-bottom: 50px; padding-top: 0; .container { padding: 10px; - } - header { - padding-top: 55px; + & > h3, + & > h4 { + padding-top: 55px; + } } .anchor { + color: @primary-color-light; height: 0; margin-left: -1em; overflow: hidden; @@ -270,12 +273,12 @@ } .docs-sidebar { - padding: 70px 10px 50px 10px; + padding: 70px 10px 70px 10px; position: relative; .docs-nav { bottom: 50px; - height: ~"calc(100vh - 120px)"; + height: ~"calc(100vh - 140px)"; overflow-y: auto; position: fixed; top: 90px; diff --git a/docs/utilities.html b/docs/utilities.html index d88aea825..943f4bc7e 100644 --- a/docs/utilities.html +++ b/docs/utilities.html @@ -254,11 +254,11 @@
-

Color utilities

+

Color utilities

Color utilities are used for changing colors for text, link and background.

-

Text colors

+

Text colors

primary color @@ -303,7 +303,7 @@ <a class="text-error" href="#">error color</a> -

Background colors

+

Background colors

primary bg @@ -329,7 +329,7 @@

-

Display utilities

+

Display utilities

Display utilities are used for display and hidden things.

@@ -360,7 +360,7 @@
-

Divider

+

Divider

A Divider is used for separating elements.

@@ -432,7 +432,7 @@
-

Loading

+

Loading

Loading indicator is used for loading or updating. Also, you can add the loading class to buttons for loading status.

@@ -450,7 +450,7 @@
-

Position utilities

+

Position utilities

Position utilities are used for useful layout and position things, including clearfix, float, position and margin/padding utilities.

@@ -484,7 +484,7 @@
-

Shape utilities

+

Shape utilities

Shape utilities are used for change element shapes.

@@ -499,7 +499,7 @@
-

Text utilities

+

Text utilities

Text utilities are used for text alignment, styles and overflow things.

@@ -563,9 +563,7 @@

Experimentals