jquery-ui-form 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,96 +1,112 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jquery-ui-form (0.1.1)
4
+ jquery-ui-form (0.1.2)
5
5
  jquery-ui-form
6
6
  rails (>= 3.0.0)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- abstract (1.0.0)
12
- actionmailer (3.0.7)
13
- actionpack (= 3.0.7)
14
- mail (~> 2.2.15)
15
- actionpack (3.0.7)
16
- activemodel (= 3.0.7)
17
- activesupport (= 3.0.7)
18
- builder (~> 2.1.2)
19
- erubis (~> 2.6.6)
20
- i18n (~> 0.5.0)
21
- rack (~> 1.2.1)
22
- rack-mount (~> 0.6.14)
23
- rack-test (~> 0.5.7)
24
- tzinfo (~> 0.3.23)
25
- activemodel (3.0.7)
26
- activesupport (= 3.0.7)
27
- builder (~> 2.1.2)
28
- i18n (~> 0.5.0)
29
- activerecord (3.0.7)
30
- activemodel (= 3.0.7)
31
- activesupport (= 3.0.7)
32
- arel (~> 2.0.2)
33
- tzinfo (~> 0.3.23)
34
- activeresource (3.0.7)
35
- activemodel (= 3.0.7)
36
- activesupport (= 3.0.7)
37
- activesupport (3.0.7)
38
- arel (2.0.9)
39
- builder (2.1.2)
40
- diff-lcs (1.1.2)
41
- erubis (2.6.6)
42
- abstract (>= 1.0.0)
11
+ actionmailer (3.1.0)
12
+ actionpack (= 3.1.0)
13
+ mail (~> 2.3.0)
14
+ actionpack (3.1.0)
15
+ activemodel (= 3.1.0)
16
+ activesupport (= 3.1.0)
17
+ builder (~> 3.0.0)
18
+ erubis (~> 2.7.0)
19
+ i18n (~> 0.6)
20
+ rack (~> 1.3.2)
21
+ rack-cache (~> 1.0.3)
22
+ rack-mount (~> 0.8.2)
23
+ rack-test (~> 0.6.1)
24
+ sprockets (~> 2.0.0)
25
+ activemodel (3.1.0)
26
+ activesupport (= 3.1.0)
27
+ bcrypt-ruby (~> 3.0.0)
28
+ builder (~> 3.0.0)
29
+ i18n (~> 0.6)
30
+ activerecord (3.1.0)
31
+ activemodel (= 3.1.0)
32
+ activesupport (= 3.1.0)
33
+ arel (~> 2.2.1)
34
+ tzinfo (~> 0.3.29)
35
+ activeresource (3.1.0)
36
+ activemodel (= 3.1.0)
37
+ activesupport (= 3.1.0)
38
+ activesupport (3.1.0)
39
+ multi_json (~> 1.0)
40
+ arel (2.2.1)
41
+ bcrypt-ruby (3.0.0)
42
+ builder (3.0.0)
43
+ diff-lcs (1.1.3)
44
+ erubis (2.7.0)
43
45
  git (1.2.5)
44
- i18n (0.5.0)
45
- jeweler (1.6.0)
46
- bundler (~> 1.0.0)
46
+ hike (1.2.1)
47
+ i18n (0.6.0)
48
+ jeweler (1.6.4)
49
+ bundler (~> 1.0)
47
50
  git (>= 1.2.5)
48
51
  rake
49
- mail (2.2.19)
50
- activesupport (>= 2.3.6)
52
+ mail (2.3.0)
51
53
  i18n (>= 0.4.0)
52
54
  mime-types (~> 1.16)
53
55
  treetop (~> 1.4.8)
54
56
  mime-types (1.16)
55
- nokogiri (1.4.4)
56
- polyglot (0.3.1)
57
- rack (1.2.2)
58
- rack-mount (0.6.14)
57
+ multi_json (1.0.3)
58
+ nokogiri (1.5.0)
59
+ polyglot (0.3.2)
60
+ rack (1.3.2)
61
+ rack-cache (1.0.3)
62
+ rack (>= 0.4)
63
+ rack-mount (0.8.3)
59
64
  rack (>= 1.0.0)
60
- rack-test (0.5.7)
65
+ rack-ssl (1.3.2)
66
+ rack
67
+ rack-test (0.6.1)
61
68
  rack (>= 1.0)
