From 573040a6281a1b25a9c808abb96c61db9aef2ad0 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 24 Nov 2014 02:18:51 -0500 Subject: [PATCH] Update kitchen sink example --- examples/kitchensink.css | 45 +- examples/kitchensink.html | 6476 ++++++++++++++++++++++++++++++------- 2 files changed, 5374 insertions(+), 1147 deletions(-) diff --git a/examples/kitchensink.css b/examples/kitchensink.css index 182afc33b..c2f461730 100644 --- a/examples/kitchensink.css +++ b/examples/kitchensink.css @@ -9,44 +9,41 @@ #sink { background-color: #FFFFFF; } -#sink .demo h4 { - margin: 2em 0em 1em; + +#sink .demo.container { + width: 700px; + margin: 0px auto; } +#sink .demo.container .example { + padding: 2em 0em; + margin: 2em 0em; + border-top: 1px solid #DDD; +} -/* Awkwardly ported from docs */ -#sink .demo.row { - margin: 0 auto !important; - max-width: 1400px; -} -#sink .demo.row .button.demo > .buttons, -#sink .demo.row .button.demo > .button, -#sink .demo.row .button.demo > .segment > .button { - margin-bottom: 0.5em; +#sink .demo h4 { + font-size: 1.5em; + margin: 2em 0em 1em; } -#sink .demo.row .ui.menu, -#sink .demo.row .ui.card { - width: 100%; +#sink .demo.container .button.demo > .buttons, +#sink .demo.container .button.demo > .button, +#sink .demo.container .button.demo > .segment > .button { + margin-bottom: 0.5em; } -#sink .demo.row h4 { +#sink .demo.container h4:first-child { font-weight: bold !important; margin: 0em 0em 1em !important; } -#sink .demo.row .example { - clear: both; - padding-top: 3em; - margin-top: 3em; -} -#sink .demo.row .example:first-child { +#sink .demo.container .example:first-child { margin-top: 0; padding-top: 0; } -#sink .demo.row .segment.example { +#sink .demo.container .segment.example { z-index: 1; } -#sink .demo.row .ui.label:not(.empty) { +#sink .demo.container .ui.label:not(.empty) { margin-bottom: 1em; } -#sink .demo.row .segment .ui.label { +#sink .demo.container .segment .ui.label { margin-bottom: 0em; } diff --git a/examples/kitchensink.html b/examples/kitchensink.html index 5c79f10ab..d011555ce 100644 --- a/examples/kitchensink.html +++ b/examples/kitchensink.html @@ -13,1189 +13,5419 @@ + + + -
-
-
-

Kitchen Sink

-
-
We need your help
-

- These kitchen sink demos are very incomplete. If you have time, please help us out by adding examples for missing elements and submitting a pull request. -

-
-
+ +
+ +

+ Elements +

+
+

+ Button +

+
+
+ View +
+
+ Add to Cart +
+
+ Save for Later +
+
+ + Rate +
+
Basic
+ + + +
+
Horizontal
+ +
+
+
Vertical
+ +
+
+
Fade In
+ +
+ + + + + +
+ + Google Plus +
+ + +
+
1
+
2
+
3
+
+ + +
+
Cancel
+
+
Save
+
+ +
+
+
+
+
+
+ +
Blue
+
Red
+
Teal
+
Blue
+
Red
+
Teal
+ +
+
Inverted
+
Blue
+
Red
+
Basic
+
Blue
+
Red
+
+ + + +
+
Feed
+
Messages
+
Events
+
Photos
+
+ +
+
1
+
2
+
3
+
+ +
+
+
+
+
+
+ +
+ +
+
+

+ Divider +

+
+
A
+
and
+
B
+
+ +
+
+
A
+
+
or
+
+
B
+
+
+ +
+ +
+ +
+ + Specifications +
+ +
+

A

+
+

B

+
+
+
+

+ Flag +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

+ Header +

+
+ +
+

H1

+

H2

+

H3

+

H4

+
H5
+ +
+ +
+ Icon Header +
Sub-header
-
-
-
-

- Button -

-
-
- View -
-
- Add to Cart -
-
- Save for Later -
-
- - Rate -
-
Basic
- +
+ +
+ Header +
Sub-header
+
+
+
+
+
+ +
+ Block +
Sub-header
+
+
+ +
+ +
+ Dividing +
Sub-header
+
+
+ +
+ +
+ Color +
Sub-header
+
+
+ +
Attached
+
+
Attached
+
+
+
+
+

+ Icon +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + +
+
+

+ Image +

+ The partial "examples/image" was not found, as such it will not be rendered. +
+
+

+ Input +

