Browse Source

fixes up grid examples a bunch, adds more module docs

Former-commit-id: 71c752c006
Former-commit-id: 761b435145
pull/258/head
Jack Lukic 12 years ago
parent
commit
19d214382f
20 changed files with 414 additions and 215 deletions
  1. 4
      RELEASE NOTES.md
  2. 147
      node/src/documents/collection.html
  3. 10
      node/src/documents/collections/form.html
  4. 191
      node/src/documents/collections/grid.html
  5. 8
      node/src/documents/collections/menu.html
  6. 9
      node/src/documents/download.html
  7. 83
      node/src/documents/module.html
  8. 24
      node/src/documents/modules/checkbox.html
  9. 6
      node/src/documents/sink.html
  10. 10
      node/src/files/components/semantic/src/collections/grid.css
  11. 6
      node/src/files/components/semantic/src/collections/message.css
  12. 14
      node/src/files/components/semantic/src/elements/label.css
  13. 21
      node/src/files/components/semantic/src/elements/progress.css
  14. 10
      node/src/files/components/semantic/src/elements/segment.css
  15. 30
      node/src/files/stylesheets/semantic.css
  16. 1
      node/src/layouts/default.html.eco
  17. 10
      src/collections/grid.css
  18. 14
      src/elements/label.css
  19. 21
      src/elements/progress.css
  20. 10
      src/elements/segment.css

4
RELEASE NOTES.md

@ -2,8 +2,10 @@
** Breaking Changes
* Grid (previously Elements/Element) now have children called "columns"
* Renamed UI Blocks to UI Messages (may 13, 2013)
* Messages are automatically hidden inside forms (may 04, 2013)
* Renamed UI Item Grid variation to standard item prototype to avoid conflict with ui grid (may 12, 2013)
* Renamed "grid" variation of table to "celled" to fix conflict with ui grid (may 10, 2013)
* Buttons are now grey by default
* Buttons are now grey by default
* Header styles have changed significantly

147
node/src/documents/collection.html

@ -6,93 +6,94 @@ title : 'UI Collections'
type : 'Library'
---
<div class="segment">
<div class="container">
<div class="responsive ui grid segment">
<div class="column">
<h1>UI Collection</h1>
<p>UI collections are heterogeneous groups of elements<p>
<p>UI collections are elements which contain other elements which often appear together.<p>
</div>
</div>
<div class="main container">
<h2>Types of Collections</h2>
<div class="ui horizontal items">
<div class="item">
<div class="image">
<div class="ui fluid form">
<div class="field">
<label>Name</label>
<input class="ui input" placeholder="Name">
</div>
<div class="field">
<label>E-mail</label>
<input class="ui input" placeholder="E-mail">
<div class="main responsive ui grid">
<div class="column">
<h2>Types of Collections</h2>
<div class="ui horizontal type items">
<div class="item">
<div class="image">
<div class="ui fluid form">
<div class="field">
<label>Name</label>
<input class="ui input" placeholder="Name">
</div>
<div class="field">
<label>E-mail</label>
<input class="ui input" placeholder="E-mail">
</div>
</div>
</div>
</div>
<div class="content">
<a href="/collections/form.html" class="name">Form</a>
<p>A form is used to solicit a user response</p>
</div>
</div>
<div class="item">
<div class="image">
<div class="ui three column aligned grid">
<div class="top aligned column">Top</div>
<div class="middle aligned column">Middle</div>
<div class="bottom aligned column">Bottom</div>
<div class="content">
<a href="/collections/form.html" class="name">Form</a>
<p>A form is used to solicit a user response</p>
</div>
</div>
<div class="content">
<a href="/collections/grid.html" class="name">Grid</a>
<p>A grid helps harmonize negative space in a layout</p>
</div>
</div>
<div class="item">
<div class="image">
<div class="ui inverted compact menu">
<div class="item">Friends</div>
<div class="item">Messages</div>
<div class="item">
<div class="image">
<div class="ui three column aligned responsive grid">
<div class="column"><div class="ui segment">First</div></div>
<div class="column"><div class="ui segment">Second</div></div>
<div class="column"><div class="ui segment">Third</div></div>
</div>
</div>
<div class="content">
<a href="/collections/grid.html" class="name">Grid</a>
<p>A grid helps harmonize negative space in a layout</p>
</div>
</div>
<div class="content">
<a href="/collections/menu.html" class="name">Menu</a>
<p>A menu organizes related links</p>
</div>
</div>
<div class="item">
<div class="image">
<table class="ui table">
<thead>
<th>Name</th>
<th>Status</th>
</thead>
<tbody>
<tr>
<td>John</td>
<td class="positive"><i class="icon check"></i> Approved</td>
</tr>
</tbody>
</table>
</div>
<div class="content">
<a href="/collections/table.html" class="name">Table</a>
<p>A table organizes data that is grouped into rows</p>
<div class="item">
<div class="image">
<div class="ui inverted compact menu">
<div class="item">Friends</div>
<div class="item">Messages</div>
</div>
</div>
<div class="content">
<a href="/collections/menu.html" class="name">Menu</a>
<p>A menu organizes related links</p>
</div>
</div>
</div>
<div class="item">
<div class="image">
<div class="ui warning block">
<div class="header">Alert</div>
<p>You forgot your name!</p>
<div class="item">
<div class="image">
<table class="ui table">
<thead>
<th>Name</th>
<th>Status</th>
</thead>
<tbody>
<tr>
<td>John</td>
<td class="positive"><i class="icon check"></i> Approved</td>
</tr>
</tbody>
</table>
</div>
<div class="content">
<a href="/collections/table.html" class="name">Table</a>
<p>A table collects related data into rows of content</p>
</div>
</div>
<div class="content">
<a href="collections/block.html" class="name">Text Block</a>
<p>A text block is used to alert a user.</p>
<div class="item">
<div class="image">
<div class="ui warning message">
<div class="header">Alert</div>
<p>You forgot your name!</p>
</div>
</div>
<div class="content">
<a href="collections/block.html" class="name">Message</a>
<p>Messages alert a user to something important.</p>
</div>
</div>
</div>
</div>
</div>

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

