From a2d5688e9e06f0688550d77fb36e75b3756912e5 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 25 Sep 2013 12:19:44 -0400 Subject: [PATCH] updates formatting of form validation docs, modifies definition table to not use outer border --- build/less/collections/table.less | 6 ----- build/uncompressed/collections/table.css | 6 ----- node/src/documents/modules/form.html.eco | 22 +++++++++++-------- node/src/documents/modules/shape.html.eco | 7 +----- node/src/documents/modules/sidebar.html.eco | 6 ++--- .../files/build/less/collections/table.less | 6 ----- .../build/uncompressed/collections/table.css | 6 ----- src/collections/table.less | 6 ----- 8 files changed, 17 insertions(+), 48 deletions(-) diff --git a/build/less/collections/table.less b/build/less/collections/table.less index fbc9d29af..6963047ac 100644 --- a/build/less/collections/table.less +++ b/build/less/collections/table.less @@ -459,12 +459,6 @@ Definition ---------------*/ -.ui.definition.table { - border: 1px solid rgba(0, 0, 0, 0.1); -} -.ui.definition.table tr { - border-top: 1px solid rgba(0, 0, 0 ,0.1); -} .ui.definition.table td:first-child { font-weight: bold; } diff --git a/build/uncompressed/collections/table.css b/build/uncompressed/collections/table.css index 20bf43fa9..64cefe0c1 100644 --- a/build/uncompressed/collections/table.css +++ b/build/uncompressed/collections/table.css @@ -409,12 +409,6 @@ /*-------------- Definition ---------------*/ -.ui.definition.table { - border: 1px solid rgba(0, 0, 0, 0.1); -} -.ui.definition.table tr { - border-top: 1px solid rgba(0, 0, 0, 0.1); -} .ui.definition.table td:first-child { font-weight: bold; } diff --git a/node/src/documents/modules/form.html.eco b/node/src/documents/modules/form.html.eco index 85b286b7d..0098feece 100755 --- a/node/src/documents/modules/form.html.eco +++ b/node/src/documents/modules/form.html.eco @@ -253,7 +253,7 @@ type : 'UI Behavior' on submit - Event used to trigger validation. Can be either submit, blur or change. + Event used to trigger validation. Can be either submit, blur or change. inline @@ -265,7 +265,7 @@ type : 'UI Behavior' scale - Named transition to use when animating menu in and out. Fade and slide down are available without including ui transitions + Named transition to use when animating validation errors. Fade and slide down are available without including ui transitions duration @@ -275,11 +275,13 @@ type : 'UI Behavior' +
+

Validation Rules
Validation rules are a set of conditions required to validate a field

-
Validation rules are found in settings.rules
+
Validation rules are found in settings.rules, to add new global validation rules, modify $.fn.form.settings.rules to include your function.
@@ -335,13 +337,14 @@ type : 'UI Behavior'
Name
+

Callbacks
Callback settings specify a function to occur after a specific behavior.

- +
@@ -371,14 +374,14 @@ type : 'UI Behavior'
Setting Context
-
+

Templates
Templates are used to construct elements

-
Templates are found in settings.template
- +
Templates are found in settings.template, to modify templates across all forms, modify $.fn.form.settings.templates to include your function. They must return html.
+
@@ -398,13 +401,13 @@ type : 'UI Behavior'
Template Arguments
- +

DOM Settings
DOM settings specify how this module should interface with the DOM

- +
@@ -463,6 +466,7 @@ type : 'UI Behavior'
Setting Default
+

Debug Settings diff --git a/node/src/documents/modules/shape.html.eco b/node/src/documents/modules/shape.html.eco index 9ef97c889..d82621d05 100755 --- a/node/src/documents/modules/shape.html.eco +++ b/node/src/documents/modules/shape.html.eco @@ -45,7 +45,6 @@ type : 'UI Module'

Examples

-

Interactive

@@ -78,6 +77,7 @@ type : 'UI Module'
Back
+

Shape with Content

@@ -227,11 +227,6 @@ type : 'UI Module' Shape Settings - - useCSS - True - Not currently supported. Will allow for use of javascript requestAnimationFrame transitions instead of css3 transitions. - duration 1000ms diff --git a/node/src/documents/modules/sidebar.html.eco b/node/src/documents/modules/sidebar.html.eco index 0f1291c51..c05b5e7a1 100755 --- a/node/src/documents/modules/sidebar.html.eco +++ b/node/src/documents/modules/sidebar.html.eco @@ -65,8 +65,8 @@ type : 'UI Module'
Fixed Position Snafoos
Fixed position content may have issues changing it's position when a sidebar appears. There are two solutions -
    -
  • Specify your fixed content without using the css left property +
      +
    • Specify your fixed content without using the css left or top properties.
    • Apply styles on the fixed element to adjust its position when the sidebar appears. You can do this by descending from the body tag which receives the class (direction) pushed when the view is moved.
@@ -211,7 +211,7 @@ type : 'UI Module'
-

Behavior

+

Behavior

All the following behaviors can be called using the syntax $('.foo').sidebar('behavior name') diff --git a/node/src/files/build/less/collections/table.less b/node/src/files/build/less/collections/table.less index fbc9d29af..6963047ac 100644 --- a/node/src/files/build/less/collections/table.less +++ b/node/src/files/build/less/collections/table.less @@ -459,12 +459,6 @@ Definition ---------------*/ -.ui.definition.table { - border: 1px solid rgba(0, 0, 0, 0.1); -} -.ui.definition.table tr { - border-top: 1px solid rgba(0, 0, 0 ,0.1); -} .ui.definition.table td:first-child { font-weight: bold; } diff --git a/node/src/files/build/uncompressed/collections/table.css b/node/src/files/build/uncompressed/collections/table.css index 20bf43fa9..64cefe0c1 100644 --- a/node/src/files/build/uncompressed/collections/table.css +++ b/node/src/files/build/uncompressed/collections/table.css @@ -409,12 +409,6 @@ /*-------------- Definition ---------------*/ -.ui.definition.table { - border: 1px solid rgba(0, 0, 0, 0.1); -} -.ui.definition.table tr { - border-top: 1px solid rgba(0, 0, 0, 0.1); -} .ui.definition.table td:first-child { font-weight: bold; } diff --git a/src/collections/table.less b/src/collections/table.less index fbc9d29af..6963047ac 100755 --- a/src/collections/table.less +++ b/src/collections/table.less @@ -459,12 +459,6 @@ Definition ---------------*/ -.ui.definition.table { - border: 1px solid rgba(0, 0, 0, 0.1); -} -.ui.definition.table tr { - border-top: 1px solid rgba(0, 0, 0 ,0.1); -} .ui.definition.table td:first-child { font-weight: bold; }