+
+ + +
Search
+
+ + +
+ +
+ +
+
+ + +
+
+ http:// +
+ + +
+ + + + + +
+
+

+ Label +

+
+ + email@address.com + +
+ + Some Name + Group + + + Icon + +Tag +
+
+
+ +
+
+
+
+ +
+ Pointing Label +
+
+
+
+ Pointing below label +
+ +
+
+
+ + + -
-
Horizontal
- +
+

+ List +

+
+
+
+
+ +
+
Header
+ Description +
+
+ +
+ Sub Header +
Sub Description
+
+
+
+ +
+ Sub Header +
Sub Description
-
-
Vertical
- +
+
+
+ +
+
Header
+ Description +
+
+ +
+ Sub Header +
Sub Description
-
-
Fade In
- +
+
+
+ +
+
+ +
+
Header
+ Description +
+
+
+ +
+
Header
+ Description +
+
+
+ +
+
Header
+ Description +
+
+
+ +
+
+ +
+
Header
+ Description +
+
+
+ +
+
Header
+ Description +
+
+
+ +
+
Header
+ Description +
+
+
+ +
+ +
+ + + + +
+
+
+
Header
+ Description +
+
+
+ Sub-header +
+
+ Sub-header +
+
+ Sub-header +
+
+
+
+
+
Header
+ Description +
+
+
+
+
Header
+ Description +
+
+
+ + +
+
+ + + +
+
+ +
+
Header
+ Description +
+
+
+ +
+
Header
+ Description +
+
+
+ +
+
Header
+ Description +
+
+
+ + + +
+
+ +
+
Header
+ Description +
+
+
+ +
+
Header
+ Description +
+
+
+ +
+
Header
+ Description +
+
+
+ + + +
+
+ +
+
Steve Jobes
+ 50 Points +
+
+
+ +
+
Stevie Feliciano
+ 44 Points +
+
+
+ +
+
Jenny Hess
+ 11 Points +
+
+
+
+
+

+ Loader +

+
+
+
+
+
+
+

+

+

+
+
+
+
+
+
+
+

+

+

+
+
+
+
+
+
+
+

+

+

+
+
+
+
+
+
+
+

+

+

+
+
+
+
+
+
+
+
+ Loading +
+
+

+

+

+
+
+
+
+
+
+ Loading +
+
+

+

+

+
+
+
+
+
+
+ Loading +
+
+

+

+

+
+
+
+
+
+
+ Loading +
+
+

+

+

+
+
+
+
+
+
+
+
+
+

+

+

+
+
+
+
+
+
+
+

+

+

+
+
+
+
+
+
+
+

+

+

+
+
+
+
+
+
+
+

+

+

+
+
+
+
+
+
+
+
+ Loading +
+
+

+

+

+
+
+
+
+
+
+ Loading +
+
+

+

+

+
+
+
+
+
+
+ Loading +
+
+

+

+

+
+
+
+
+
+
+ Loading +
+
+

+

+

+
+
+
+ + + +
+
+
+ Preparing... +
+
+

+

+

+
+ +
+
+
+
+

+

+

+
+ +
+
+

+ Reveal +

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+ +
+
+ +
+ +
+
+
+ +
+ +
+ +
+
+

+ Segment +

+
+
+
+
+
+
+
+
+
+
+ + +

+ Collections +

+ +
+

+ Breadcrumb +

+ + + +
+
+

+ Form +

+
+
+
+ + +
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+ + +
+
+
+
+ + +
+
+
+ +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+ + +
+
+ +
+
+ +
+
+
+ + +
+

Sub-header

+
+
+ + +
+
+
+
+ + +
+
+
Submit
+
+ +
+
+
Warning Message
+
    +
  • Problem #1
  • +
  • Problem #2
  • +
+
+
+
+ + +
+
+ + +
+
+
Submit
+
+
+
+
Error Message
+

Error message long description

+
+
+
+ + +
+
+ + +
+
+
Submit
+
+
+
+

+ Grid +

+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ +
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + +
+
+

+ Menu +

+ + + + + + + + + + +
+
+

+ Message +

+
+ + Closable message +
+
+
+
Warning Message
+
    +
  • List item
  • +
  • List item
  • +
+
+
+
+
+ List Message +
+
    +
  • List item 1
  • +
  • List item 2
  • +
  • List item 3
  • +
+
+
+
Info Message
+

Example description

+
+
+
+
Positive Message
+

Example description

+
+
+
+ +
+
Negative Message
+

Example description

+
+
+
+ Top attached +
+
+ Bottom attached +
+ + +
+
+