@ -33,7 +33,7 @@ type : 'UI Collection'
<div class="example">
<h4>Form:</h4>
<p>A form is a collection of user input elements, and has no stylings of its own.</p>
<div class="ui info block">
<div class="ui info message">
<p>This example uses a ui segment to add the padding and background color. This is not required.</p>
</div>
<div class="ui form segment">
@ -158,7 +158,7 @@ type : 'UI Collection'
<h4>Text Block</h4>
<p>Text blocks have special meaning inside a form tag. All message blocks are hidden by default.</p>
<div class="ui form">
<div class="ui block">
<div class="ui message">
<div class="header">We had some issues</div>
<ul class="list">
<li>Please enter your first name</li>
@ -210,7 +210,7 @@ type : 'UI Collection'
<h4>Error</h4>
<p>If a form is in an error state, it will automatically show any error message blocks:</p>
<div class="ui error form segment">
<div class="ui error block">
<div class="ui error message">
<div class="header">Action Forbidden</div>
<p>You can only sign up for an account once with a given e-mail address.</p>
</div>
@ -248,7 +248,7 @@ type : 'UI Collection'
<p>If a form is in warning state, it will automatically show any warning message block:</p>
<div class="ui warning form segment">
<div class="ui warning block">
<div class="ui warning message">
<div class="header">Could you check something!</div>
<ul class="list">
<li>You forgot your <b>first name</b></li>
@ -382,7 +382,7 @@ type : 'UI Collection'
<div style="background-color: #333333; padding: 15px;">
<div class="ui inverted form">
<div class="ui info block">
<div class="ui info message">
<div class="header">We had some issues</div>
<ul class="list">
<li>Please enter your first name</li>

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

