diff --git a/node/src/documents/index.html b/node/src/documents/index.html index fa24748fe..28b5ce597 100755 --- a/node/src/documents/index.html +++ b/node/src/documents/index.html @@ -13,153 +13,42 @@ type : 'Semantic'

UI is the vocabulary of the web.

Semantic empowers designers and developers by creating a shared language for user interfaces.

View UI - Get Started - - - -
-
-
-

- -
- Intuitive -
Easy to learn
-
-

-

Web development doesn't have to be hieroglyphics. Semantic lets you develop websites by describing what you want on a page.

-
-
-

- -
- Built Lean -
Take only what you need.
-
-

-

No need to buy into a framework, just use the bits you need. Need to redesign? Simply swap out your definition of what a menu is, or a button, no need to recode everything.

-
-
-

- -
- Made to Grow -
Define your own language.
-
-

-

Semantic provides a rubric for developing re-usable UI that you can share with others, and re-use yourself between projects.

+ Get Started
-
-
-
-

-

-
-
-
-

Definitions

-

HTML elements are nouns.

-
-
Submit
-
-
-
-
Submit
-
-
-
-
-

Variations

-

HTML elements can have variations which modify the way they look or behave.

-

Variations are mutually exclusive and can be used freedly together in any combination

-
-
Add User
-
-
Add User
-
- - Add User -
-
-
-
-
Add User


-


-
Add User


-
- - Add User -
-
-
-
-
-

Plurality

-

HTML elements can share qualities as a group to avoid having to define them redundantly.

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

Behavior

-

Elements with behaviors give you an api of verbs and direct objects.

-

Trigger an action using simple sentences

-
- -
First
-
Second
-
Third
-
-
- $('.ui.navigation .item') - .tab() - ; - $('.ui.navigation .oddball.item') - .on('click', function() { - $(this) - .tab('deactivate all') - .tab('activate tab', 'third') - .tab('activate navigation', 'third') - ; - }) - ; -
-
-
-

Philosophy

-

Writing front end code shouldn't require learning the naming or programming conventions of a particular developer. Semantic is an attempt to design a front end library built around common usage and convention to make adopting and sharing code with others easier.

-

The semantic framework is an attempt to create a less prescriptive front end library which others can extend and modify to enhance their projects.

+

Writing front end code shouldn't require learning the naming or programming conventions of a particular developer. Semantic is a methodology for coding front end designed to make adopting and sharing code with others easier.

+

Semantic is tag ambivalent. That means you can use it with div, article, section, span, whichever you please. However, some elements still have special meeting like anchor and table tags.

+

Getting Started

-

UI definitions in Semantic are namespaced with the class name ui. This is to help differentiate between parts of a UI element, and the element itself. In the example below you can see that item must be a part of a menu definition.

+

UI definitions in Semantic are namespaced with the class name ui. This is to help differentiate between parts of an element, and the element itself. For example a menu may have menu items inside of it. These items are contained as part of the menu definition.

+ +

Combining elements

All UI definitions in semantic are stand-alone, and do not require other components to function. However, components can choose to have optional couplings with other components.

For example you might want to include a badge inside a menu. A label inside of a menu will automatically function as a badge.

+
-

Class names in semantic always use single english words. If a class name is an adjective it is a type or variation of an element. A type is a mutually exclusive change to an element, while a variation can be used together with other variations.

-

Semantic has five different ways UI elements can be defined. As an element, collection, view, module, or behavior.

+

Altering Designs

+

Class names in semantic always use single english words. If a class name is an adjective it is either a type of element or variation of an element. + +

Types

+ +

A type is a mutually exclusive change to an element. It may require slightly different html structures or expect different content.

+ + +
+ +
+ + +

Variation

+ +

A variation alters the design of an element but is not mutually exclusive. Variations can be stacked together, or be used along with altering an element's type.

+ + +

Types of UI

+

Semantic has five different definition types. These are useful patterns for describing re-usable parts of a website.

  • Element - a basic building block of a website, exists alone or in homogenous groups
  • -
  • Colleciton - a group of several elements which are usually found together
  • -
  • Module - an element where its behavior is included as part of its definition
  • -
  • Behavior - a definition of behavior that exists without any physical description
  • -
  • View - a way to present specific website content
  • +
  • Collection - a heterogeneous group of several elements which are usually found together
  • +
  • View - a way to present common website content
  • +
  • Module - an element that also includes behavior as part of its definition
  • +
  • Behavior - a set of behaviors not specfically tied to a design
\ No newline at end of file diff --git a/node/src/files/components/semantic/collections/menu.css b/node/src/files/components/semantic/collections/menu.css index 340fb1c84..abfcebd82 100644 --- a/node/src/files/components/semantic/collections/menu.css +++ b/node/src/files/components/semantic/collections/menu.css @@ -178,6 +178,10 @@ /*-------------- Form Content ---------------*/ +.ui.menu .input, +.ui.menu .input input { + width: 100%; +} .ui.menu input { margin: 0.25em 0em; padding-top: 0.55em; @@ -461,6 +465,13 @@ -moz-box-shadow: none; box-shadow: none; } +/* Tiered pointing */ +.ui.pointing.tiered.menu > .menu > .item:after { + display: none; +} +.ui.pointing.tiered.menu > .sub.menu > .item:after { + display: block; +} /*-------------- Colors ---------------*/