+ Table +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Files +
+ folder + Comment10 hours ago
+ folder2 + Comment10 hours ago
+ folder3 + Comment10 hours ago
+ package.json + Comment10 hours ago
+ Gruntfile.js + Comment10 hours ago
+ + + + + + + + + + + + + + + + + + + +
Header 1Header 2
Definition1A1B
Definition2A2B
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameRegistration DateE-mail addressPremium Plan
+
+ +
+
+
+ +
+
+
+ +
+
+
+ Primary +
+
+ Button +
+
+ Disabled +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameStatusNotes
User 1ValueComment
User 1SelectedData
User 1ValueComment
User 2ValueData
User 1Value + + Warning +
User 3ValueData
User 1Value + +
User 2 + + Warning + Data
User 2 + Data
User 2ValueData
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameStatusNotes
User 1DataData
User 3DataData
User 2DeniedData
FooterFooter
+
+ +

+ Views +

+ +
+

+ Card +

+
+
+
+
+
+
Add Friend
+
+
+
+ +
+
+
Title
+
+ Meta +
+
One or two sentence description that may go to several lines
+
+ +
+
+
+
+ + Abbreviated Header +
+
+ Short Description +
+
+
+
+ Action 1 +
+
+ Action 2 +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + + +
+
+

+ Feed +

+
+
+
+
+
+ +
+
+
+ + Username + added you as a friend +
+
+
+
+
+ +
+
+ You added Username to the group Group Name +
+
+
+
+ +
+
+
+ Time period ago +
+
+ Userrname added new photos +
+
+ +
+ +
+
+
+
+
+
+
+
+ +
+
+
+ You wrote something +
+ Time period ago +
+
+
+ Blockquote +
+ +
+
+
+
+ +
+
+
+ You uploaded a photo +
+ Time period ago +
+
+ +
+
+
+ +
+
+
+
+ Elliot Fu added Jenny Hess as a friend +
+
+
+
+
+
+ Stevie Feliciano added Elliot Fu as a friend +
+
+
+
+
+
+ Helen Troy added Christian Rocha as a friend +
+
+
+
+
+
+ Christian Rocha signed up for the site. +
+
+
+
+
+
+
+
+

+ Item +

+
+
+
+ +
+
+ Content Header +
+ Date + Category +
+
+ A description which may flow for several lines and give context to the content. +
+
+ Username +
+
+
+
+
+ +
+
+ Content Header +
+ Date + Category +
+
+ A description which may flow for several lines and give context to the content. +
+
+
+ Primary + +
+
Limited
+
+
+
+
+
+ +
+
+ Content Header +
+ Date + Category +
+
+ A description which may flow for several lines and give context to the content. +
+
+
+ Primary + +
+
+
+
+
+ + + +
+ + + +
+
+
+

+ Statistic +

+
+
+ Top Label +
+
+ 4:05 +
+
+ +
+ +
+
+ 22 +
+
+ Bottom Label +
+
+ +
+ +
+
+ Eighty
+ Two +
+
+ Text +
+
+
+
+ 5 +
+
+ Labeled Icon +
+
+ +
+ +
+
+
+ + 22 +
+
+ Horizonal Label +
+
+
+
+ + 51 +
+
+ Horizonal Label +
+
+
+
+ + 81 +
+
+ Horizonal Label +
+
+
+
+ + +

+ Modules +

+ +
+

+ Accordion +

+ + +
+ +
+
+ + FAQ Question 1? +
+
+ +
+
+ + FAQ Question 2? +
+
+ +
+
+ + FAQ Question 3? +
+
+ +
+
+ +
+ +
+
+ + Title +
+
+ +
+
+ + Title +
+
+ +
+
+ + Title +
+
+ +
+
+ + +
+
+

+ Checkbox +

+
+ + +
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+ + +
+ + +
+ + +
+ + +
+
+

+ Dimmer +

+
+
+

+ Dimmable Section +

+
+ + + +
+ +
+
+
+
+
+
+
+
+
+

+ Inverted Dimmer +

+
+ + + +
+ +
+
+
+
+
+
+
+
+
+

+ Dimmer With Content +

+
+ + + +
+ +
+
+
+

+ + Dimmed Message! +

+
+
+
+
+
+
+
+
+
+
+
+ Page Dimmer +
+
+ + + +
+
+

+ Dropdown +

+ + + + + + + + + +Show me posts trending + + + + + + + + + + + + + + + + +
+ + + +
+ + +
+
+

+ Modal +

+
Standard Modal
+
Basic Modal
+
Full-Screen Modal
+ + + + + + + + + +
+
+

+ Popup +

+ + + +
+
+

+ Progress +

+
+
+
+
+
Uploading Files
+
+ + +
+
+
Funding
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ + +
+
+

+ Rating +