@ -19,52 +19,77 @@ type : 'UI Collection'
<h2>Collection</h2>
<div class="example">
<div class="highlighted example">
<h4>Grid</h4>
<p>A grid is made up of columns of content. By default a grid must assume a certain number of columns. The semantic library assumes 12 columns by default.</p>
<div class="ui ignore warning block"><i class="icon heart"></i> <b>Tip</b>
<p>If only a single column is specified inside a grid or a grid row, semantic will assume the column to take up the entire grid width. If you would like to override this behavior, specify the grid width as a <b>one wide column</b></p></div>
<div class="ui ignore warning message"><i class="icon heart"></i> <b>Tip</b>
<p>If only a single column is specified inside a grid or a grid row, semantic will assume the column to take up the entire grid width. If you would like to override this behavior, specify the grid width as a <b>one wide column</b></p>
<p>It is also 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 grid">
<div class="column">
1
<div class="ui segment">
1
</div>
</div>
<div class="column">
2
<div class="ui segment">
2
</div>
</div>
<div class="column">
3
<div class="ui segment">
3
</div>
</div>
<div class="column">
4
<div class="ui segment">
4
</div>
</div>
<div class="column">
5
<div class="ui segment">
5
</div>
</div>
<div class="column">
6
<div class="ui segment">
6
</div>
</div>
<div class="column">
7
<div class="ui segment">
7
</div>
</div>
<div class="column">
8
<div class="ui segment">
8
</div>
</div>
<div class="column">
9
<div class="ui segment">
9
</div>
</div>
<div class="column">
10
<div class="ui segment">
10
</div>
</div>
<div class="column">
11
<div class="ui segment">
11
</div>
</div>
<div class="column">
12
<div class="ui segment">
12
</div>
</div>
</div>
</div>
<div class="example">
<div class="highlighted example">
<h4>Rows</h4>
<p>A basic grid has padding on the first and last columns of each row.</p>
<p>A row is used to create vertical padding between rows of columns on a page. If no rows are specified, a grid column will sit flush along each side of the grid.</p>
@ -72,97 +97,157 @@ type : 'UI Collection'
<div class="ui grid">
<div class="row">
<div class="column">
1a
<div class="ui segment">
1a
</div>
</div>
<div class="column">
2a
<div class="ui segment">
2a
</div>
</div>
<div class="column">
3a
<div class="ui segment">
3a
</div>
</div>
<div class="column">
4a
<div class="ui segment">
4a
</div>
</div>
<div class="column">
5a
<div class="ui segment">
5a
</div>
</div>
<div class="column">
6a
<div class="ui segment">
6a
</div>
</div>
<div class="column">
7a
<div class="ui segment">
7a
</div>
</div>
<div class="column">
8a
<div class="ui segment">
8a
</div>
</div>
<div class="column">
9a
<div class="ui segment">
9a
</div>
</div>
<div class="column">
10a
<div class="ui segment">
10a
</div>
</div>
<div class="column">
11a
<div class="ui segment">
11a
</div>
</div>
<div class="column">
12a
<div class="ui segment">
12a
</div>
</div>
</div>
<div class="row">
<div class="column">
1b
<div class="ui segment">
1b
</div>
</div>
<div class="column">
2b
<div class="ui segment">
2b
</div>
</div>
<div class="column">
3b
<div class="ui segment">
3b
</div>
</div>
<div class="column">
4b
<div class="ui segment">
4b
</div>
</div>
<div class="column">
5b
<div class="ui segment">
5b
</div>
</div>
<div class="column">
6b
<div class="ui segment">
6b
</div>
</div>
<div class="column">
7b
<div class="ui segment">
7b
</div>
</div>
<div class="column">
8b
<div class="ui segment">
8b
</div>
</div>
<div class="column">
9b
<div class="ui segment">
9b
</div>
</div>
<div class="column">
10b
<div class="ui segment">
10b
</div>
</div>
<div class="column">
11b
<div class="ui segment">
11b
</div>
</div>
<div class="column">
12b
<div class="ui segment">
12b
</div>
</div>
</div>
</div>
</div>
<div class="example">
<div class="highlighted example">
<h4>Grid</h4>
<p>A grid will automatically center any columns that do not match a full row width. This is useful for centering content</p>
<div class="ui grid">
<div class="column">
1
</div>
<div class="column">
2
</div>
<div class="column">
3
<div class="ui three column grid">
<div class="row">
<div class="column">
<div class="ui segment">
1
</div>
</div>
<div class="column">
<div class="ui segment">
2
</div>
</div>
<div class="column">
<div class="ui segment">
3
</div>
</div>
</div>
<div class="column">
4
<div class="row">
<div class="column">
<div class="ui segment">
4
</div>
</div>
</div>
</div>
</div>
@ -310,7 +395,7 @@ type : 'UI Collection'
</div>
</div>
<div class="example">
<h4>Horizontal Alignment</h4>
<h4>Floating (Horizontal Alignment)</h4>
<p>A column can be aligned, or "floated", to either the left or right of its row.</p>
<div class="ui grid">
<div class="left aligned four wide column">

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