62
- rails (3.0.7)
63
- actionmailer (= 3.0.7)
64
- actionpack (= 3.0.7)
65
- activerecord (= 3.0.7)
66
- activeresource (= 3.0.7)
67
- activesupport (= 3.0.7)
69
+ rails (3.1.0)
70
+ actionmailer (= 3.1.0)
71
+ actionpack (= 3.1.0)
72
+ activerecord (= 3.1.0)
73
+ activeresource (= 3.1.0)
74
+ activesupport (= 3.1.0)
68
75
  bundler (~> 1.0)
69
- railties (= 3.0.7)
70
- railties (3.0.7)
71
- actionpack (= 3.0.7)
72
- activesupport (= 3.0.7)
76
+ railties (= 3.1.0)
77
+ railties (3.1.0)
78
+ actionpack (= 3.1.0)
79
+ activesupport (= 3.1.0)
80
+ rack-ssl (~> 1.3.2)
73
81
  rake (>= 0.8.7)
74
- thor (~> 0.14.4)
75
- rake (0.8.7)
76
- rcov (0.9.9)
82
+ rdoc (~> 3.4)
83
+ thor (~> 0.14.6)
84
+ rake (0.9.2)
85
+ rcov (0.9.10)
86
+ rdoc (3.9.4)
77
87
  rspec (2.6.0)
78
88
  rspec-core (~> 2.6.0)
79
89
  rspec-expectations (~> 2.6.0)
80
90
  rspec-mocks (~> 2.6.0)
81
- rspec-core (2.6.0)
91
+ rspec-core (2.6.4)
82
92
  rspec-expectations (2.6.0)
83
93
  diff-lcs (~> 1.1.2)
84
94
  rspec-mocks (2.6.0)
85
- rspec-rails (2.6.0)
95
+ rspec-rails (2.6.1)
86
96
  actionpack (~> 3.0)
87
97
  activesupport (~> 3.0)
88
98
  railties (~> 3.0)
89
99
  rspec (~> 2.6.0)
100
+ sprockets (2.0.0)
101
+ hike (~> 1.2)
102
+ rack (~> 1.0)
103
+ tilt (~> 1.1, != 1.3.0)
90
104
  thor (0.14.6)
91
- treetop (1.4.9)
105
+ tilt (1.3.3)
106
+ treetop (1.4.10)
107
+ polyglot
92
108
  polyglot (>= 0.3.1)
93
- tzinfo (0.3.27)
109
+ tzinfo (0.3.29)
94
110
  webrat (0.7.3)
95
111
  nokogiri (>= 1.2.0)
96
112
  rack (>= 1.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jquery-ui-form}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Aivars Akots"]
12
- s.date = %q{2011-05-15}
12
+ s.date = %q{2011-09-02}
13
13
  s.description = %q{jQuery-UI-formbuilder is a Ruby on Rails FormBuilder DSL powered by jQuery-UI}