+
+
+
+
+
+
+ + Choice #1 +
+
+
+
+
+
+
+ + Choice #2 +
+
+
+
+
+
+
+ + Choice #3 +
+
+
+
+ +
+ +
+
+
+ +
+
+ Content Header +
+ A description which may flow for several lines and give context to the content. +
+
+ 11
+
+
+
+
+
+ +
+
+ Content Header +
+ A description which may flow for several lines and give context to the content. +
+
+ 42
+
+
+
+
+
+ +
+
+ Content Header +
+ A description which may flow for several lines and give context to the content. +
+
+ 16
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + +
+
+

+ Search +

+ - -
- - -
-
-

- Divider -

-
-
A
-
and
-
B
-
-
-
-
A
-
-
or
-
-
B
-
+ +
+ +
+

+ Shape +

+
+ +
+
+
+
+
+
-
-
-

- Accordion -

- +
-
-
- - Title -
-
- -
-
- - Title -
-
- -
-
- - Title -
-
- -
-
+ - -
-
-

- Message -

-
- - Closable message -
-
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
-
Warning Message
-
    -
  • List item
  • -
  • List item
  • -
+
+ 1 +
-
-
Info Message
-

Example description

-
-
+
-
Positive Message
-

Example description

+
+ 2 +
-
- +
-
Negative Message
-

Example description

-
-
-
- Top attached -
-
- Bottom attached -
- - -
-
-
-
-

- Feed -

-
-
-
- -
-
-
- - Username - added you as a friend -
-
-
-
-
- -
-
- You added Username to the group Group Name -
-
-
-
- -
-
-
- Time period ago -
-
- Userrname added new photos -
-
- -
- +
+ 3
- -
-
-
- -
-
-
- You wrote something -
- Time period ago -
-
-
- Blockquote -
- -
-
-
-
- -
-
-
- You uploaded a photo -
- Time period ago -
-
- +
+
+
+ 4
- -
-
-
-
- Elliot Fu added Jenny Hess as a friend -
-
-
-
-
-
- Stevie Feliciano added Elliot Fu as a friend -
-
-
-
-
-
- Helen Troy added Christian Rocha as a friend -
+
+
+
+ 5
-
-
-
- Christian Rocha signed up for the site. -
+
+
+
+
+ 6
-
-
-

- Label -

-
- - email@address.com - -
- - Some Name - Group - - - Icon - - Tag - - - +
+
- -
- - - - -
-
- - - - -
-
- - - - -
+ - -
-
Top Labeled
-
Bottom Labeled
-
-
-
Top Left
-
Top Right
-
Bottom Left
-
Bottom Right
-
-
- Ribbon -
-
- +
+
+
+
Did you know? This side starts visible.
+
Help, its another side!
+
This is the last side
+
+
- + - -
-
-

- Card -

-
-
- - -
-
-
Title
-
- Meta -
-
One or two sentence description that may go to several lines
-
- -
-
-
-
- - Abbreviated Header -
-
- Short Description -
-
-
-
- Action 1 -
-
- Action 2 -
-
-
+
+
+
+
+
+
+
+
+
+
- - -
-
-
-
-

- Dropdown -

- +
+
+
-
- - -
-
-

- Progress -

-
-
-
-
-
86% Complete
-
+ } + } + }; + // attach events + $demo + .shape() + ; + $directionButton + .on('click', handler.rotate) + .popup({ + position : 'bottom center' + }) + ; + }) +; + +
-
-
-
Completed!
-
+
+

+ Sidebar +

+ -
-

- Segment -

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

- Input -

-
- - -
Search
-
+
+
+ Left +
+
+ Right +
+
+ Top +
+
+ Bottom +
+
- -
- -
- -
-
+ - -
-
- http:// -
- - -
+
Animation
+
+ Overlay +
+
+ Push +
+
+ Scale Down +
- - - - -
-
-

- Checkbox -

-
- - -
+
Horizontal-Only Animation
+
+ Uncover +
+
+ Slide Along +
+
+ Slide Out +
+
- -
-
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
-
- -
- - -
+ - -
- - -
+ - -
+ + + + + + + +
+ +
+

+ Tab +

+
+ +
+ +
1A
+
1B
+
1C
+
+
+ +
2A
+
2B
+
2C
+
+
+ +
3A
+
3B
+
3C
+
+
+ + + +
+ +
+

+ Transition +

+
+ +
+ + + + +
+ +
Flash
+
Shake
+
Pulse
+
Tada
+
Bounce
+
Drop
+
Browse
+
Horizontal Flip
+
Vertical Flip
+
Fade
+
Fade Up
+
Fade Down
+
Scale
+
Slide Down
+
Slide Up
+ +
+ + +