@ -56,7 +56,7 @@ type : 'UI Collection'
<div class="example">
<h4>Vertical Menu</h4>
<p>A vertical menu can have its own sub menus. This example uses three levels of menu depth.</p>
<div class="ui ignore warning block"><i class="icon heart"></i> A vertical menu's width defaults to an arbitrary size. To have it fit your content more precisely use the fluid variation in conjunction with <a href="grid.html">ui grid</a>.</div>
<div class="ui ignore warning message"><i class="icon heart"></i> A vertical menu's width defaults to an arbitrary size. To have it fit your content more precisely use the fluid variation in conjunction with <a href="grid.html">ui grid</a>.</div>
<div class="ui vertical menu">
<div class="item">
<b>Username</b>
@ -120,7 +120,7 @@ type : 'UI Collection'
<div class="example">
<h4>Text Item</h4>
<p>A menu may have a simple text item.</p>
<div class="ui ignore info block">
<div class="ui ignore info message">
<p><i class="icon heart"></i> Single paragraphs are automatically formatted as text. You can also specify an item as textual by adding the classname <b>text</b></p>
</div>
<div class="ui vertical menu">
@ -154,7 +154,7 @@ type : 'UI Collection'
<div class="example">
<h4>Dropdown Item</h4>
<p>An item may contain a list of dropdowns to chose from. By default it will appear automatically with css.</p>
<div class="ui ignore warning block">
<div class="ui ignore warning message">
<p><i class="icon heart"></i> A dropdown menu will, by default, automatically show when the parent element is hovered.</p>
<p>If you need to programmatically close the dropdown, use the class name <b>dynamic</b> and the javascript state module, which will allow you to manipulate the hover state in javascript.</p>
</div>
@ -203,7 +203,7 @@ type : 'UI Collection'
<div class="example">
<h4>Hover</h4>
<p>A menu item can be hovered</p>
<div class="ui ignore warning block"><i class="icon heart"></i> Menu items are only hoverable if they are links, defined with the variant "link", or are given the class name hover programmatically.</div>
<div class="ui ignore warning message"><i class="icon heart"></i> Menu items are only hoverable if they are links, defined with the variant "link", or are given the class name hover programmatically.</div>
<div class="ui compact menu">
<div class="hover item">
Link

9
node/src/documents/download.html

@ -12,15 +12,6 @@ type : 'Library'
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui vertical pointing link menu">
<div class="active item">Collection</div>
<div class="item">Elements</div>
<div class="item">States</div>
<div class="item">Variations</div>
</div>
</div>
<h2>Collection</h2>
</div>

83
node/src/documents/module.html

