Browse Source

Updates tone and clarity of language on introduction pages, adds

definition buttons to all pages


Former-commit-id: e2e9b7ead121493d0f4fb0bf6f2392b051e1fb0b
Former-commit-id: a2b8f013bd8070857cb24523965788d5a7fc4a65
beta
jlukic 11 years ago
parent
commit
2c6b8fb8ca
  1. 2
      build/minified/modules/dimmer.min.css
  2. 2
      build/packaged/css/semantic.min.css.REMOVED.git-id
  3. 6
      build/uncompressed/modules/dimmer.css
  4. 4
      node/src/documents/collections/breadcrumb.html
  5. 4
      node/src/documents/collections/form.html
  6. 44
      node/src/documents/collections/grid.html
  7. 4
      node/src/documents/collections/menu.html
  8. 4
      node/src/documents/collections/message.html
  9. 4
      node/src/documents/collections/table.html
  10. 4
      node/src/documents/download.html
  11. 28
      node/src/documents/elements/button.html
  12. 6
      node/src/documents/elements/divider.html
  13. 4
      node/src/documents/elements/header.html
  14. 4
      node/src/documents/elements/icon.html
  15. 4
      node/src/documents/elements/image.html
  16. 4
      node/src/documents/elements/input.html
  17. 4
      node/src/documents/elements/label.html
  18. 24
      node/src/documents/elements/loader.html
  19. 32
      node/src/documents/elements/progress.html
  20. 4
      node/src/documents/elements/segment.html
  21. 20
      node/src/documents/elements/step.html
  22. 50
      node/src/documents/guide/cssguide.html
  23. 2
      node/src/documents/guide/htmlguide.html
  24. 38
      node/src/documents/guide/javascriptguide.html
  25. 62
      node/src/documents/guide/styleguide.html
  26. 2
      node/src/documents/index.html.eco
  27. 6
      node/src/documents/introduction.html
  28. 44
      node/src/documents/introduction/getting-started.html
  29. 50
      node/src/documents/introduction/types.html
  30. 4
      node/src/documents/module.html
  31. 4
      node/src/documents/modules/accordion.html
  32. 294
      node/src/documents/modules/chat.html
  33. 4
      node/src/documents/modules/checkbox.html
  34. 4
      node/src/documents/modules/dimmer.html
  35. 14
      node/src/documents/modules/dropdown.html
  36. 12
      node/src/documents/modules/modal.html
  37. 4
      node/src/documents/modules/popup.html
  38. 4
      node/src/documents/modules/reveal.html
  39. 12
      node/src/documents/sink.html
  40. 32
      node/src/documents/views/comment.html
  41. 4
      node/src/documents/views/feed.html
  42. 4
      node/src/documents/views/items.html
  43. 4
      node/src/documents/views/list.html
  44. 2
      node/src/files/javascript/button.js
  45. 2
      node/src/files/release/minified/modules/dimmer.min.css
  46. 2
      node/src/files/release/packaged/css/semantic.min.css.REMOVED.git-id
  47. 6
      node/src/files/release/uncompressed/modules/dimmer.css
  48. 4
      src/modules/dimmer.less

2
build/minified/modules/dimmer.min.css