14
14
  s.email = %q{aivars.akots@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -26,9 +26,9 @@ Gem::Specification.new do |s|
26
26
  "VERSION",
27
27
  "jquery-ui-form.gemspec",
28
28
  "lib/generators/jquery_ui_form/install/install_generator.rb",
29
- "lib/generators/templates/jquery-ui-form.js",
29
+ "lib/generators/templates/jquery-ui-form.css.scss",
30
+ "lib/generators/templates/jquery-ui-form.js.coffee",
30
31
  "lib/generators/templates/jquery-ui-form.rb",
31
- "lib/generators/templates/jquery-ui-form.sass",
32
32
  "lib/jquery-ui-form.rb",
33
33
  "lib/jquery_ui_form.rb",
34
34
  "lib/jquery_ui_form/form_builder.rb",
@@ -84,11 +84,10 @@ Gem::Specification.new do |s|
84
84
  s.homepage = %q{http://github.com/aivarsak/jquery-ui-form}
85
85
  s.licenses = ["MIT"]
86
86
  s.require_paths = ["lib"]
87
- s.rubygems_version = %q{1.3.7}
87
+ s.rubygems_version = %q{1.4.2}
88
88
  s.summary = %q{jQuery-UI-formbuilder is a Ruby on Rails FormBuilder DSL powered by jQuery-UI}
89
89
 
90
90
  if s.respond_to? :specification_version then
91
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
92
91
  s.specification_version = 3
93
92
 
94
93
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -5,14 +5,14 @@ module JqueryUiForm
5
5
  # $ rails generate formtastic:install
6
6
  #
7
7
  class InstallGenerator < Rails::Generators::Base
8
- desc "Copies jquery-ui-form.sass to app/stylesheets and jquery-ui-form.js to public/javascirpts and a config initializer to config/initializers/jquery-ui-form.rb"
8
+ desc "Copies jquery-ui-form.css.scss to app/assets/stylesheets and jquery-ui-form.js.coffee to app/assets/javascirpts and a config initializer to config/initializers/jquery-ui-form.rb"
9
9
 
10
10
  source_root File.expand_path('../../../templates', __FILE__)
11
11
 
12
12
  def copy_files
13
13
  template 'jquery-ui-form.rb', 'config/initializers/jquery-ui-form.rb'
14
- template 'jquery-ui-form.sass', 'app/stylesheets/jquery-ui-form.sass'
15
- template 'jquery-ui-form.js', 'public/javascripts/jquery-ui-form.js'
14
+ template 'jquery-ui-form.css.scss', 'app/assets/stylesheets/jquery-ui-form.css.scss'
15
+ template 'jquery-ui-form.js', 'app/assets/javascripts/jquery-ui-form.js.coffee'
16
16
  end
17
17
  end
18
18
  end
@@ -0,0 +1,156 @@
1
+ .ui-base-error-messages {
2
+ @extend .ui-state-error;
3
+ @extend .ui-corner-all;
4
+ margin: 0px 0px 5px 0px;
5
+ padding: 3px 5px 3px 5px;
6
+ .ui-icon {
7
+ float: left;
8
+ margin-right: 3px;
9
+ }
10
+ p {
11
+ padding-bottom: 2px;
12
+ }
13
+ }
14
+ .ui-form {
15
+ @extend .ui-widget-content;
16
+ @extend .ui-corner-all;
17
+ .ui-fieldset {
18
+ @extend .ui-widget-content;
19
+ @extend .ui-corner-all;
20
+ clear: both;
21
+ padding: 10px;
22
+ margin: 10px;
23
+ .ui-fieldset {
24
+ padding: 5px;
25
+ margin-left: -5px;
26
+ }
27
+ legend {
28
+ padding: 3px 10px 3px 10px;
29
+ margin-left: 10px;
30
+ }
31
+ }
32
+ .ui-form-buttons {
33
+ display: block;
34
+ clear: both;
35
+ padding: 5px 25px 5px 124px;
36
+ text-align: left;
37
+ }
38
+ .ui-button.ui-state-error {
39
+ float: right;
40
+ }
41
+ .ui-form-column {
42
+ display: block;
43
+ float: left;
44
+ clear: both;
45
+ margin-bottom: 5px;
46
+ position: relative;
47
+ width: 335px;
48
+ &.ui-input-error input, &.ui-input-error textarea, &.ui-input-error select {
49
+ //Taken from .ui-state-error-text
50
+ border-color: #cd0a0a;
51
+ }
52
+ .ui-form-column {
53
+ float: left;
54
+ clear: none;
55
+ }
56
+ }
57
+ .ui-form-row {
58
+ float: left;
59
+ clear: both;
60
+ .ui-form-column {
61
+ float: left;
62
+ clear: none;
63
+ }
64
+ }
65
+ .ui-form-column.ui-check_boxes-input {
66
+ .ui-form-column {
67
+ float: left;
68
+ clear: none;
69
+ }
70
+ }
71
+ .ui-form-row.ui-radio-input, .ui-form-column.ui-radio-input, .ui-form-row.ui-check_boxes-input, .ui-form-column.ui-check_boxes-input {
72
+ clear: both;
73
+ width: auto;
74
+ }
75
+ .ui-form-row.ui-check_boxes-input, .ui-form-column.ui-check_boxes-input {
76
+ clear: both;
77
+ width: auto;
78
+ }
79
+ .ui-form-column.ui-select-input, .ui-form-row.ui-select-input{
80
+ height: 24px;
81
+ }
82
+ .ui-form-column.ui-hidden-input, .ui-form-row.ui-hidden-input {
83
+ display: none;
84
+ }
85
+ .ui-fieldset.ui-buttonset {
86
+ width: 100%;
87
+ }
88
+ .ui-input-error-message {
89
+ font-size: 80%;
90
+ @extend .ui-state-error-text;
91
+ text-align: right;
92
+ font-style: italic;
93
+ }
94
+ .ui-check_boxes-input .ui-input-error-message, .ui-radio-input .ui-input-error-message {
95
+ margin-top: -7px;
96
+ }
97
+ .ui-input-hint {
98
+ position: absolute;
99
+ top: 5px;
100
+ left: 129px;
101
+ font-size: 100%;
102
+ opacity: .40;
103
+ filter: Alpha(Opacity = 40);
104
+ }
105
+ .ui-check_boxes-input .ui-input-hint, .ui-radio-input .ui-input-hint {
106
+ top: 27px;
107
+ left: 21px;
108
+ }
109
+ .ui-check_boxes-input .ui-buttonset .ui-input-hint {
110
+ position: relative;
111
+ top: -4px;
112
+ }
113
+ .ui-boolean-input .ui-input-hint {
114
+ left: 139px;
115
+ }
116
+ .ui-file-input .ui-input-hint {
117
+ position: relative;
118
+ left: 126px;
119
+ }
120
+ label {
121
+ width: 120px;
122
+ float: left;
123
+ text-align: right;
124
+ margin-right: 5px;
125
+ margin-top: 4px;
126
+ }
127
+ input.ui-string-input, input.ui-password-input, input.ui-email-input, input.ui-phone-input, input.ui-url-input, input.ui-search-input, input.ui-number-input, input.ui-file-input, input.ui-range-input, input.ui-date-input, input.ui-datetime-input, input.ui-time-input {
128
+ width: 200px;
129
+ padding: 2px;
130
+ margin: 0px;
131
+ line-height: 1.5em;
132
+ }
133
+ input.ui-date-input {
134
+ width: 100px;
135
+ }
136
+ input.ui-range-input {
137
+ margin-top: 2px;
138
+ padding-bottom: 0px;
139
+ }
140
+ input.ui-search-input {
141
+ margin-top: 3px;
142
+ }
143
+ textarea.ui-text-input {
144
+ width: 200px;
145
+ padding: 2px;
146
+ margin: 0px;
147
+ }
148
+ input.ui-boolean-input, input.ui-radio-input {
149
+ margin: 7px 0px 5px 0px;
150
+ }
151
+ select.ui-select-input {
152
+ max-width: 200px;
153
+ margin: 2px 0px 0px 0px;
154
+ height: 22px;
155
+ }
156
+ }
@@ -0,0 +1,14 @@
1
+ $(document).ready ->
2
+ $(".ui-button").each ->
3
+ $(this).button
4
+ icons:
5
+ primary: $(this).attr("data-icon")
6
+
7
+ $("input[type='date'].ui-date-input, input[type='text'].ui-date-input" ).each ->
8
+ options = {}
9
+ if($(this).attr('data-calendar') != "")
10
+ options = $.parseJSON($(this).attr('data-calendar'))
11
+ $(this).datepicker(options)
12
+
13
+ $(".ui-radio-input fieldset.to-buttonset").buttonset()
14
+ $(".ui-check_boxes-input fieldset.to-buttonset").buttonset()
@@ -14,7 +14,7 @@ module JqueryUiForm
14
14
  options[:class] ||= ""
15
15
  options[:class] << " ui-#{options[:as]}-input"
16
16
  options[:class] << " ui-input-error" if has_errors?(method)
17
- if use_autofocus && (!self.autofocus)
17
+ if use_autofocus && (!self.autofocus) && options[:as] != :hidden
18
18
  options[:autofocus] = true
19
19
  self.autofocus = true
20
20
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-ui-form
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
5
- prerelease: false
4
+ hash: 29
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aivars Akots
@@ -15,13 +15,13 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-15 00:00:00 +03:00
18
+ date: 2011-09-02 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- type: :runtime
23
22
  prerelease: false
24
23
  name: jquery-ui-form
24
+ type: :runtime
25
25
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
@@ -33,9 +33,9 @@ dependencies:
33
33
  version: "0"
34
34
  requirement: *id001
35
35
  - !ruby/object:Gem::Dependency
36
- type: :development
37
36
  prerelease: false
38
37
  name: rspec
38
+ type: :development
39
39
  version_requirements: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
@@ -48,9 +48,9 @@ dependencies:
48
48
  version: "2.5"
49
49
  requirement: *id002
50
50
  - !ruby/object:Gem::Dependency
51
- type: :development
52
51
  prerelease: false
53
52
  name: bundler
53
+ type: :development
54
54
  version_requirements: &id003 !ruby/object:Gem::Requirement
55
55
  none: false
56
56
  requirements:
@@ -64,9 +64,9 @@ dependencies:
64
64
  version: 1.0.0
65
65
  requirement: *id003
66
66
  - !ruby/object:Gem::Dependency
67
- type: :development
68
67
  prerelease: false
69
68
  name: jeweler
69
+ type: :development
70
70
  version_requirements: &id004 !ruby/object:Gem::Requirement
71
71
  none: false
72
72
  requirements:
@@ -80,9 +80,9 @@ dependencies:
80
80
  version: 1.5.2
81
81
  requirement: *id004
82
82
  - !ruby/object:Gem::Dependency
83
- type: :development
84
83
  prerelease: false
85
84
  name: rcov
85
+ type: :development
86
86
  version_requirements: &id005 !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
@@ -94,9 +94,9 @@ dependencies:
94
94
  version: "0"
95
95
  requirement: *id005
96
96
  - !ruby/object:Gem::Dependency
97
- type: :development
98
97
  prerelease: false
99
98
  name: rails
99
+ type: :development
100
100
  version_requirements: &id006 !ruby/object:Gem::Requirement
101
101
  none: false
102
102
  requirements:
@@ -109,9 +109,9 @@ dependencies:
109
109
  version: "3.0"
110
110
  requirement: *id006
111
111
  - !ruby/object:Gem::Dependency
112
- type: :development
113
112
  prerelease: false
114
113
  name: rspec-rails
114
+ type: :development
115
115
  version_requirements: &id007 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
@@ -124,9 +124,9 @@ dependencies:
124
124
  version: "2.5"
125
125
  requirement: *id007
126
126
  - !ruby/object:Gem::Dependency
127
- type: :development
128
127
  prerelease: false
129
128
  name: webrat
129
+ type: :development
130
130
  version_requirements: &id008 !ruby/object:Gem::Requirement
131
131
  none: false
132
132
  requirements:
@@ -139,9 +139,9 @@ dependencies:
139
139
  version: "0.7"
140
140
  requirement: *id008
141
141
  - !ruby/object:Gem::Dependency
142
- type: :runtime
143
142
  prerelease: false
144
143
  name: rails
144
+ type: :runtime
145
145
  version_requirements: &id009 !ruby/object:Gem::Requirement
146
146
  none: false
147
147
  requirements:
@@ -173,9 +173,9 @@ files:
173
173
  - VERSION
174
174
  - jquery-ui-form.gemspec
175
175
  - lib/generators/jquery_ui_form/install/install_generator.rb
176
- - lib/generators/templates/jquery-ui-form.js
176
+ - lib/generators/templates/jquery-ui-form.css.scss
177
+ - lib/generators/templates/jquery-ui-form.js.coffee
177
178
  - lib/generators/templates/jquery-ui-form.rb
178
- - lib/generators/templates/jquery-ui-form.sass
179
179
  - lib/jquery-ui-form.rb
180
180
  - lib/jquery_ui_form.rb
181
181
  - lib/jquery_ui_form/form_builder.rb
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  requirements: []
258
258
 
259
259
  rubyforge_project:
260
- rubygems_version: 1.3.7
260
+ rubygems_version: 1.4.2
261
261
  signing_key:
262
262
  specification_version: 3
263
263
  summary: jQuery-UI-formbuilder is a Ruby on Rails FormBuilder DSL powered by jQuery-UI
@@ -1,46 +0,0 @@
1
- $(function(){
2
-
3
- // $('input:enabled:visible:first').focus().next(".ui-input-hint").hide();
4
-
5
- $(".ui-button").each(function(){
6
- $(this).button({
7
- icons: {
8
- primary: $(this).attr("data-icon")
9
- }
10
- });
11
- });
12
- $(".ui-radio-input fieldset.to-buttonset").buttonset();
13
- $(".ui-check_boxes-input fieldset.to-buttonset").buttonset();
14
- $("input[type='date'].ui-date-input, input[type='text'].ui-date-input" ).each(function(){
15
- var options = {};
16
- if($(this).attr('data-calendar') != "") {
17
- options = $.parseJSON($(this).attr('data-calendar'));
18
- }
19
- $(this).datepicker(options);
20
- });
21
-
22
- $('input, textarea').live("focus", function(){
23
- if ($(this).attr("type") == "checkbox" || $(this).attr("type") == "radio") {
24
- return;
25
- }
26
- $(this).next(".ui-input-hint").hide();
27
- });
28
- $('input, textarea').live("blur", function(){
29
- if ($(this).val().length == 0){
30
- $(this).next(".ui-input-hint").show();
31
- }
32
- });
33
- jquery_ui_form_events();
34
- });
35
-
36
- function jquery_ui_form_events() {
37
-
38
- $('input, textarea').each(function(){
39
- if ($(this).attr("type") == "checkbox" || $(this).attr("type") == "radio") {
40
- return;
41
- }
42
- if ($(this).val().length > 0){
43
- $(this).next(".ui-input-hint").hide();
44
- }
45
- });
46
- }
@@ -1,121 +0,0 @@
1
- .ui-base-error-messages
2
- @extend .ui-state-error
3
- @extend .ui-corner-all
4
- :margin 0px 0px 5px 0px
5
- :padding 3px 5px 3px 5px
6
- .ui-icon
7
- :float left
8
- :margin-right 3px
9
- p
10
- :padding-bottom 2px
11
- .ui-form
12
- @extend .ui-widget-content
13
- @extend .ui-corner-all
14
- .ui-fieldset
15
- @extend .ui-widget-content
16
- @extend .ui-corner-all
17
- clear: both
18
- padding: 10px
19
- margin: 10px
20
- .ui-fieldset
21
- padding: 5px
22
- margin-left: -5px
23
- legend
24
- padding: 3px 10px 3px 10px
25
- margin-left: 10px
26
- .ui-form-buttons
27
- display: block
28
- clear: both
29
- padding: 5px 25px 5px 124px
30
- text-align: left
31
- .ui-button.ui-state-error
32
- float: right
33
- .ui-form-column
34
- display: block
35
- float: left
36
- clear: both
37
- margin-bottom: 5px
38
- position: relative
39
- width: 335px
40
- &.ui-input-error input, &.ui-input-error textarea, &.ui-input-error select
41
- //Taken from .ui-state-error-text
42
- border-color: #cd0a0a
43
- .ui-form-column
44
- float: left
45
- clear: none
46
- .ui-form-row
47
- float: left
48
- clear: both
49
- .ui-form-column
50
- float: left
51
- clear: none
52
- .ui-form-column.ui-check_boxes-input
53
- .ui-form-column
54
- float: left
55
- clear: none
56
- .ui-form-row.ui-radio-input, .ui-form-column.ui-radio-input, .ui-form-row.ui-check_boxes-input, .ui-form-column.ui-check_boxes-input
57
- clear: both
58
- width: auto
59
- .ui-form-row.ui-check_boxes-input, .ui-form-column.ui-check_boxes-input
60
- clear: both
61
- width: auto
62
- .ui-form-column.ui-select-input, .ui-form-row.ui-select-input
63
- height: 24px
64
- .ui-form-column.ui-hidden-input, .ui-form-row.ui-hidden-input
65
- display: none
66
- .ui-fieldset.ui-buttonset
67
- width: 100%
68
-
69
- .ui-input-error-message
70
- font-size: 80%
71
- @extend .ui-state-error-text
72
- text-align: right
73
- font-style: italic
74
- .ui-check_boxes-input .ui-input-error-message, .ui-radio-input .ui-input-error-message
75
- margin-top: -7px
76
- .ui-input-hint
77
- position: absolute
78
- top: 5px
79
- left: 129px
80
- font-size: 100%
81
- opacity: .40
82
- filter: Alpha(Opacity = 40)
83
- .ui-check_boxes-input .ui-input-hint, .ui-radio-input .ui-input-hint
84
- top: 27px
85
- left: 21px
86
- .ui-check_boxes-input .ui-buttonset .ui-input-hint
87
- position: relative
88
- top: -4px
89
- .ui-boolean-input .ui-input-hint
90
- left: 139px
91
- .ui-file-input .ui-input-hint
92
- position: relative
93
- left: 126px
94
- label
95
- width: 120px
96
- float: left
97
- text-align: right
98
- margin-right: 5px
99
- margin-top: 4px
100
- input.ui-string-input, input.ui-password-input, input.ui-email-input, input.ui-phone-input, input.ui-url-input, input.ui-search-input, input.ui-number-input, input.ui-file-input, input.ui-range-input, input.ui-date-input, input.ui-datetime-input, input.ui-time-input
101
- width: 200px
102
- padding: 2px
103
- margin: 0px
104
- line-height: 1.5em
105
- input.ui-date-input
106
- width: 100px
107
- input.ui-range-input
108
- margin-top: 2px
109
- padding-bottom: 0px
110
- input.ui-search-input
111
- margin-top: 3px
112
- textarea.ui-text-input
113
- width: 200px
114
- padding: 2px
115
- margin: 0px
116
- input.ui-boolean-input, input.ui-radio-input
117
- margin: 7px 0px 5px 0px
118
- select.ui-select-input
119
- max-width: 200px
120
- margin: 2px 0px 0px 0px
121
- height: 22px