@ -9,22 +9,93 @@ type : 'Library'
<div class="segment">
<div class="container">
<h1>UI Modules</h1>
<p>UI modules are interface elements which require a definition of their behavior.</p>
<p>UI modules are interface elements whose behavior is an essential part of their definition.</p>
</div>
</div>
<div class="main container">
<div class="peek">
<div class="ui vertical pointing menu">
<a class="active item">Definition</a>
<a class="item">Distinction</a>
<a class="active item">Types</a>
<a class="item">Usage</a>
</div>
</div>
<h2>Definition</h2>
<p>zzzz</p>
<h2>Types</h2>
<h2>Distinction</h2>
<h2>Usage</h3>
<h2>Settings</h2>
<p>Settings in UI widgets are any part of a widget definition which is mutable. Most UI widgets have a set of common settings which are useful across all plugins.
<h3>Common Settings</h3>
<table class="ui table">
<thead>
<th>Name</th>
<th>Usage</th>
</thead>
<tr>
<td>moduleName</td>
<td>Name used in debug logs to differentiate this widget from other debug statements.</td>
</tr>
<tr>
<td>debug</td>
<td>Provides standard debug output to console.</td>
</tr>
<tr>
<td>performance</td>
<td>Provides performance logging to console of internal method calls.</td>
</tr>
<tr>
<td>verbose</td>
<td>Provides extra debug output to console</td>
</tr>
<tr>
<td>namespace</td>
<td>Namespace used for DOM event and metadata namespacing. Allows module's destroy method to not affect other modules.</td>
</tr>
<tr>
<td>selectors</td>
<td>An object containing all selectors used in the module, these are usually children of the module.</td>
</tr>
<tr>
<td>classNames</td>
<td>An object containing all classnames used in the module.</td>
</tr>
<tr>
<td>errors</td>
<td colspan="2">A javascript array of error statements used in the plugin. These may sometimes appear to the user, but most often appear in debug statements.
</td>
</tr>
</tbody>
</table>
<h3>Changing Settings</h3>
<ol>
<li>A settings object can be passed in when initializing the plugin
<br> <div class="code">$('.foo')
.module({
moduleName: 'Godzilla',
verbose: true
})
;</div>
</li>
<li>Default settings for the module can be overridden by modifying $.fn.module.settings.
<br><div class="code">$.fn.module.settings.moduleName = 'Godzilla';</div>
</li>
<li>Settings can be changed after a module is initialized by calling the 'settings' method on the module with either a settings object or a name, value pair.
<br><div class="code">$('.foo')
// lets initialize that!
.module()
// oh wait forgot something
.module('setting', 'moduleName', 'Godzilla')
;</div>
</li>
</ol>
<h3>Reading Settings</h3>
<p>Settings can also be read programmatically: <div class="code">$('.foo').module('setting', 'moduleName');
// outputs godzilla</div>
</div>
</body>

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

@ -16,7 +16,9 @@ type : 'UI Module'
<div class="peek">
<div class="ui vertical pointing menu">
<a class="active item">Examples</a>
<a class="active item">Structure</a>
<a class="item">Behavior</a>
<a class="item">Examples</a>
<a class="item">Getting Started</a>
<a class="item">Settings</a>
</div>
@ -83,26 +85,6 @@ type : 'UI Module'
<div class="code">$('.ui.checkbox')
.checkbox('disableAll')
;</div>
<h2>Settings</h2>
<h3>Changing Settings</h3>
<ol>
<li>A settings object can be passed in when initializing the plugin
<br> <div class="code">$('.foo')
.checkbox({
moduleName: 'Godzilla'
})
;</div>
</li>
<li>Default settings for the module can be overridden by modifying $.fn.checkbox.settings.
<br><div class="code">$.fn.checkbox.settings.moduleName = 'Godzilla';</div>
</li>
<li>Settings can be changed after a module is initialized by calling the 'settings' method on the module with either a settings object or a name, value pair.
<br><div class="code">$('.foo').checkbox('setting', 'moduleName', 'Godzilla');</div>
</li>
</ol>
<h3>Reading Settings</h3>
<p>Settings can also be read programmatically: <div class="code">$('.foo').checkbox('setting', 'moduleName');</div>
<h3>Defaults</h3>
<table class="ui settings table">
<thead>

6
node/src/documents/sink.html

@ -163,7 +163,7 @@ type : 'Other'
</div>
<div class="main container">
<div class="ui icon info block">
<div class="ui icon info message">
<i class="icon heart"></i>
<div class="content">
<div class="header">
@ -185,7 +185,7 @@ type : 'Other'
</div>
</div>
<div class="ui bottom attached segment">
<div class="ui block">
<div class="ui message">
<div class="header">UI Elements</div>
<p>This is an estimate of total time left to compete reskin and docs for the following elements</p>
</div>
@ -309,7 +309,7 @@ type : 'Other'
</tbody>
</table>
<div class="ui divider"></div>
<div class="ui block">
<div class="ui message">
<div class="header">UI Collections</div>
</div>
<table class="ui sortable table">

10
node/src/files/components/semantic/src/collections/grid.css