@ -1 +1 @@
.ui.dimmable{position:relative}.ui.dimmer{display:none;position:absolute;top:0!important;left:0!important;width:0;height:0;text-align:center;vertical-align:middle;background-color:rgba(0,0,0,.85);opacity:0;line-height:1;-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-o-animation-fill-mode:both;-ms-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;-ms-animation-duration:.5s;animation-duration:.5s;-webkit-transition:background-color .5s linear;-moz-transition:background-color .5s linear;-o-transition:background-color .5s linear;-ms-transition:background-color .5s linear;transition:background-color .5s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;z-index:1000}.ui.dimmer>.content{width:100%;height:100%;display:table;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ui.dimmer>.content>div{display:table-cell;vertical-align:middle;color:#FFF}.ui.segment>.ui.dimmer{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.ui.horizontal.segment>.ui.dimmer,.ui.vertical.segment>.ui.dimmer{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.ui.dimmed.dimmable>:not(.dimmer){-webkit-filter:blur(5px) grayscale(0.7);-moz-filter:blur(5px) grayscale(0.7)}.ui.dimmed.dimmable>.ui.dimmer,.ui.active.dimmer{display:block;width:100%;height:100%;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.ui.page.dimmer{position:fixed;-webkit-perspective:2000px;-moz-perspective:2000px;perspective:2000px;-webkit-transform-origin:top center;-moz-transform-origin:top center;-o-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.ui.inverted.dimmer{background-color:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content>*{color:rgba(0,0,0,.8)}.ui.simple.dimmer{display:block;overflow:hidden;opacity:1;z-index:-100;background-color:rgba(0,0,0,0)}.ui.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background-color:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,0)}.ui.dimmed.dimmable>.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,.85)}
.ui.dimmable{position:relative}.ui.dimmer{display:none;position:absolute;top:0!important;left:0!important;width:0;height:0;text-align:center;vertical-align:middle;background-color:rgba(0,0,0,.85);opacity:0;line-height:1;-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-o-animation-fill-mode:both;-ms-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;-ms-animation-duration:.5s;animation-duration:.5s;-webkit-transition:background-color .5s linear;-moz-transition:background-color .5s linear;-o-transition:background-color .5s linear;-ms-transition:background-color .5s linear;transition:background-color .5s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;z-index:1000}.ui.dimmer>.content{width:100%;height:100%;display:table;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ui.dimmer>.content>div{display:table-cell;vertical-align:middle;color:#FFF}.ui.segment>.ui.dimmer{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.ui.horizontal.segment>.ui.dimmer,.ui.vertical.segment>.ui.dimmer{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.ui.dimmed.dimmable>.ui.dimmer,.ui.active.dimmer{display:block;width:100%;height:100%;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.ui.page.dimmer{position:fixed;-webkit-perspective:2000px;-moz-perspective:2000px;perspective:2000px;-webkit-transform-origin:top center;-moz-transform-origin:top center;-o-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.ui.inverted.dimmer{background-color:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content>*{color:rgba(0,0,0,.8)}.ui.simple.dimmer{display:block;overflow:hidden;opacity:1;z-index:-100;background-color:rgba(0,0,0,0)}.ui.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background-color:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,0)}.ui.dimmed.dimmable>.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,.85)}

2
build/packaged/css/semantic.min.css.REMOVED.git-id

@ -1 +1 @@
11823605b1116637b031576b73e0cb78699afeca
02bbe0c7acae62b17cef7020c47c8f8cf2d06e01

6
build/uncompressed/modules/dimmer.css

@ -100,10 +100,12 @@
/*******************************
States
*******************************/
/*
.ui.dimmed.dimmable > :not(.dimmer) {
-webkit-filter: blur(5px) grayscale(0.7);
-moz-filter: blur(5px) grayscale(0.7);
-webkit-filter: ~"blur(5px) grayscale(0.7)";
-moz-filter: ~"blur(5px) grayscale(0.7)";
}
*/
.ui.dimmed.dimmable > .ui.dimmer,
.ui.active.dimmer {
display: block;

4
node/src/documents/collections/breadcrumb.html

@ -9,6 +9,10 @@ type : 'UI Collection'
<div class="container">
<h1 class="ui dividing header">Breadcrumb</h1>
<p>A breadcrumb is a menu to show the location of the current section in relation to other sections.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/collections/form.html

@ -15,6 +15,10 @@ type : 'UI Collection'
<b>Looking for form validation?</b>
Form input can be validated using the <a href="/modules/form.html">form behavior definition</a>
</div>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

44
node/src/documents/collections/grid.html

@ -12,6 +12,10 @@ type : 'UI Collection'
Grid
</h1>
<p>A grid is a structure used to harmonize negative space in a layout.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">
@ -24,13 +28,13 @@ type : 'UI Collection'
<a class="item">Variations</a>
</div>
</div>
<h2 class="ui dividing header">Standard</h2>
<div class="highlighted example">
<h4 class="ui header">Grid</h4>
<p>A grid is made up of columns of content with gutters to provide negative space between columns.</p>
<div class="ui ignore green message"><i class="icon heart"></i>All grid systems must assume an arbitrary amount of column rows. Semantic by default assumes <b>16 columns</b></div>
<div class="ui grid">
<div class="four wide column">
@ -51,9 +55,9 @@ type : 'UI Collection'
</div>
</div>
</div>
<h2 class="ui dividing header">Elements</h2>
<div class="highlighted example">
<h4 class="ui header">Rows</h4>
<p>A row is used to create vertical padding between groups of columns on a page. If no rows are specified columns will sit flush vertically.</p>
@ -257,10 +261,10 @@ type : 'UI Collection'
<div class="highlighted example">
<h4 class="ui header">Page Grid</h4>
<p>A page grid is a grid that exists on the top level of a website and includes gutters to the left and right.</p>
<div class="ui ignore warning message"><i class="icon info circle"></i>
It is important to note, that padding is applied directly to columns, which means other ui elements should not be used in combination with column, but directly as children.</div>
<div class="ui two column page grid">
<div class="column">
<div class="ui labeled vertical fluid inverted icon menu">
@ -286,7 +290,7 @@ type : 'UI Collection'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Divided Grid</h4>
<p>A grid can have dividers between columns</p>
@ -384,12 +388,12 @@ type : 'UI Collection'
<div class="five wide column">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
</div>
<div class="three wide column">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
</div>
<div class="two wide column">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
</div>
@ -401,9 +405,9 @@ type : 'UI Collection'
</div>
<h2 class="ui dividing header">Variations</h2>
<h3 class="ui header">Grid</h3>
<div class="example">
<h4 class="ui header">Responsive Grid</h4>
<p>A grid can be responsive to a browsers width. This means the gutters to left and right of grid columns will alter in size as a browser's resolution increases.</p>
@ -411,7 +415,7 @@ type : 'UI Collection'
<div class="ui text message info ignore">
<i class="icon heart"></i> Semantic UI's responsive grid by default will change the page gutters to increase at 250pixel intervals.
</div>
<div class="ui two column responsive grid">
<div class="column">
<div class="ui labeled vertical fluid inverted icon menu">
@ -520,7 +524,7 @@ type : 'UI Collection'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Changing grid column count</h4>
<p>A grid can have a different number of columns per row</p>
@ -618,7 +622,7 @@ type : 'UI Collection'
</div>
<div class="example">
<h4 class="ui header">Text Alignment</h4>
<p>A grid can specify its text alignment</p>
<div class="ui center aligned three column grid">
@ -653,7 +657,7 @@ type : 'UI Collection'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Vertical Alignment</h4>
<p>A grid can specify its vertical alignment to have all its columns vertically centered.</p>
@ -689,7 +693,7 @@ type : 'UI Collection'
</div>
</div>
</div>
<h3 class="ui header">Rows</h3>
<div class="example">
@ -803,9 +807,9 @@ type : 'UI Collection'
</div>
</div>
</div>
<h3 class="ui header">Columns</h3>
<div class="example">
<h4 class="ui header">Row Alignment (Floating)</h4>
<p>A column can be "floated", to either the left or right of its row.</p>
@ -853,5 +857,5 @@ type : 'UI Collection'
</div>
</div>
</div>
</div>

4
node/src/documents/collections/menu.html

@ -10,6 +10,10 @@ type : 'UI Collection'
<div class="container">
<h1 class="ui dividing header">Menu</h1>
<p>A menu is a collection of elements usually showing several actions which a user can take</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/collections/message.html

@ -10,6 +10,10 @@ type : 'UI Collection'
<div class="container">
<h1 class="ui dividing header">Message</h1>
<p>Messages can alert a user to something they must immediately consider before proceeding on to the normal content of the page.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/collections/table.html

@ -12,6 +12,10 @@ type : 'UI Collection'
<div class="container">
<h1 class="ui dividing header">Tables</h1>
<p>Tables display collections of data grouped into rows.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/download.html

@ -12,6 +12,6 @@ type : 'Library'
</div>
</div>
<div class="main container">
</div>

28
node/src/documents/elements/button.html

@ -12,6 +12,10 @@ type : 'UI Element'
Button
</h1>
<p>Buttons indicate a possible user action.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">
@ -88,7 +92,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Buttons</h4>
<p>Can exist together as groups</p>
<p>Buttons can exist together as a group</p>
<div class="ui buttons">
<div class="ui button">One</div>
<div class="ui button">Two</div>
@ -98,7 +102,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Conditionals</h4>
<p>Groups can be separated by conditionals</p>
<p>Button groups can be separated by conditionals</p>
<div class="ui buttons">
<div class="ui button">Cancel</div>
<div class="or"></div>
@ -151,7 +155,7 @@ type : 'UI Element'
<!-- <div class="example">
<h4 class="ui header">Success</h4>
<p>Can alert to a succesful action:</p>
<p>A button can alert to a succesful action:</p>
<div class="ui success button">
<i class="add user icon"></i>
Follo
@ -160,7 +164,7 @@ type : 'UI Element'
</div>
<div class="example">
<h4 class="ui header">Error</h4>
<p>Can alert user of an error:</p>
<p>A button can alert user of an error:</p>
<div class="ui error button">
<i class="add user icon"></i>
Follow User
@ -171,7 +175,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Sizes</h4>
<p>Can have different sizes:</p>
<p>A button can have different sizes:</p>
<div class="mini ui button">
Mini
</div>
@ -213,7 +217,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Colors</h4>
<p>Can have different colors:</p>
<p>A button can have different colors:</p>
<a class="ui black button">Black Button</a>
<a class="ui green button">Green BUtton</a>
<a class="ui red button">Red Button</a>
@ -225,7 +229,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Toggle</h4>
<p>Can be formatted to toggle on and off</p>
<p>A button can be formatted to toggle on and off</p>
<div class="ui toggle button">
Vote
</div>
@ -233,20 +237,20 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Feedback</h4>
<p>Can be positive or negative:</p>
<p>A button can be positive or negative:</p>
<div class="positive ui button">Positive Button</div>
<div class="negative ui button">Negative Button</div>
</div>
<div class="example">
<h4 class="ui header">Fluid</h4>
<p>Can fit parent container:</p>
<p>A button can fit parent container:</p>
<div class="fluid ui button">Fits container</div>
</div>
<div class="example">
<h4 class="ui header">Circular</h4>
<p>Can be circular:</p>
<p>A button can be circular:</p>
<div class="circular ui button">Rounded</div>
<div class="circular ui icon button">
<i class="icon settings"></i></div>
@ -254,7 +258,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Vertically Attached</h4>
<p>Can be attached to the top or bottom of other content</p>
<p>A button can be attached to the top or bottom of other content</p>
<div class="ui top attached button">Top</div>
<div class="ui attached segment"></div>
<div class="bottom attached ui button">Bottom</div>
@ -262,7 +266,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Horizontally Attached</h4>
<p>Can be attached to the left or right of other content</p>
<p>A button can be attached to the left or right of other content</p>
<div class="ui left attached button">Left</div>
<div class="right attached ui button">Right</div>
</div>

6
node/src/documents/elements/divider.html

@ -9,6 +9,10 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Divider</h1>
<p>A divider visually segments content into separate groups</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">
@ -95,7 +99,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Icon Divider</h4>
<p>A divider can segment content with an icon</p>
<p>A divider can include an icon</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<div class="ui horizontal icon divider">
<i class="circular heart icon"></i>

4
node/src/documents/elements/header.html

@ -8,6 +8,10 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Header</h1>
<p>Headers provide a short summary of content</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/elements/icon.html

@ -9,6 +9,10 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Icon</h1>
<p>An icon is a glyph used to represent another concept more simply.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/elements/image.html

@ -9,6 +9,10 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Image</h1>
<p>An image is a graphic representation of something</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/elements/input.html

@ -11,6 +11,10 @@ type : 'UI Element'
Input
</h1>
<p>Inputs allow a user to enter information</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/elements/label.html

@ -9,6 +9,10 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Label</h1>
<p>Labels give descriptions to pieces of content.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

24
node/src/documents/elements/loader.html

@ -9,10 +9,14 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Loader</h1>
<p>Loaders lets a user know to wait for activity to finish.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui vertical pointing secondary menu">
<a class="active item">Types</a>
@ -20,7 +24,7 @@ type : 'UI Element'
<a class="item">Variations</a>
</div>
</div>
<h2 class="ui dividing header">Types</h2>
<div class="example">
<h4 class="ui header">Loader</h4>
@ -33,7 +37,7 @@ type : 'UI Element'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Text Loader</h4>
<p>Text loader</p>
@ -55,9 +59,9 @@ type : 'UI Element'
</div>
</div>
<h2 class="ui dividing header">States</h2>
<div class="example">
<h4 class="ui header">Active</h4>
<p>A loader can be active or visible</p>
@ -66,7 +70,7 @@ type : 'UI Element'
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
</div>
</div>
<div class="example">
<h4 class="ui header">Disabled</h4>
<p>A loader can be disabled or hidden</p>
@ -75,10 +79,10 @@ type : 'UI Element'
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
</div>
</div>
<h2 class="ui dividing header">Variations</h2>
<div class="example">
<h4 class="ui header">Inline</h4>
<p>Loaders can appear inline with content </p>
@ -87,7 +91,7 @@ type : 'UI Element'
<div class="example">
<h4 class="ui header">Size</h4>
<p>Loaders can have different sizes</p>
<div class="ui segment">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
<div class="ui active dimmer"><div class="ui mini loader"></div></div>
@ -105,7 +109,7 @@ type : 'UI Element'
<div class="ui active dimmer"><div class="ui large loader"></div></div>
</div>
</div>
<div class="example">
<h4 class="ui header">Inverted</h4>
<p>Loaders can have their colors inverted.</p>

32
node/src/documents/elements/progress.html

@ -8,6 +8,10 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Progress Bar</h1>
<p>Progress bars show the percent of a task complete</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">
@ -16,11 +20,11 @@ type : 'UI Element'
<div class="ui vertical pointing secondary menu">
<a class="active item">Types</a>
<a class="item">States</a>
<a class="item">Variations</a>
<a class="item">Variations</a>
</div>
</div>
<h2 class="ui dividing header">Types</h2>
<div class="example">
<h4 class="ui header">Progress Bar</h4>
<p>A standard progress bar</p>
@ -30,7 +34,7 @@ type : 'UI Element'
</div>
<h2 class="ui dividing header">States</h2>
<div class="example">
<h4 class="ui header">Active</h4>
<p>A progress bar can show activity</p>
@ -38,8 +42,8 @@ type : 'UI Element'
<div class="bar"></div>
</div>
</div>
<div class="example">
<h4 class="ui header">Successful</h4>
<p>A progress bar can show success</p>
@ -47,7 +51,7 @@ type : 'UI Element'
<div class="bar" style="width:100%"></div>
</div>
</div>
<div class="example">
<h4 class="ui header">Failed</h4>
<p>A progress bar can show failure</p>
@ -55,7 +59,7 @@ type : 'UI Element'
<div class="bar" style="width:100%"></div>
</div>
</div>
<div class="example">
<h4 class="ui header">Disabled</h4>
<p>A progress bar can be disabled</p>
@ -63,10 +67,10 @@ type : 'UI Element'
<div class="bar" style="width:100%"></div>
</div>
</div>
<h2 class="ui dividing header">Variations</h2>
<div class="example">
<h4 class="ui header">Attached</h4>
<p>A progress bar can show progress of an element</p>
@ -80,8 +84,8 @@ type : 'UI Element'
<div class="bar"></div>
</div>
</div>
<div class="example">
<h4 class="ui header">Color</h4>
<p>Can have different colors:</p>
@ -107,7 +111,7 @@ type : 'UI Element'
<div class="bar"></div>
</div>
</div>
<div class="example">
<h4 class="ui header">Striped</h4>
<p>A progress bar can be striped</p>
@ -115,5 +119,5 @@ type : 'UI Element'
<div class="bar"></div>
</div>
</div>
</div>

4
node/src/documents/elements/segment.html

@ -8,6 +8,10 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Segment</h1>
<p>A segment is used to create a grouping of related content.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

20
node/src/documents/elements/step.html

@ -9,10 +9,14 @@ type : 'UI Element'
<div class="container">
<h1 class="ui dividing header">Step</h1>
<p>Steps show the current activity in a series of steps.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui vertical pointing secondary menu">
<a class="active item">Element</a>
@ -21,7 +25,7 @@ type : 'UI Element'
<a class="item">Variations</a>
</div>
</div>
<h2 class="ui dividing header">Standard</h2>
<div class="example">
<h4 class="ui header">Step</h4>
@ -32,7 +36,7 @@ type : 'UI Element'
</div>
</div>
</div>
<h2 class="ui dividing header">Groups</h2>
<div class="example">
<h4 class="ui header">Steps</h4>
@ -54,7 +58,7 @@ type : 'UI Element'
</div>
<h2 class="ui dividing header">States</h2>
<div class="example">
<h4 class="ui header">Active</h4>
<p>A step can be highlighted as active</p>
@ -64,7 +68,7 @@ type : 'UI Element'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Disabled</h4>
<p>A step can show that it cannot be selected</p>
@ -76,11 +80,11 @@ type : 'UI Element'
</div>
<h2 class="ui dividing header">Variations</h2>
<div class="example">
<h4 class="ui header">Size</h4>
<p>Steps can have different sizes</p>
<div class="ui small steps">
<div class="ui active step">
Shipping
@ -112,7 +116,7 @@ type : 'UI Element'
</div>
</div>
<div class="example">
<h4 class="ui header">Step</h4>
<p>Steps can be divided evenly inside their parent</p>

50
node/src/documents/guide/cssguide.html

@ -24,7 +24,7 @@ type : 'UI Guide'
<h2 class="ui dividing header">Techniques</h2>
<h4 class="ui header">Conditional Content Formatting</h4>
<h3 class="ui header">Conditional Content Formatting</h4>
<p>Sometimes content should be formatted differently depending on whether other content exists alongside it. A useful way to do that is use the next adjacent sibling selector '+'. The content that should have the conditional formatting should always appear second because there is no previous sibling selector in css.</p>
<div class="code" data-type="css">
@ -41,7 +41,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Not Sure the Size? Table It</h4>
<h3 class="ui header">Not Sure the Size? Table It</h4>
<p>If content needs to fill a specified size exactly, but may be made up of parts with arbitary size, it can be useful to use display table and table-cell. This will make sure the parent width is always obeyed regardles of alterations to an element's width.</p>
<p>Keep in mind any table-cell element must have a parent with <code>display:table</code> to appear formatted correctly.</p>
@ -58,7 +58,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Fixing Whitespace with Inline Block</h4>
<h3 class="ui header">Fixing Whitespace with Inline Block</h4>
<p>In HTML usually whitespace doesn't change a page's layouts. However, when using inline block any whitespace will create unwanted space between consecutive inline-block elements. The simple and effective fix is to make sure font-size on the parent element is 0, making all whitespace 0 pixels. Then you can reset font-size on the child element to body font size or 1 relative em.</p>
<div class="code" data-type="css">
/* remove whitespace */
@ -71,7 +71,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">CSS :not is Awesome</h4>
<h3 class="ui header">CSS :not is Awesome</h4>
<p>Inheritance can be hell sometimes. Consider changing the opacity of an element. There is no way to "cancel out" of that opacity change on content inside.</p>
<p>Sometimes the only way to avoid creating inheritance problems is to specify what elements should not receive a set of rules. Consider blurring content while a dimmer is present. Blurring should only apply to elements that are not inside the dimmer, but there is no way to know what the content is beforehand.</p>
<div class="code" data-type="css">
@ -86,7 +86,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Prevent Accidental Highlighting</h4>
<h3 class="ui header">Prevent Accidental Highlighting</h4>
<p>Sometimes text can be accidentally highlighted when a user double clicks an element. No need to pull out javascript to solve this.</p>
<div class="code" data-type="css">
.ui.thingy {
@ -97,7 +97,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Multiple Highlight Colors</h4>
<h3 class="ui header">Multiple Highlight Colors</h4>
<p>It's fairly commonly known that you can set text selection colors in css for a page, but its less commonly known that you can use multiple highlight colors in a single page.</p>
<div class="code" data-type="css">
/* text selected turns highlighted yellow */
@ -129,7 +129,7 @@ type : 'UI Guide'
</div>
<h4 class="ui header">Shading Borders</h4>
<h3 class="ui header">Shading Borders</h4>
<p>When you have colored content that needs a border to match its current color, try using a 1 pixel inset box shadow with an RGBA value.</p>
<div class="code" data-type="css">
@ -147,7 +147,7 @@ type : 'UI Guide'
</div>
<h4 class="ui header">Joining borders</h4>
<h3 class="ui header">Joining borders</h4>
<p>Sometimes bordered content must sit next to other bordered content. If each element uses border the borders will double. Consider using either outline or a box shadow to accomplish the same effect but without overlapping borders.</p>
<div class="code" data-type="css">
/* this might not go so well */
@ -170,7 +170,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Using transparency</h4>
<h3 class="ui header">Using transparency</h4>
<p>RGBA colors in css allow you to specify colors with a transparency channel. This is very useful.</p>
<p>Consider for example, defining the text states of an element. If the elements color changes, the text might appear more complementary as a shade of black with a portion of the original color. This can be done easily with rgba</p>
<div class="code" data-type="css">
@ -183,7 +183,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Nothing is always Fixed</h4>
<h3 class="ui header">Nothing is always Fixed</h4>
<p>CSS fixed allows you to have content stick to an offset position in a page regardless of the scroll position of the page. Fixed menus will use the page as the offset parent, in all circumstances except when css transform is used on a parent element. <b>This will change the offset context to the transformed element instead of the page</b>.
<p>This behavior may seem unexpected, but using this quirk can allow you to have fixed position content relative to any element in a page.</p>
<div class="code" data-type="css">
@ -199,7 +199,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Centering Content with Transform</h4>
<h3 class="ui header">Centering Content with Transform</h4>
<p>Using percentages in CSS will give you a ratio based on the size of the parent element. For example, setting content to be left 50% will set content to start at exactly halfway across its parent.</p>
<p>If you want content to positioned relative to its own size use transform. Percentages specified inside a transform are unique in that they are based on the current element size not its parent.</p>
<div class="code" data-type="css">
@ -232,7 +232,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Consider alternatives to floats</h4>
<h3 class="ui header">Consider alternatives to floats</h4>
<p>CSS floats can create issues with the containing element not receiving the size of its children. Using overflow:hidden to clear floats means that no peice of an element can be shown outside the bounding box of the element, which limits the possibilities in an element. Clearfixes can use up one of two available pseudo class which can often be useful for styling elements.</p>
<p>Consider using another means of putting content side by side like inline-block or table-cell. These provide more freedom than floated block elements, and can add additional benefits.</p>
<p>To avoid issues with inline-block causing spacing between elements, specify no font size on the group and 1rem on the floated content</p>
@ -259,7 +259,7 @@ type : 'UI Guide'
</div>
<h4 class="ui header">Onion Skinning</h4>
<h3 class="ui header">Onion Skinning</h4>
<p>One technique that is useful for allowing for multiple color variations of an element, without having to completely reskin each variation and shade is to use background-image gradients to define shading and state, and background-color to define the color of an element. If done well you can add a variety of colors with very little code.</p>
<div class="code" data-type="css">
.ui.thingy {
@ -301,7 +301,7 @@ type : 'UI Guide'
<h2 class="ui dividing header">Style Guide</h2>
<h4 class="ui header">Don't Hyphenate</h4>
<h3 class="ui header">Don't Hyphenate</h4>
<p>All elements are designed to include their own namespace. As long as rules descend from their parent element there is no possibility of rule collision.</p>
<p>Hyphenated class names often describe the intersection of separate concepts, and can be better written to represent each concept separately.</p>
<div class="code" data-type="css">
@ -322,7 +322,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">CSS Legibility</h4>
<h3 class="ui header">CSS Legibility</h4>
<p>Adding extra formatting can help increase clarity in your code. We suggest separating css selectors on separate lines, adding a space after css properties with commas (like box-shadow) and placing a zero before any decimal value.</p>
<div class="code" data-type="css">
@ -349,7 +349,7 @@ type : 'UI Guide'
</div>
<h4 class="ui header">Keep Things Ordered</h4>
<h3 class="ui header">Keep Things Ordered</h4>
<p>Although css rule order may be considered a chore, grouping related rules together can help keep css code organized.</p>
<p>An easy way to do this is to consider ordering rules from the outside in. First describing positioning rules, then border rules, margin, sizing, padding, font-size, line height and ending with vendor prefixed attributes.</p>
@ -388,7 +388,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Avoid non-semantic tags, make wrappers groups</h4>
<h3 class="ui header">Avoid non-semantic tags, make wrappers groups</h4>
<p>UI elements should be designed to include the minimum footprint of an element. If extra styling is needed, consider using pseudo selectors :after and :before. This allows for the creation of two extra divs inside each div context which can almost always be enough to accomodate extra styling.</p>
<p>If there is no other option than wrapping content in a containing HTML element, consider using a singular/plural relationship by having the wrapper describe its contents instead of an arbitrary class name like <code>wrapper</code></p>
<div class="code" data-type="css">
@ -404,7 +404,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Margins</h4>
<h3 class="ui header">Margins</h4>
<p>Adding default margins to your content allow for it to have vertical rhythm in a page, but be careful about forcing margin in all circumstances. Here's a useful way to make sure content inside container elements doesn't receieve unnecessary padding.</p>
<div class="code" data-type="css">
.ui.thingy {
@ -419,7 +419,7 @@ type : 'UI Guide'
</div>
<h4 class="ui header">Grammatical order</h4>
<h3 class="ui header">Grammatical order</h4>
<p>Consider using similar class syntax as if you were actually describing the element in English. Although this is by no means required it may help provide clarity in some circumstances.</p>
<div class="code" data-type="css">
/* confusing word order */
@ -432,7 +432,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Use Border Box</h4>
<h3 class="ui header">Use Border Box</h4>
<p>Border box fixes the box model, and allows padding to be included as part of width and height definitions. Using it opens up another world of possibilities for sizing content to fit fluidly</p>
<div class="code" data-type="css">
.two.ui.thingies .ui.thingy {
@ -447,7 +447,7 @@ type : 'UI Guide'
<h2 class="ui dividing header">Units and Measurements</h2>
<h4 class="ui header">Unit Consistency</h4>
<h3 class="ui header">Unit Consistency</h4>
<p>CSS provides a broad selection of measurements for values. It is helpful to keep unit definitions consistent across a single property definition. Including consistent units for 0 values also allows for quicker tweaking and shows greater precision in a property definition.</p>
<div class="code" data-type="css">
@ -466,7 +466,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Inheritance is Magical</h4>
<h3 class="ui header">Inheritance is Magical</h4>
<p>Many CSS properties can use the value 'inherit' to specify, quite unintuitively, to take on the value of parent element for values that do not normally inherit. For example, an element can use inherit to double whatever its parents padding size is, or to receive the same type of border as a parent without knowing what it is beforehand.</p>
<div class="code" data-type="css">
/* inheriting borders */
@ -487,7 +487,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header"><em>Relatively</em> Relative</h4>
<h3 class="ui header"><em>Relatively</em> Relative</h4>
<p>EMs are defined so that 1em is equal to the current font size inside of an element. Using EMs can allow you to size content inside an element in proportion to the overall size of the element. Be careful though because this will stack with nested elements.</p>
<div class="code" data-type="css">
.ui.thingy {
@ -508,7 +508,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header"><em>Recursively</em> Relative</h4>
<h3 class="ui header"><em>Recursively</em> Relative</h4>
<p>Using EMs multiplicative nature can be used to your advantage. Instead of defining multiple tiers of a menu system, consider using ems to reduce each tier's sizing. As you continue to nest menu elements each nested menu will computer its values with smaller proportions.</p>
<div class="code" data-type="css">
.ui.menu {
@ -520,7 +520,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header"><em>Absolutely</em> Relative</h4>
<h3 class="ui header"><em>Absolutely</em> Relative</h4>
<p>Relative EMs (rems) are calculated relative to the font size of the entire page. This is needed to explain how content should be sized related to the overall size of elements on the page, and will not increase geometrically when nested like EMs.</p>
<div class="code" data-type="css">
/* i am a weird page with very tiny fonts */

2
node/src/documents/guide/htmlguide.html

@ -25,5 +25,5 @@ type : 'UI Guides'
<div class="item">Three</div>
</div>
</div>
</div>

38
node/src/documents/guide/javascriptguide.html

@ -14,7 +14,7 @@ type : 'UI Guide'
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui vertical pointing secondary menu">
<a class="active item">General</a>
@ -23,14 +23,14 @@ type : 'UI Guide'
</div>
<h2 class="ui dividing header">General</h2>
<p>Airbnb has compiled a wonderful list for a <em>mostly reasonable</em> approach to javascript. This is an excellent starting point for community consensus on javascript standards.</p>
<p>Airbnb has compiled a wonderful list for a <em>mostly reasonable</em> approach to javascript. This is an excellent starting point for community consensus on javascript standards.</p>
<p><a href="https://github.com/airbnb/javascript">https://github.com/airbnb/javascript</a></p>
<h2 class="ui dividing header">Optional Considerations</h2>
<h4 class="ui header">Variable Alignment</h4>
<h3 class="ui header">Variable Alignment</h4>
<p>Matching equal signs increases code legibility but may take more time. There is a great plugin for Sublime Text called <a href="http://wbond.net/sublime_packages/alignment">Alignment</a> which can automatically manage this for you.</p>
<div class="code" data-type="javascript">
var
@ -39,8 +39,8 @@ type : 'UI Guide'
elephant = 'A long name'
;
</div>
<h4 class="ui header">Chaining</h4>
<h3 class="ui header">Chaining</h4>
<p>Indent chained code to show changes in the original selector. Use the ending semicolon as you would a closing bracket to show the original indentation level of the rule</p>
<div class="code" data-type="javascript">
$element
@ -51,8 +51,8 @@ type : 'UI Guide'
.doSomethingElse()
;
</div>
<h4 class="ui header">Verbs</h4>
<h3 class="ui header">Verbs</h4>
<p>When creating javascript modules consider using verbs to show behavior. This may be more intuitive than allowing a user to directly set properties or manage your internal namespace.</p>
<div class="code" data-type="javascript">
@ -66,12 +66,12 @@ type : 'UI Guide'
.widget('activate', true)
;
</div>
<h4 class="ui header">Default Values</h4>
<h3 class="ui header">Default Values</h4>
<p>Using an OR value allows you to set defaults for any falsey value</p>
<div class="code" data-type="javascript">
(function(someBoolean, name) {
var
var
// this will have issues (false will evaluate same as undefined)
someBoolean = someBoolean || true,
// default name will be sally
@ -82,21 +82,21 @@ type : 'UI Guide'
}
}());
</div>
<h4 class="ui header">Grouping Variables</h4>
<h3 class="ui header">Grouping Variables</h4>
<div class="code" data-type="javascript">
// ok
var
offsetX = 2,
offsetY = 5
;
// nice
var
// nice
var
offset = {
x: 2,
y: 5
}
;
</div>
</div>

62
node/src/documents/guide/styleguide.html

@ -7,14 +7,14 @@ type : 'UI Guide'
---
<div class="segment">
<div class="container">
<h1 class="ui header">UI Language</h1>
<h1 class="ui header">UI Language</h1>
<div class="ui large red message">
This is a starting draft, check back later.
</div>
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui vertical pointing secondary menu">
<a class="active item">Language</a>
@ -29,32 +29,32 @@ type : 'UI Guide'
<div class="ui simple divider"></div>
<h4 class="ui header">Neutral Base Form</h4>
<h3 class="ui header">Neutral Base Form</h4>
<p>In order to make UI components be able to exist in most websites, the prototype version of an element should be neutrally styled using greytones and neutral colors. This will allow other elements to be more robust giving other developers freedom to make decisions about color and style when adapting your element for their website.</p>
<h4 class="ui header">Namespacing</h4>
<h3 class="ui header">Namespacing</h4>
<p>All css code must live inside a namespace. By default all ui elements use the class "ui". This prevents rules from altering styles of other content in the page. This also helps differentiate between UI elements and parts of an element</p>
<p>Tags inside of a ui element <b>do not</b> need to be prefixed with ui. They can simple descend from the element.</p>
<div class="code" data-type="css">
/* incorrect */
.menu {
}
/* incorrect */
.ui.menu .ui.item {
}
/* correct */
.ui.menu {
}
.ui.menu .item {
}
</div>
<h4 class="ui header">Commonality</h4>
<h3 class="ui header">Commonality</h4>
<p>Try to use the most obvious names for classes. If you're not sure, prototype the element, then ask a friend or two what they would call it.<p>
<div class="code" data-type="css">
/* hmm */
@ -66,8 +66,8 @@ type : 'UI Guide'
font-size: 1.5em;
}
</div>
<h4 class="ui header">Precision</h4>
<h3 class="ui header">Precision</h4>
<p>Classes should be defined in one word, if the concept cannot be reduced to a single word then consider factoring it into multiple sub classes</p>
<div class="code" data-type="css">
.attached.ui.thingy {
@ -84,73 +84,73 @@ type : 'UI Guide'
margin-top: -0.5em
}
</div>
<h4 class="ui header">Use real words</h4>
<h3 class="ui header">Use real words</h4>
<p>Abbreviations are useful for taking notes, but css definitions should attempt to use consistent, common language.</p>
<div class="code" data-type="css">
/* nope */
.ui.btn {
}
.ui.widget .cpttext {
}
/* good */
.ui.button {
}
.ui.widget .caption {
}
</div>
<h4 class="ui header">Non prescriptive</h4>
<h3 class="ui header">Non prescriptive</h4>
<p>Avoid requiring any specific tags in your definitions. This will allow developers to choose which tags they would like to use with an element.</p>
<p>Sometimes however it makes sense to allow for common tags to be used in place of classnames for brevity. Paragraph tags, links, labels, and tables may be useful to use in a UI element definition without classnames.</p>
<p>Be cautious though, for example, requiring a form definition to use a form tag limits a developers ability to nest form elements inside other forms. The same is true for anchor tags</p>
<div class="code" data-type="css">
/* hey how do you know this is the third heading? */
/* and what about all the other possible sizes? */
.ui.thingy h3 {
}
/* yay the developer can choose what type of heading tag to use */
.ui.thingy .header {
}
/* wow this guy is going to have to do a lot of typing... */
.ui.table .cell {
}
/* this seems like a reasonable assumption, html is a bit strict about these things */
.ui.table td {
}
</div>
<div class="code" data-type="css">
/* wow this guy is going to have to do a lot of typing... */
.ui.table .cell {
}
/* this seems like a reasonable assumption, html is a bit strict about these things */
.ui.table td {
}
</div>
<h2 class="ui dividing header">Writing Variations</h2>
<h4 class="ui header">Same but not the same</h4>
<h3 class="ui header">Same but not the same</h4>
<p>Multiple elements may contain similar variations that function slightly different.</p>
<p>For example it may be useful for various elements to float left or right. At first it may seem most useful to write a helper class that floats all UI element types when given a certain class name, but the way which an element may be floated might vary depending on the type of element.</p>
<div class="code" data-type="css">
/*
/*
this element will default to floating left if any float is specified
it will receive margins on its float relative to its size
*/
@ -173,7 +173,7 @@ type : 'UI Guide'
}
</div>
<h4 class="ui header">Inversion</h4>
<h3 class="ui header">Inversion</h4>
<p>Elements are often inverted to stand out on dark backgrounds. Consider creating a variation of your element defines how the element can invert its colors.</p>
<p>Keep in mind you might have to increase the contrast between shades of your element when inverting colors, its much easier to detect in a design between multiple shades of a light color than a dark one.</p>
<div class="code" data-type="css">
@ -187,5 +187,5 @@ type : 'UI Guide'
}
</div>
</div>

2
node/src/documents/index.html.eco

@ -28,7 +28,7 @@ type : 'Semantic'
<i class="circular emphasized code icon"></i>
<div class="content">
Lose the Hieroglyphics
<div class="sub header">Semantic is structured around convention to make development more intuitive.
<div class="sub header">Semantic is structured around natural language conventions to make development more intuitive.
</div>
</div>
</h2>

6
node/src/documents/introduction.html

@ -20,10 +20,10 @@ type : 'Semantic'
</div>
</div>
<h2 class="ui dividing header">What's Different</h2>
<h2 class="ui dividing header">What's Different?</h2>
<h3 class="ui header">Convention first</h3>
<p> Writing front end code shouldn't require learning the naming or programming conventions of a particular developer. Instead of using short-hand, or codified naming conventions, semantic uses simple, common language for parts of interface elements and familiar rules used in natural languages for describing variations in an element.</p>
<h3 class="ui header">Descriptive not Prescriptive</h3>
<p> Writing front end code shouldn't require learning the naming or programming conventions of a particular developer. Instead of using short-hand, or codified naming conventions, semantic uses simple, common language for parts of interface elements and familiar rules used in natural languages for describing elements.</p>
<h3 class="ui header">Tag ambivalent.</h3>
<p>While standards groups and browser developers may decide the arbitrary interpretation of html tags in the browser, front end developers have always had complete autonomy over the interpretation of class names of elements.</p>

44
node/src/documents/introduction/getting-started.html

@ -6,6 +6,15 @@ title : 'Getting Started'
type : 'UI Introduction'
---
<script src="/javascript/intro.js"></script>
<script>
$(document)
.ready(function() {
$('.demo.menu .item')
.tab()
;
})
;
</script>
<div class="segment">
<div class="container">
<h1 class="ui header">Introduction
@ -21,7 +30,9 @@ type : 'UI Introduction'
</div>
<h2 class="ui dividing header">Getting Started</h2>
<p>UI definitions in Semantic are given the class name <code>ui</code>. This is to help tell the difference between ui elements and parts of an element. For example a menu may have menu items inside of it. These items are contained as part of the menu definition but do not receive the class name <code>ui</code>.</p>
<p>UI definitions in Semantic are given the class name <code>ui</code>. This is to help tell the difference between ui elements and parts of the definition of an element. For example a menu may have menu items inside of it. These items are contained as part of the menu definition but do not receive the class name <code>ui</code>.</p>
<p>Class names in semantic always use single english words. If a class name is an adjective it is either a <a href="/introduction/types.html">type</a> of element or <a href="/introduction/variation.html">variation</a> of an element. <b>CSS definitions always define adjectives in the context of a noun</b>. In this way class names cannot pollute the namespace.</p>
<div class="code" data-type="html" data-label="true" data-preview="true">
<div class="ui compact menu">
@ -46,22 +57,27 @@ type : 'UI Introduction'
</div>
</div>
<h2 class="ui dividing header">Language Matters</h2>
<p>Class names in semantic always use single english words. If a class name is an adjective it is either a <b>type</b> of element or <b>variation</b> of an element. This helps prevent naming conflicts between elements (nouns) and changes to an element (adjectives)</p>
<h3 class="ui header">Defining behavior simply</h3>
<h2 class="ui dividing header">Semantic APIs</h2>
<p>Modules define a public API using simple phrases involving a verb and an object the verb is acting on. When methods are invoked internally those phrases are matched to internal methods.</p>
<p>Modules define a public API using verbs and simple phrases. When methods are invoked internally those phrases are matched to internal methods automatically.</p>
<div class="code" data-demo="true" data-title="Language in Javascript">
$('.dog.image')
.transition('horizontal flip out')
.transition('scale in', '500ms')
<div class="code" data-type="html" data-label="true" data-preview="true">
<div class="ui pointing secondary demo menu">
<a class="active red item" data-tab="first">First</a>
<a class="blue item" data-tab="second">Second</a>
<a class="green item" data-tab="third">Third</a>
</div>
<div class="ui active tab segment" data-tab="first">First</div>
<div class="ui tab segment" data-tab="second">Second</div>
<div class="ui tab segment" data-tab="third">Third</div>
</div>
<div class="code" data-demo="true">
$('.demo.menu .item')
.tab('deactivate all')
.tab('activate tab', 'third')
.tab('activate navigation', 'third')
;
</div>
<img src="/images/demo/vector.png" class="ui medium dog image">
</div>
<div class="ui divider"></div>

50
node/src/documents/introduction/types.html

@ -8,8 +8,8 @@ type : 'UI Introduction'
<script src="/javascript/intro.js"></script>
<div class="segment">
<div class="container">
<h1 class="ui header">Element Types
<div class="ui label">Draft</div>
<h1 class="ui header">Element Types
<div class="ui label">Draft</div>
<div class="ui red label">Incomplete</div>
</h1>
<p>Types are exclusive versions of an element that very from its prototype or standard definition</p>
@ -29,7 +29,7 @@ type : 'UI Introduction'
<h3 class="ui header">Content</h3>
<p>An icon menu might expect you to include glyphs instead of text to be formatted correctly</p>
<div class="code" data-type="html" data-label="true">
<div class="code" data-type="html" data-label="true" data-preview="true">
<div class="ui icon menu">
<a class="item">
<i class="mail icon"></i>
@ -42,61 +42,33 @@ type : 'UI Introduction'
</a>
</div>
</div>
<div class="ui icon menu">
<a class="item">
<i class="mail icon"></i>
</a>
<a class="item">
<i class="lab icon"></i>
</a>
<a class="item">
<i class="star icon"></i>
</a>
</div>
<h3 class="ui header">HTML Differences</h3>
<p>Types may also require different html. For example, a tiered menu needs html specified for a sub menu to display itself correctly</p>
<div class="code" data-type="html" data-label="true">
<div class="code" data-type="html" data-label="true" data-preview="true">
<div class="ui tiered menu">
<div class="menu">
<div class="active item">
<i class="home icon"></i>
Home
</div>
<div class="item">
<i class="mail icon"></i>
<a class="item">
<i class="mail icon"></i>
Mail
<div class="ui label">22</div>
</div>
<span class="ui label">22</span>
</a>
</div>
<div class="sub menu">
<div class="active item">Activity</div>
<div class="item">Profile</div>
<a class="item">Profile</a>
</div>
</div>
</div>
<div class="ui tiered menu">
<div class="menu">
<div class="active item">
<i class="home icon"></i>
Home
</div>
<div class="item">
<i class="mail icon"></i>
Mail
<div class="ui label">22</div>
</div>
</div>
<div class="sub menu">
<div class="active item">Activity</div>
<div class="item">Profile</div>
</div>
</div>
<div class="ui divider"></div>
<a class="ui large right labeled teal icon button" href="/introduction/variations.html">
Next: UI Variations
<i class="right arrow icon"></i>
</a>
</div>

4
node/src/documents/module.html

@ -10,6 +10,10 @@ type : 'Semantic'
<div class="container">
<h1 class="ui dividing header">UI Modules <span class="ui red label">Incomplete</span></h1>
<p>UI modules are interface elements whose behavior is an essential part of their definition.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/modules/accordion.html

@ -14,6 +14,10 @@ type : 'UI Module'
<div class="container">
<h1 class="ui dividing header">Accordion</h1>
<p>An accordion displays a single piece of content, while allowing the option of displaying other content.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

294
node/src/documents/modules/chat.html

@ -0,0 +1,294 @@
---
layout : 'default'
css : 'chatroom'
title : 'Chatroom'
type : 'UI Module'
---
<link rel="stylesheet" type="text/css" href="/release/uncompressed/modules/chatroom.css">
<script src="http://js.pusher.com/2.1/pusher.min.js" type="text/javascript"></script>
<script src="/release/uncompressed/modules/chatroom.js"></script>
<div class="segment">
<div class="container">
<h1 class="ui dividing header">Chatroom <span class="ui red label">Incomplete</span></h1>
<p>A chatroom allows users to communicate with each other in real time.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui vertical pointing secondary menu">
<a class="active item">Usage</a>
<a class="item">Types</a>
<a class="item">Examples</a>
<a class="item">Settings</a>
</div>
</div>
<h2 class="ui dividing header">Usage</h2>
<h3 class="ui header">Initializing a chat room</h3>
<p>Using chatroom requires an account with <a href="http://www.pusher.com" target="_blank">pusher</a>, a company that provides turn-key web socket access.</p>
<div class="code" data-type="javascript" data-demo="true">
// modify these for your api settings received from pusher
$('.ui.chatroom')
.chatroom({
key : 'f812089c851866cc2f3e',
endpoint: {
authentication : '/chat/authentication',
message : '/chat/send'
}
})
;
</div>
<div class="ui chatroom">
<div class="actions">
<div class="message">
<span class="ui mini inline loader"></span>
Joining chat
</div>
<div class="ui secondary mini right floated icon buttons">
<div class="ui button">
<i class="users icon"></i>
</div>
<div class="ui button">
<i class="full resize icon"></i>
</div>
</div>
</div>
<div class="room">
<div class="container">
<div class="user-list">
<div class="ui small text loader">Loading</div>
</div>
</div>
</div>
<div class="talk">
<div class="avatar">
<img src="/images/demo/avatar.jpg">
</div>
<input type="text" maxlength="200">
<div class="ui send button">
<i class="ui icon comment"></i>
Send
</div>
</div>
</div>
<h2 class="ui dividing header">Settings</h2>
<div class="no example">
<h4 class="ui header">Chatroom Settings</h4>
<p>Chatroom settings modify the chatroom's behavior</p>
<table class="ui celled definition table segment">
<thead>
<th>Setting</th>
<th class="four wide">Default</th>
<th>Description</th>
</thead>
<tbody>
<tr>
<td>key</td>
<td>false</td>
<td>Pusher API key</td>
</tr>
<tr>
<td>key</td>
<td>presence-chat</td>
<td>Channel to use. Pusher requires chatrooms to use channels beginning with presence-</td>
</tr>
<tr>
<td>scrollArea</td>
<td>9999</td>
<td>If a user is this many pixels away from bottom of the page it will automatically scroll when a message is receieved</td>
</tr>
<tr>
<td>customEvents</td>
<td>{}</td>
<td>An object containing custom events and functions to use with pusher</td>
</tr>
<tr>
<td>endpoint</td>
<td>
<div class="code">
{
message: false,
authentication: false
}
</div>
</td>
<td>Endpoints used to communicate authentication and chat messages</td>
</tr>
<tr>
<td>partingMessages</td>
<td>false</td>
<td>Whether to display messages when a user has joined chat</td>
</tr>
<tr>
<td>userCount</td>
<td>true</td>
<td>Whether to display the current logged in user count</td>
</tr>
</tbody>
</table>
<div class="ui horizontal section icon divider"><i class="icon setting"></i></div>
<h4 class="ui header">Callbacks</h4>
<p>Callback settings specify a function to occur after a specific behavior.</p>
<table class="ui celled definition table segment">
<thead>
<th class="four wide">Setting</th>
<th>Context</th>
<th>Description</th>
</thead>
<tbody>
<tr>
<td>onJoin(user)</td>
<td>Chatroom</td>
<td>Called after each user joins a chat room</td>
</tr>
</tbody>
</table>
</div>
<div class="no example">
<h4 class="ui header">DOM Settings</h4>
<p>DOM settings specify how this module should interface with the DOM</p>
<table class="ui celled definition table segment">
<thead>
<th>Setting</th>
<th class="four wide">Default</th>
<th>Description</th>
</thead>
<tbody>
<tr>
<td>namespace</td>
<td>chatroom</td>
<td>Event namespace. Makes sure module teardown does not effect other events attached to an element.</td>
</tr>
<tr>
<td>selector</td>
<td colspan="2">
<div class="code">
selector : {
icon : '.icon'
}
</div>
</td>
</tr>
<tr>
<td>className</td>
<td colspan="2">
<div class="code">
className : {
active : 'active',
hover : 'hover',
loading : 'loading'
},
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="no example">
<h4 class="ui header">Debug Settings</h4>
<p>Debug settings controls debug output to the console</p>
<table class="ui celled definition table segment">
<thead>
<th>Setting</th>
<th class="four wide">Default</th>
<th>Description</th>
</thead>
<tbody>
<tr>
<td>name</td>
<td>Chatroom</td>
<td>Name used in debug logs</td>
</tr>
<tr>
<td>debug</td>
<td>True</td>
<td>Provides standard debug output to console</td>
</tr>
<tr>
<td>performance</td>
<td>True</td>
<td>Provides performance output to console</td>
</tr>
<tr>
<td>verbose</td>
<td>True</td>
<td>Provides ancillary debug output to console</td>
</tr>
<tr>
<td>selector</td>
<td colspan="2">
<div class="code">
selector : {
userCount : '.actions .message',
userListButton : '.actions .list.button',
expandButton : '.actions .expand.button',
room : '.room',
userList : '.room .list',
log : '.room .log',
message : '.room .log .message',
author : '.room log .message .author',
messageInput : '.talk input',
messageButton : '.talk .send.button'
}
</div>
</td>
</tr>
<tr>
<td>className</td>
<td colspan="2">
<div class="code">
className : {
expand : 'expand',
active : 'active',
hover : 'hover',
down : 'down',
loading : 'loading'
}
</div>
</td>
</tr>
<tr>
<td>error</td>
<td colspan="2">
<div class="code">
error: {
method : 'The method you called is not defined',
endpoint : 'Please define a message and authentication endpoint.',
key : 'You must specify a pusher key and channel.',
pusher : 'You must include the Pusher library.'
}
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>

4
node/src/documents/modules/checkbox.html

@ -11,6 +11,10 @@ type : 'UI Module'
<div class="container">
<h1 class="ui dividing header">Checkbox</h1>
<p>A checkbox visually indicates whether an option has been selected.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/modules/dimmer.html

@ -25,6 +25,10 @@ type : 'UI Module'
Dimmer
</h1>
<p>Dimmers focus a users attention on particular content</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

14
node/src/documents/modules/dropdown.html

@ -12,22 +12,10 @@ type : 'UI Module'
<div class="container">
<h1 class="ui dividing header">Dropdown</h1>
<p>A dropdown is a hidden list of selections that a user can choose to have appear.</p>
<div class="ui teal basic labeled icon overview toggle button">
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
<div class="ui black basic download buttons">
<a class="ui button">Download</a>
<div class="ui top right pointing dropdown icon button">
<i class="dropdown icon"></i>
<div class="menu">
<a class="item">Download
<span class="ui small label">ZIP</span>
</a>
<a class="item">View Source</a>
</div>
</div>
</div>
</div>
</div>
<div class="main container">

12
node/src/documents/modules/modal.html

@ -12,21 +12,23 @@ type : 'UI Module'
<div class="container">
<h1 class="ui dividing header">Modal</h1>
<p>A modal displays content that temporarily blocks interactions with a web site.</p>
<div class="ui teal basic labeled icon overview toggle button">
<div class="ui basic labeled icon overview toggle button">
Definition
<i class="book icon"></i>
</div>
<div class="ui black basic download buttons">
<!-- <div class="ui black basic download buttons">
<a class="ui button">Download</a>
<div class="ui top right pointing dropdown icon button">
<i class="dropdown icon"></i>
<div class="menu">
<a class="item">Download
<span class="ui small label">ZIP</span>
</a>
<a href="/release/modules/modal.js" class="item">Download </a>
<a class="item">View Source</a>
</div>
</div>
</div> -->
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>

4
node/src/documents/modules/popup.html

@ -11,6 +11,10 @@ type : 'UI Module'
<div class="container">
<h1 class="ui dividing header">Popup</h1>
<p>A popup displays additional information on top of a page element.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/modules/reveal.html

@ -10,6 +10,10 @@ type : 'UI Module'
<div class="container">
<h1 class="ui dividing header">Reveal</h1>
<p>A reveal is an element that shows different content below it when hovered</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

12
node/src/documents/sink.html

@ -11,7 +11,7 @@ type : 'Other'
</div>
</div>
<div class="main container">
<div class="ui icon info message">
<i class="icon heart"></i>
<div class="content">
@ -21,9 +21,9 @@ type : 'Other'
<p>Current status of work on Semantic UI</p>
</div>
</div>
<div class="ui divider simple"></div>
<div class="ui black top attached menu">
<div class="item">
<b>Redesign Timeline</b>
@ -95,7 +95,7 @@ type : 'Other'
<td class="positive">Complete</td>
<td>
Changes:<br>
- Consolidated into tags
- Consolidated into tags
</td>
</tr>
<tr>
@ -214,6 +214,6 @@ type : 'Other'
</tbody>
</table>
</div>
</div>

32
node/src/documents/views/comment.html

@ -9,6 +9,10 @@ type : 'UI View'
<div class="container">
<h1 class="ui dividing header">Comment</h1>
<p>A comment view is used to display lists of user feedback to site content.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">
@ -20,13 +24,13 @@ type : 'UI View'
<a class="item">Variations</a>
</div>
</div>
<h2 class="ui dividing header">Types</h2>
<div class="example">
<h4 class="ui header">Comments</h4>
<p>A basic list of comments</p>
<div class="ui two column grid">
<div class="column">
<div class="ui piled blue segment">
@ -102,9 +106,9 @@ type : 'UI View'
</div>
</div>
<h2 class="ui dividing header">Content</h2>
<h3 class="ui header">Comment</h3>
<div class="example">
<h4 class="ui header">Avatar</h4>
<p>A comment can contain an image or avatar</p>
@ -122,7 +126,7 @@ type : 'UI View'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Metadata</h4>
<p>A comment can contain metadata about the comment, an arbitrary amount of metadata may be defined.</p>
@ -150,7 +154,7 @@ type : 'UI View'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Actions</h4>
<p>A comment can contain an list of actions a user may perform related to this comment.</p>
@ -182,7 +186,7 @@ type : 'UI View'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Reply Form</h4>
<p>A comment can contain a form to reply to a comment. This may have arbitrary content.</p>
@ -263,10 +267,10 @@ type : 'UI View'
</form>
</div>
</div>
<h2 class="ui dividing header">Variations</h2>
<div class="example">
<h4 class="ui header">Threaded</h4>
<p>A comment list can be threaded to showing the relationship between conversations</p>
@ -401,8 +405,8 @@ type : 'UI View'
</div>
</div>
</div>
<div class="example">
<h4 class="ui header">Minimal</h4>
<p>Comments can hide extra information unless a user shows intent to interact with a comment.</p>
@ -538,5 +542,5 @@ type : 'UI View'
</div>
</div>
</div>

4
node/src/documents/views/feed.html

@ -9,6 +9,10 @@ type : 'UI View'
<div class="container">
<h1 class="ui dividing header">Feed</h1>
<p>A feed is a collection of events that have occured in series</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/views/items.html

@ -9,6 +9,10 @@ type : 'UI View'
<div class="container">
<h1 class="ui dividing header">Item</h1>
<p>An item view is a generic list of site content, and can be useful for displaying a wide variety of named image content.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

4
node/src/documents/views/list.html

@ -11,6 +11,10 @@ type : 'UI View'
List
</h1>
<p>A list is a group of related content items ordered consecutively.</p>
<div class="ui basic labeled icon toggle overview button">
Definition
<i class="book icon"></i>
</div>
</div>
</div>
<div class="main container">

2
node/src/files/javascript/button.js

@ -6,7 +6,7 @@ semantic.button.ready = function() {
// selector cache
var
$buttons = $('.ui.buttons .button'),
$toggle = $('.ui.toggle.button'),
$toggle = $('.main .ui.toggle.button'),
$follow = $('.follow.example .button'),
$button = $('.ui.button').not($buttons).not($toggle),
// alias

2
node/src/files/release/minified/modules/dimmer.min.css

@ -1 +1 @@
.ui.dimmable{position:relative}.ui.dimmer{display:none;position:absolute;top:0!important;left:0!important;width:0;height:0;text-align:center;vertical-align:middle;background-color:rgba(0,0,0,.85);opacity:0;line-height:1;-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-o-animation-fill-mode:both;-ms-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;-ms-animation-duration:.5s;animation-duration:.5s;-webkit-transition:background-color .5s linear;-moz-transition:background-color .5s linear;-o-transition:background-color .5s linear;-ms-transition:background-color .5s linear;transition:background-color .5s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;z-index:1000}.ui.dimmer>.content{width:100%;height:100%;display:table;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ui.dimmer>.content>div{display:table-cell;vertical-align:middle;color:#FFF}.ui.segment>.ui.dimmer{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.ui.horizontal.segment>.ui.dimmer,.ui.vertical.segment>.ui.dimmer{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.ui.dimmed.dimmable>:not(.dimmer){-webkit-filter:blur(5px) grayscale(0.7);-moz-filter:blur(5px) grayscale(0.7)}.ui.dimmed.dimmable>.ui.dimmer,.ui.active.dimmer{display:block;width:100%;height:100%;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.ui.page.dimmer{position:fixed;-webkit-perspective:2000px;-moz-perspective:2000px;perspective:2000px;-webkit-transform-origin:top center;-moz-transform-origin:top center;-o-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.ui.inverted.dimmer{background-color:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content>*{color:rgba(0,0,0,.8)}.ui.simple.dimmer{display:block;overflow:hidden;opacity:1;z-index:-100;background-color:rgba(0,0,0,0)}.ui.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background-color:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,0)}.ui.dimmed.dimmable>.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,.85)}
.ui.dimmable{position:relative}.ui.dimmer{display:none;position:absolute;top:0!important;left:0!important;width:0;height:0;text-align:center;vertical-align:middle;background-color:rgba(0,0,0,.85);opacity:0;line-height:1;-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-o-animation-fill-mode:both;-ms-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;-moz-animation-duration:.5s;-o-animation-duration:.5s;-ms-animation-duration:.5s;animation-duration:.5s;-webkit-transition:background-color .5s linear;-moz-transition:background-color .5s linear;-o-transition:background-color .5s linear;-ms-transition:background-color .5s linear;transition:background-color .5s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;z-index:1000}.ui.dimmer>.content{width:100%;height:100%;display:table;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ui.dimmer>.content>div{display:table-cell;vertical-align:middle;color:#FFF}.ui.segment>.ui.dimmer{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.ui.horizontal.segment>.ui.dimmer,.ui.vertical.segment>.ui.dimmer{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.ui.dimmed.dimmable>.ui.dimmer,.ui.active.dimmer{display:block;width:100%;height:100%;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.ui.page.dimmer{position:fixed;-webkit-perspective:2000px;-moz-perspective:2000px;perspective:2000px;-webkit-transform-origin:top center;-moz-transform-origin:top center;-o-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.ui.inverted.dimmer{background-color:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content>*{color:rgba(0,0,0,.8)}.ui.simple.dimmer{display:block;overflow:hidden;opacity:1;z-index:-100;background-color:rgba(0,0,0,0)}.ui.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background-color:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,0)}.ui.dimmed.dimmable>.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,.85)}

2
node/src/files/release/packaged/css/semantic.min.css.REMOVED.git-id

@ -1 +1 @@
11823605b1116637b031576b73e0cb78699afeca
02bbe0c7acae62b17cef7020c47c8f8cf2d06e01

6
node/src/files/release/uncompressed/modules/dimmer.css

@ -100,10 +100,12 @@
/*******************************
States
*******************************/
/*
.ui.dimmed.dimmable > :not(.dimmer) {
-webkit-filter: blur(5px) grayscale(0.7);
-moz-filter: blur(5px) grayscale(0.7);
-webkit-filter: ~"blur(5px) grayscale(0.7)";
-moz-filter: ~"blur(5px) grayscale(0.7)";
}
*/
.ui.dimmed.dimmable > .ui.dimmer,
.ui.active.dimmer {
display: block;

4
src/modules/dimmer.less

@ -131,12 +131,12 @@
/*******************************
States
*******************************/
/*
.ui.dimmed.dimmable > :not(.dimmer) {
-webkit-filter: ~"blur(5px) grayscale(0.7)";
-moz-filter: ~"blur(5px) grayscale(0.7)";
}
*/
.ui.dimmed.dimmable > .ui.dimmer,
.ui.active.dimmer {
display: block;

Loading…
Cancel
Save