@ -119,7 +119,7 @@
}
@media only screen and (min-width : 1000px) {
.ui.responsive.grid {
padding: 0% 5%;
padding: 0% 10%;
}
.ui.responsive.grid > .column,
.ui.responsive.grid > .row > .column {
@ -127,7 +127,7 @@
}
@media only screen and (min-width : 1500px) {
.ui.responsive.grid {
padding: 0% 10%;
padding: 0% 20%;
}
.ui.responsive.grid > .column,
.ui.responsive.grid > .row > .column {
@ -135,7 +135,7 @@
}
@media only screen and (min-width : 1750px) {
.ui.responsive.grid {
padding: 0% 20%;
padding: 0% 30%;
}
.ui.responsive.grid > .column,
.ui.responsive.grid > .row > .column {
@ -143,7 +143,7 @@
}
@media only screen and (min-width : 2000px) {
.ui.responsive.grid {
padding: 0% 27%;
padding: 0% 35%;
}
.ui.responsive.grid > .column,
.ui.responsive.grid > .row > .column {
@ -194,7 +194,7 @@
}
/*-------------------
Column Count
Column Count
--------------------*/
/* Standard */

6
node/src/files/components/semantic/src/collections/message.css

@ -11,7 +11,7 @@
*/
/*******************************
Text Message
Text Block
*******************************/
.ui.message {
@ -36,13 +36,13 @@
Content
---------------*/
/* message with header */
/* block with headers */
.ui.message .header {
font-size: 1.33em;
font-weight: bold;
}
/* message with paragraph */
/* block with paragraphs */
.ui.message p {
opacity: 0.85;
margin: 0.2em 0em;

14
node/src/files/components/semantic/src/elements/label.css

@ -203,6 +203,20 @@ a.ui.label {
}
/*-------------------
Fluid
--------------------*/
.ui.label.fluid,
.ui.fluid.labels > .label {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
/*-------------------
Colors
--------------------*/

21
node/src/files/components/semantic/src/elements/progress.css

@ -1,7 +1,7 @@
.ui.progress {
border: 1px solid #DDDDDD;
width: 350px;
width: 100%;
max-width: 100%;
height: 35px;
@ -66,19 +66,26 @@
}
/* State */
.ui.success.progress .bar {
.ui.successful.progress .bar {
background-color: #73E064 !important;
}
.ui.success.progress .bar,
.ui.success.progress .bar::after {
.ui.successful.progress .bar,
.ui.successful.progress .bar::after {
-webkit-animation: none !important;
-moz-animation: none !important;
}
.ui.error.progress .bar {
.ui.failed.progress .bar {
background-color: #DF9BA4 !important;
}
.ui.error.progress .bar,
.ui.error.progress .bar::after {
.ui.failed.progress .bar,
.ui.failed.progress .bar::after {
-webkit-animation: none !important;
-moz-animation: none !important;
}
.ui.disabled.progress .bar,
.ui.disabled.progress .bar::after {
-webkit-animation: none !important;
-moz-animation: none !important;
}

10
node/src/files/components/semantic/src/elements/segment.css

@ -16,6 +16,11 @@
-moz-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
@ -30,11 +35,6 @@
margin-top: 0em;
}
/* Compatability with Grid */
.ui.fitted.elements .ui.segment.element:first-child {
border-radius: 5px 0px 0px 5px;
}
.ui.segment.attached {
top: -1px;
bottom: -1px;

30
node/src/files/stylesheets/semantic.css

@ -251,7 +251,8 @@ box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2); */
/* segment headers */
#example > .segment {
margin: 0px 0px 46px;
padding: 65px 0px 20px;
padding-top: 65px;
padding-bottom: 20px;
background-color: #FFFFFF;
border-bottom: 1px solid #DDDDDD;
}
@ -309,7 +310,7 @@ box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2); */
clear: both;
}
#example .page {
font-family: "Arial, Helvetica, sans-serif";
/* font-family: "Arial, Helvetica, sans-serif"; */
}
#example .page .of {
font-family: 'Neutraface';
@ -553,7 +554,30 @@ box-shadow: 3px 0px 2px rgba(0, 0, 0, 0.2); */
opacity: 1;
}
#example .ui.items > .item > .image {
#example .highlighted.example .grid,
#example .ui.type.items .image .grid {
background-color: #F0F0F0;
}
#example .highlighted.example .grid .column,
#example .ui.type.items .image .grid .column {
background-color: #E0E0E0;
height: 150px;
}
#example .highlighted.example .grid .segment,
#example .ui.type.items .image .grid .segment {
height: 150px;
border: 1px solid #DDDDDD;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}
#example .ui.type.items > .item > .image {
padding: 1em;
vertical-align: middle;
}

1
node/src/layouts/default.html.eco

@ -27,6 +27,7 @@
<link rel="stylesheet" type="text/css" class="ui" href="/components/semantic/src/elements/button.css">
<link rel="stylesheet" type="text/css" class="ui" href="/components/semantic/src/elements/header.css">
<link rel="stylesheet" type="text/css" class="ui" href="/components/semantic/src/elements/label.css">
<link rel="stylesheet" type="text/css" class="ui" href="/components/semantic/src/elements/progress.css">
<link rel="stylesheet" type="text/css" class="ui" href="/components/semantic/src/elements/divider.css">
<link rel="stylesheet" type="text/css" class="ui" href="/components/semantic/src/collections/message.css">
<link rel="stylesheet" type="text/css" class="ui" href="/components/semantic/src/elements/segment.css">

10
src/collections/grid.css

@ -119,7 +119,7 @@
}
@media only screen and (min-width : 1000px) {
.ui.responsive.grid {
padding: 0% 5%;
padding: 0% 10%;
}
.ui.responsive.grid > .column,
.ui.responsive.grid > .row > .column {
@ -127,7 +127,7 @@
}
@media only screen and (min-width : 1500px) {
.ui.responsive.grid {
padding: 0% 10%;
padding: 0% 20%;
}
.ui.responsive.grid > .column,
.ui.responsive.grid > .row > .column {
@ -135,7 +135,7 @@
}
@media only screen and (min-width : 1750px) {
.ui.responsive.grid {
padding: 0% 20%;
padding: 0% 30%;
}
.ui.responsive.grid > .column,
.ui.responsive.grid > .row > .column {
@ -143,7 +143,7 @@
}
@media only screen and (min-width : 2000px) {
.ui.responsive.grid {
padding: 0% 27%;
padding: 0% 35%;
}
.ui.responsive.grid > .column,
.ui.responsive.grid > .row > .column {
@ -194,7 +194,7 @@
}
/*-------------------
Column Count
Column Count
--------------------*/
/* Standard */

14
src/elements/label.css

@ -203,6 +203,20 @@ a.ui.label {
}
/*-------------------
Fluid
--------------------*/
.ui.label.fluid,
.ui.fluid.labels > .label {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
/*-------------------
Colors
--------------------*/

21
src/elements/progress.css

@ -1,7 +1,7 @@
.ui.progress {
border: 1px solid #DDDDDD;
width: 350px;
width: 100%;
max-width: 100%;
height: 35px;
@ -66,19 +66,26 @@
}
/* State */
.ui.success.progress .bar {
.ui.successful.progress .bar {
background-color: #73E064 !important;
}
.ui.success.progress .bar,
.ui.success.progress .bar::after {
.ui.successful.progress .bar,
.ui.successful.progress .bar::after {
-webkit-animation: none !important;
-moz-animation: none !important;
}
.ui.error.progress .bar {
.ui.failed.progress .bar {
background-color: #DF9BA4 !important;
}
.ui.error.progress .bar,
.ui.error.progress .bar::after {
.ui.failed.progress .bar,
.ui.failed.progress .bar::after {
-webkit-animation: none !important;
-moz-animation: none !important;
}
.ui.disabled.progress .bar,
.ui.disabled.progress .bar::after {
-webkit-animation: none !important;
-moz-animation: none !important;
}

10
src/elements/segment.css

@ -16,6 +16,11 @@
-moz-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
@ -30,11 +35,6 @@
margin-top: 0em;
}
/* Compatability with Grid */
.ui.fitted.elements .ui.segment.element:first-child {
border-radius: 5px 0px 0px 5px;
}
.ui.segment.attached {
top: -1px;
bottom: -1px;

Loading…
Cancel
Save