admin_data 1.0.22 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/History.txt +23 -16
  2. data/README.md +1 -1
  3. data/Rakefile +2 -2
  4. data/app/controllers/admin_data/application_controller.rb +111 -0
  5. data/app/controllers/admin_data/crud_controller.rb +100 -0
  6. data/app/controllers/admin_data/feed_controller.rb +38 -16
  7. data/app/controllers/admin_data/home_controller.rb +11 -0
  8. data/app/controllers/admin_data/migration_controller.rb +12 -12
  9. data/app/controllers/admin_data/public_controller.rb +29 -19
  10. data/app/controllers/admin_data/search_controller.rb +99 -103
  11. data/app/controllers/admin_data/table_structure_controller.rb +25 -0
  12. data/app/helpers/admin_data/application_helper.rb +287 -0
  13. data/app/views/admin_data/crud/association/_association_info.html.erb +11 -0
  14. data/app/views/admin_data/crud/association/_belongs_to_info.html.erb +7 -0
  15. data/app/views/admin_data/{main → crud}/association/_habtm_info.html.erb +3 -3
  16. data/app/views/admin_data/{main → crud}/association/_has_many_info.html.erb +3 -3
  17. data/app/views/admin_data/crud/association/_has_one_info.html.erb +6 -0
  18. data/app/views/admin_data/{main → crud}/edit.html.erb +9 -9
  19. data/app/views/admin_data/{main → crud}/misc/_form.html.erb +6 -6
  20. data/app/views/admin_data/{main → crud}/misc/_modify_record.html.erb +4 -4
  21. data/app/views/admin_data/{main → crud}/new.html.erb +7 -7
  22. data/app/views/admin_data/{main → crud}/show.html.erb +10 -10
  23. data/app/views/admin_data/{main → home}/index.html.erb +2 -2
  24. data/app/views/admin_data/migration/index.html.erb +3 -3
  25. data/app/views/admin_data/search/_search_base.html.erb +5 -5
  26. data/app/views/admin_data/search/quick_search.html.erb +4 -4
  27. data/app/views/admin_data/search/search/_listing.html.erb +11 -9
  28. data/app/views/admin_data/search/search/_sortby.html.erb +4 -3
  29. data/app/views/admin_data/search/search/_title.html.erb +7 -7
  30. data/app/views/admin_data/shared/_breadcrum.html.erb +11 -5
  31. data/app/views/admin_data/shared/_header.html.erb +6 -6
  32. data/app/views/admin_data/shared/_secondary_navigation.html.erb +13 -14
  33. data/app/views/admin_data/{main/table_structure.html.erb → table_structure/index.html.erb} +11 -11
  34. data/app/views/layouts/admin_data.html.erb +15 -15
  35. data/config/routes.rb +3 -3
  36. data/lib/admin_data.rb +29 -6
  37. data/lib/admin_data/active_record_util.rb +38 -6
  38. data/lib/admin_data/configuration.rb +113 -0
  39. data/lib/admin_data/deprecation.rb +31 -0
  40. data/lib/admin_data/railtie.rb +2 -7
  41. data/lib/admin_data/search.rb +1 -1
  42. data/lib/admin_data/util.rb +74 -161
  43. data/lib/admin_data/version.rb +1 -1
  44. data/test/rails_root/app/controllers/application_controller.rb +3 -0
  45. data/test/rails_root/app/helpers/application_helper.rb +5 -0
  46. data/test/rails_root/app/models/city.rb +22 -0
  47. data/test/rails_root/app/models/club.rb +3 -0
  48. data/test/rails_root/app/models/newspaper.rb +4 -0
  49. data/test/rails_root/app/models/phone_number.rb +3 -0
  50. data/test/rails_root/app/models/user.rb +17 -0
  51. data/test/rails_root/app/models/website.rb +3 -0
  52. data/test/rails_root/config/application.rb +42 -0
  53. data/test/rails_root/config/boot.rb +13 -0
  54. data/test/rails_root/config/environment.rb +5 -0
  55. data/test/rails_root/config/environments/development.rb +22 -0
  56. data/test/rails_root/config/environments/production.rb +49 -0
  57. data/test/rails_root/config/environments/test.rb +35 -0
  58. data/test/rails_root/config/initializers/admin_data.rb +22 -0
  59. data/test/rails_root/config/initializers/backtrace_silencers.rb +7 -0
  60. data/test/rails_root/config/initializers/empty_spaces_to_nil.rb +10 -0
  61. data/test/rails_root/config/initializers/inflections.rb +10 -0
  62. data/test/rails_root/config/initializers/mime_types.rb +5 -0
  63. data/test/rails_root/config/initializers/secret_token.rb +7 -0
  64. data/test/rails_root/config/initializers/session_store.rb +8 -0
  65. data/test/rails_root/config/routes.rb +9 -0
  66. data/test/rails_root/db/migrate/20091030202259_create_users.rb +55 -0
  67. data/test/rails_root/db/schema.rb +63 -0
  68. data/test/rails_root/db/seeds.rb +40 -0
  69. data/test/rails_root/features/step_definitions/advance_search_steps.rb +13 -0
  70. data/test/rails_root/features/step_definitions/app_steps.rb +40 -0
  71. data/test/rails_root/features/step_definitions/async.rb +18 -0
  72. data/test/rails_root/features/step_definitions/crud_show_steps.rb +37 -0
  73. data/test/rails_root/features/step_definitions/feed_steps.rb +3 -0
  74. data/test/rails_root/features/step_definitions/quick_search_steps.rb +65 -0
  75. data/test/rails_root/features/step_definitions/util.rb +86 -0
  76. data/test/rails_root/features/step_definitions/web_steps.rb +219 -0
  77. data/test/rails_root/features/support/env.rb +68 -0
  78. data/test/rails_root/features/support/paths.rb +33 -0
  79. data/test/rails_root/test/factories.rb +30 -0
  80. data/test/rails_root/test/performance/browsing_test.rb +9 -0
  81. data/test/rails_root/test/test_helper.rb +13 -0
  82. metadata +100 -49
  83. data/app/controllers/admin_data/base_controller.rb +0 -112
  84. data/app/controllers/admin_data/main_controller.rb +0 -141
  85. data/app/views/admin_data/main/association/_association_info.html.erb +0 -11
  86. data/app/views/admin_data/main/association/_belongs_to_info.html.erb +0 -7
  87. data/app/views/admin_data/main/association/_has_one_info.html.erb +0 -6
  88. data/lib/admin_data/chelper.rb +0 -37
  89. data/lib/admin_data/helpers.rb +0 -271
  90. data/lib/admin_data/settings.rb +0 -67
  91. data/lib/css/base.css +0 -1108
  92. data/lib/css/vendor/jquery-ui-1.7.2.custom.css +0 -406
  93. data/lib/js/advance_search/act_on_result.js +0 -45
  94. data/lib/js/advance_search/advance_search.js +0 -83
  95. data/lib/js/advance_search/advance_search_structure.js +0 -79
  96. data/lib/js/advance_search/ajaxify_advance_search.js +0 -28
  97. data/lib/js/advance_search/build_first_row.js +0 -8
  98. data/lib/js/advance_search/event_bindings.js +0 -76
  99. data/lib/js/advance_search/global_ajax_setting.js +0 -10
  100. data/lib/js/advance_search/trigger_submit_on_domready.js +0 -6
  101. data/lib/js/misc/drop_down_change.js +0 -8
  102. data/lib/js/misc/js_util.js +0 -58
  103. data/lib/js/misc/quick_search_input_focus.js +0 -6
  104. data/lib/js/test/act_on_result.js +0 -120
  105. data/lib/js/test/advance_search.js +0 -80
  106. data/lib/js/test/ajaxify_advance_search.js +0 -29
  107. data/lib/js/test/build_first_row.js +0 -10
  108. data/lib/js/test/event_bindings.js +0 -100
  109. data/lib/js/vendor/jack.js +0 -903
  110. data/lib/js/vendor/jquery-1.4.2.js +0 -6240
  111. data/lib/js/vendor/jquery-ui-1.7.2.custom.min.js +0 -298
  112. data/lib/js/vendor/jquery.ba-isjquery.js +0 -21
  113. data/lib/js/vendor/jquery.form.js +0 -814
  114. data/lib/js/vendor/log.js +0 -9
  115. data/lib/js/vendor/qunit.js +0 -1043
  116. data/lib/js/vendor/rails.js +0 -132
@@ -1,11 +0,0 @@
1
- <div class="block rounded">
2
- <h3>Association Information</h3>
3
- <div class='content association_info'>
4
- <% if AdminData::ActiveRecordUtil.association_info_size(klass) %>
5
- <%= render 'admin_data/main/association/belongs_to_info' , :klass => klass, :model => model %>
6
- <%= render 'admin_data/main/association/has_one_info', :klass => klass, :model => model %>
7
- <%= render 'admin_data/main/association/has_many_info' , :klass => klass, :model => model %>
8
- <%= render 'admin_data/main/association/habtm_info' , :klass => klass, :model => model %>
9
- <% end %>
10
- </div>
11
- </div>
@@ -1,7 +0,0 @@
1
- <% if AdminData::ActiveRecordUtil.declared_belongs_to_association_names(klass).any? %>
2
- <p class='belongs_to'>
3
- <strong>belongs_to :</strong>
4
- &nbsp;
5
- <%= admin_data_belongs_to_data(model, klass).html_safe %>
6
- </p>
7
- <% end %>
@@ -1,6 +0,0 @@
1
- <% if AdminData::ActiveRecordUtil.declared_has_one_association_names(klass).any? %>
2
- <p>
3
- <strong>has_one :</strong>
4
- <%= admin_data_has_one(model, klass).html_safe %>
5
- </p>
6
- <% end %>
@@ -1,37 +0,0 @@
1
- module AdminData::Chelper
2
-
3
- def per_page
4
- AdminData::Config.setting[:will_paginate_per_page]
5
- end
6
-
7
- def admin_data_is_allowed_to_view?
8
- return true if Rails.env.development?
9
- AdminData::Config.setting[:is_allowed_to_view].call(self)
10
- end
11
-
12
- def admin_data_is_allowed_to_view_klass?
13
- return true if Rails.env.development? || AdminData::Config.setting[:is_allowed_to_view_klass].blank?
14
- AdminData::Config.setting[:is_allowed_to_view_klass].call(self)
15
- end
16
-
17
- def admin_data_is_allowed_to_update?
18
- return true if Rails.env.development?
19
- AdminData::Config.setting[:is_allowed_to_update].call(self)
20
- end
21
-
22
- def admin_data_is_allowed_to_update_klass?
23
- return true if Rails.env.development?
24
- AdminData::Config.setting[:is_allowed_to_update_klass].call(self)
25
- end
26
-
27
- def admin_data_invalid_record_link(klassu, id, error)
28
- record = klassu.camelize.constantize.send(:find, id)
29
- tmp = admin_data_path(:klass => klasss.underscore, :id => record)
30
- a = []
31
- a << link_to(klasss, tmp, :target => '_blank')
32
- a << id
33
- a << error
34
- a.join(' | ')
35
- end
36
-
37
- end
@@ -1,271 +0,0 @@
1
- module AdminData::Helpers
2
-
3
- def total_records_info(klass)
4
- '(Total ' + pluralize(klass.count, 'record') + ' )'
5
- end
6
-
7
- def search_result_title(total_num_of_children, records)
8
- output = []
9
- if params[:base]
10
- label = params[:base].camelize + ' ID ' + params[:model_id]
11
- output << link_to(label, admin_data_path(:klass => params[:base], :id => params[:model_id]))
12
- output << 'has'
13
- output << pluralize(total_num_of_children, params[:klass])
14
-
15
- elsif !params[:query].blank? || params[:adv_search]
16
- output << 'Search result:'
17
- output << pluralize(records.total_entries, 'record')
18
- output << 'found'
19
-
20
- else
21
- output << 'All '
22
- output << params[:klass].camelize
23
- output << 'records'
24
- end
25
- output.join(' ').html_safe
26
- end
27
-
28
- def admin_data_column_native(klass, column)
29
- klass.send(:columns).select {|r| r.instance_variable_get('@name') == column}.first
30
- end
31
-
32
- def admin_data_invalid_record_link(klassu, id, error)
33
- record = klassu.camelize.constantize.send(:find, id)
34
- tmp = admin_data_path(:klass => klassu, :id => record)
35
- a = []
36
- a << link_to(klassu.camelize, tmp, :target => '_blank')
37
- a << id
38
- a << error
39
- a.join(' | ')
40
- end
41
-
42
- def admin_data_has_one(model, klass)
43
- tmp = AdminData::ActiveRecordUtil.declared_has_one_association_names(klass)
44
- tmp.inject('') do |output, ho|
45
- begin
46
- label = ho
47
- if model.send(ho)
48
- output << link_to(label, admin_data_path(:klass => ho.underscore, :id => model.send(ho)))
49
- else
50
- output << label
51
- end
52
- rescue => e
53
- Rails.logger.debug AdminData::Util.exception_info(e)
54
- end
55
- output
56
- end
57
- end
58
-
59
- def admin_data_has_many_data(model, klass)
60
- array = AdminData::ActiveRecordUtil.declared_has_many_association_names(klass).map do |m|
61
- begin
62
- count = model.send(m.intern).count
63
- label = m.to_s + '(' + count.to_s + ')'
64
- output = label
65
- if count > 0
66
- has_many_klass_name = AdminData::ActiveRecordUtil.klass_for_association_type_and_name(model.class, :has_many, m).name.underscore
67
- output = link_to(label, admin_data_search_path( :klass => has_many_klass_name,
68
- :children => m,
69
- :base => klass.name.underscore,
70
- :model_id => model.id))
71
- end
72
- rescue => e
73
- Rails.logger.debug AdminData::Util.exception_info(e)
74
- end
75
- output
76
- end
77
- array.join(', ')
78
- end
79
-
80
- def admin_data_belongs_to_data(model, klass)
81
- AdminData::ActiveRecordUtil.declared_belongs_to_association_names(klass).map do |assoc_name|
82
- begin
83
- output = assoc_name
84
- if belongs_to_record = model.send(assoc_name)
85
- output = link_to(assoc_name, admin_data_path(:klass => belongs_to_record.class.name.underscore, :id => belongs_to_record.id))
86
- end
87
- rescue => e
88
- Rails.logger.info AdminData::Util.exception_info(e)
89
- end
90
- output
91
- end.join(', ')
92
- end
93
-
94
- def admin_data_habtm_data(model, klass)
95
- AdminData::ActiveRecordUtil.declared_habtm_association_names(klass).map do |assoc_name|
96
- begin
97
- count = model.send(assoc_name.intern).count
98
- label = assoc_name + '(' + count.to_s + ')'
99
- output = label
100
-
101
- if count > 0 then
102
- has_many_klass_name = AdminData::ActiveRecordUtil.klass_for_association_type_and_name(model.class, :has_and_belongs_to_many, assoc_name).name.underscore
103
- output = link_to(label, admin_data_search_path( :klass => has_many_klass_name,
104
- :children => assoc_name,
105
- :base => klass.name.underscore,
106
- :model_id => model.id))
107
- end
108
- rescue => e
109
- Rails.logger.info AdminData::Util.exception_info(e)
110
- end
111
- output
112
- end.join(', ')
113
- end
114
-
115
- def admin_data_habtm_values_for(model, klass)
116
- assoc_klass = AdminData::ActiveRecordUtil.klass_for_association_type_and_name(model, klass)
117
- name = assoc_klass.columns.map(&:name).include?('name') ? :name : assoc_klass.primary_key
118
- model.send(assoc_klass.table_name).map{ |e|
119
- link_to(e.send(name), admin_data_path(:klass => assoc_klass, :id => e.id))
120
- }.join(", ").html_safe
121
- end
122
-
123
- def admin_data_breadcrum(&block)
124
- render(:partial => '/admin_data/shared/breadcrum', :locals => {:data => capture(&block)})
125
- end
126
-
127
- def admin_data_form_field(klass, model, col, f)
128
- html = []
129
- column_value = model.send(col.name)
130
-
131
- if klass.serialized_attributes.has_key?(col.name)
132
- return AdminData::Util.get_serialized_value(html,column_value)
133
- end
134
-
135
- if col.primary
136
- html << model.new_record? ? '(auto)' : model.id
137
-
138
- elsif get_reflection_for_column(klass, col) && AdminData::Config.setting[:drop_down_for_associations]
139
- admin_data_form_field_for_association_records(klass, col, f, html)
140
- else
141
- admin_data_handle_column_type(col, html, model, column_value, f)
142
- end
143
- end
144
-
145
-
146
- def admin_data_form_field_for_association_records(klass, col, f, html)
147
- begin
148
- reflection = get_reflection_for_column(klass, col)
149
-
150
- # in some edge cases following code throws exception. investigating ..
151
- options = reflection.options
152
- if options.keys.include?(:polymorphic) && options.fetch(:polymorphic)
153
- build_text_field(html, f, col)
154
- else
155
- ref_klass = reflection.klass
156
- association_name = ref_klass.columns.map(&:name).include?('name') ? :name : ref_klass.primary_key
157
- all_for_dropdown = ref_klass.all(:order => "#{association_name} asc")
158
- html << f.collection_select(col.name, all_for_dropdown, :id, association_name, :include_blank => true)
159
- end
160
- html.join
161
- rescue Exception => e
162
- Rails.logger.info AdminData::Util.exception_info(e)
163
- 'could not retrieve' # returning nil
164
- end
165
- end
166
-
167
- def admin_data_form_field_for_habtm_records(klass, model, f, html)
168
- begin
169
- html = []
170
- AdminData::ActiveRecordUtil.delcared_habtm_association_names(klass).each do |k|
171
- assoc_klass = AdminData::Util.get_class_name_for_habtm_association(model, k)
172
-
173
- html << "<div class='col_box'>"
174
- html << " <span class='col_name'>#{assoc_klass.table_name}</span>"
175
- html << " <span class='col_type'>[integer]</span>"
176
- html << "</div>"
177
-
178
- order_by = assoc_klass.columns.map(&:name).include?('name') ? :name : assoc_klass.primary_key
179
- all = assoc_klass.all(:order => order_by)
180
- selected = model.send(assoc_klass.table_name).map{|e| e.id}
181
- html << f.collection_select(assoc_klass.table_name, all, :id, order_by,
182
- {:include_blank => false, :selected => selected},
183
- {:multiple => true, :size => (all.count > 10 ? 8 : 4)})
184
- end
185
- html.join
186
- rescue Exception => e
187
- Rails.logger.info AdminData::Util.exception_info(e)
188
- 'could not retrieve' # returning nil
189
- end
190
- end
191
-
192
- def admin_data_handle_column_type(col, html, model, column_value, f)
193
- case col.type
194
- when :text
195
- html << f.text_area(col.name, :rows => 6, :cols => 70)
196
-
197
- when :datetime
198
- if ['created_at', 'updated_at'].include?(col.name)
199
- html << '(auto)'
200
- else
201
- value = params[:action] == 'new' ? Time.now : column_value
202
- year_value = value.year if value
203
- datetime_selects = f.datetime_select(col.name, :include_blank => true)
204
- html << datetime_selects.gsub('type="hidden"', 'type="text" size="4" class="nice-field"')
205
- end
206
-
207
- when :date
208
- value = params[:action] == 'new' ? Time.now : column_value
209
- year_value = value.year if value
210
- date_selects = f.date_select(col.name, :discard_year => true, :include_blank => true)
211
- html << date_selects.gsub('type="hidden"', 'type="text" size="4" class="nice-field"')
212
-
213
- when :time
214
- # time_select method of rails is buggy and is causing problem
215
- # 1 error(s) on assignment of multiparameter attributes
216
- #
217
- # will try again this method with Rails 3
218
- #html << f.time_select(col.name, :include_blank => true, :include_seconds => true)
219
-
220
- when :boolean
221
- html << f.select(col.name, [['True', true], ['False', false]], :include_blank => true)
222
-
223
- else
224
- build_text_field(html, f, col)
225
- end
226
- html.join
227
- end
228
-
229
-
230
- def build_text_field(html, f, col)
231
- options = {:class => 'nice-field'}
232
- if AdminData::Config.setting[:ignore_column_limit]
233
- options[:size] = 60
234
- options[:maxlength] = 255
235
- else
236
- options[:size] = (col && col.limit && col.limit < 60) ? col.limit : 60
237
- options[:maxlength] = col.limit if col.limit
238
- end
239
- html << f.text_field(col.name, options)
240
- html.join
241
- end
242
-
243
- # uses truncate method
244
- # options supports :limit which is applied if the column type is string or text.
245
- # calls the inspect method to convert to a string if the column is serialized.
246
- # TODO rspec test limit option
247
- def admin_data_get_value_for_column(column, model, options = {})
248
- options.reverse_merge!(:limit => 400)
249
-
250
- value = AdminData::Util.custom_value_for_column(column, model)
251
-
252
- if column.type == :datetime
253
- value.strftime('%d-%B-%Y %H:%M:%S %p') unless value.blank?
254
- elsif column.type == :string || column.type == :text
255
- value = value.inspect if model.class.serialized_attributes.keys.include?(column.name)
256
- return value if options[:limit].blank?
257
- begin
258
- truncate(value,:length => options[:limit])
259
- rescue # truncate method failed
260
- '<actual data is not being shown because truncate method failed.>'
261
- end
262
- else
263
- value.inspect
264
- end
265
- end
266
-
267
- def get_reflection_for_column(klass, col)
268
- klass.reflections.values.detect { |reflection| reflection.primary_key_name.to_sym == col.name.to_sym }
269
- end
270
-
271
- end
@@ -1,67 +0,0 @@
1
- class AdminData::Config
2
-
3
- cattr_accessor :setting
4
-
5
- def self.set=(input = {})
6
- valid_keys =
7
- %w(
8
- app_name
9
- adapter_name
10
- find_conditions
11
- plugin_dir
12
- will_paginate_per_page
13
-
14
- is_allowed_to_view
15
- is_allowed_to_view_klass
16
- is_allowed_to_update
17
- is_allowed_to_update_klass
18
-
19
- is_allowed_to_view_feed
20
- feed_authentication_user_id
21
- feed_authentication_password
22
- column_settings
23
- columns_order
24
- use_google_hosting_for_jquery
25
- drop_down_for_associations
26
- ignore_column_limit
27
- ).collect(&:intern)
28
-
29
- extra_keys = input.keys - valid_keys
30
- raise "Following options are not supported. #{extra_keys.inspect}" unless extra_keys.empty?
31
-
32
- self.setting ||= {}
33
- self.setting.merge!(input)
34
-
35
- end
36
-
37
- def self.initialize_defaults
38
- self.setting = {
39
-
40
- :app_name => "admin_data",
41
- # TODO get rid of plugin_dir
42
- :plugin_dir => File.expand_path(File.join(File.dirname(__FILE__), '..', '..')),
43
-
44
- :will_paginate_per_page => 50,
45
-
46
- :is_allowed_to_view => lambda {|controller| return true if Rails.env.development? },
47
-
48
- :is_allowed_to_update => lambda {|controller| return true if Rails.env.development? },
49
-
50
- :is_allowed_to_view_klass => nil,
51
-
52
- :is_allowed_to_update_klass => lambda {|controller| return true },
53
-
54
- :find_conditions => nil,
55
-
56
- :use_google_hosting_for_jquery => true,
57
-
58
- :drop_down_for_associations => true,
59
-
60
- :ignore_column_limit => false,
61
-
62
- :columns_order => nil
63
-
64
- }
65
- end
66
-
67
- end
data/lib/css/base.css DELETED
@@ -1,1108 +0,0 @@
1
- * {
2
- margin: 0;
3
- padding:0
4
- }
5
-
6
- .clear { clear: both; height: 0; }
7
-
8
- h1 { margin: 15px 0; font-size: 22px; font-weight: normal; }
9
- h2 { font-size: 22px; margin: 15px 0; font-weight: normal;}
10
- h3 { font-size: 18px; margin: 10px 0; font-weight: normal;}
11
- h4 { font-size: 16px; margin: 10px 0; font-weight: normal;}
12
- hr {height: 1px; border: 0; }
13
- p { margin: 15px 0;}
14
- a img { border: none; }
15
-
16
- body {
17
- font-size: 15px;
18
- font-family: sans-serif;
19
- background: #fff;
20
- }
21
-
22
- #container {
23
- min-width: 940px;
24
- margin: 0 10px;
25
- background: #B3D8EF;
26
- background: #0f61a1;
27
- background: #e4e4e4;
28
- }
29
-
30
- #header {
31
- padding: 0 20px;
32
- }
33
- #wrapper {
34
- padding: 0 20px;
35
- margin: 0;
36
- }
37
-
38
- #header {
39
- position: relative;
40
- padding-top: 0px;
41
- margin-top: 0px;
42
- margin-bottom: 15px;
43
- margin:0;
44
- background: #ddd;
45
- float: left;
46
- width: 100%;
47
- font-size: 20px;
48
- background-color: #D5E9F6;
49
- }
50
-
51
- #header h1 {
52
- margin: 0;
53
- padding: 10px 0;
54
- font-size: 40px;
55
- float: left;
56
- padding: 15px 45px 15px 10px;
57
- font-style: normal;
58
- font-weight: bold;
59
- text-transform: normal;
60
- letter-spacing: 1px;
61
- line-height: 1.2em;
62
- }
63
-
64
- #header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
65
- text-decoration: none;
66
- font-family: "Helvetica Neue Light","HelveticaNeue-Light","Helvetica Neue",Calibri,Helvetica,Arial;
67
- color: #000;
68
- }
69
-
70
-
71
- #main {
72
- width: 70%;
73
- float: left;
74
- background: #fff;
75
- padding: 0 20px;
76
- }
77
-
78
- .actions-bar {
79
- padding: 10px 1px;
80
- }
81
-
82
- .actions-bar .actions {
83
- float: left;
84
- }
85
-
86
-
87
- .actions-bar .pagination {
88
- float: right;
89
- padding: 1px 0;
90
- }
91
-
92
- #sidebar {
93
- width: 25%;
94
- float: right;
95
- }
96
-
97
- #sidebar h3 {
98
- padding: 10px 15px;
99
- margin: 0;
100
- font-size: 13px;
101
- }
102
-
103
- #sidebar .block {
104
- margin-bottom: 20px;
105
- padding-bottom: 10px;
106
- }
107
-
108
- #sidebar .block .content {
109
- padding: 0 15px;
110
- }
111
-
112
- #sidebar ul.navigation li a:link, #sidebar ul.navigation li a:visited {
113
- display: block;
114
- padding: 10px 15px;
115
- }
116
-
117
- #sidebar .block .sidebar-block, #sidebar .notice {
118
- padding:10px;
119
- }
120
-
121
- #wrapper {
122
- padding-top: 10px;
123
- }
124
-
125
- #main .block {
126
- margin-bottom: 20px;
127
- padding-top: 1px;
128
- }
129
-
130
- #main .block .content .inner {
131
- padding: 0 15px 15px;
132
- }
133
-
134
- #main .main p.first {
135
- margin-top: 0;
136
- }
137
-
138
- #user-navigation {
139
- position: absolute;
140
- top: 0px;
141
- right: 20px;
142
- }
143
-
144
- #main-navigation {
145
- width: 100%;
146
- }
147
-
148
- #user-navigation ul, #main-navigation ul, .secondary-navigation ul, #sidebar ul.navigation {
149
- margin: 0;
150
- padding: 0;
151
- list-style-type: none;
152
- }
153
-
154
- #user-navigation ul li, #main-navigation ul li, .secondary-navigation ul li {
155
- float: left;
156
- }
157
-
158
- #main-navigation ul li {
159
- margin-right: 5px;
160
- }
161
-
162
- #user-navigation ul li {
163
- padding: 5px 10px;
164
- }
165
-
166
- #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
167
- .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
168
- #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
169
- text-decoration: none;
170
- }
171
-
172
- #main-navigation ul li a {
173
- font-size: 15px;
174
- display: block;
175
- padding: 8px 15px;
176
- }
177
-
178
- .secondary-navigation {
179
- font-size: 13px;
180
- border-bottom-width: 10px;
181
- border-bottom-style: solid;
182
- }
183
-
184
- .secondary-navigation ul li a {
185
- display: block;
186
- padding: 10px 15px;
187
- }
188
-
189
- #footer {
190
- padding-bottom: 20px;
191
- }
192
-
193
- /* pagination */
194
-
195
- .pagination a, .pagination span, .pagination em {
196
- padding: 2px 5px;
197
- margin-right: 5px;
198
- display: block;
199
- float: left;
200
- border-style: solid;
201
- border-width: 1px;
202
- }
203
-
204
- .pagination em {
205
- font-weight: bold;
206
- }
207
-
208
- .pagination a {
209
- text-decoration: none;
210
- }
211
-
212
- /* tables */
213
- .table {
214
- width: 100%;
215
- border-collapse: collapse;
216
- margin-bottom: 15px;
217
- }
218
-
219
- .table th {
220
- padding: 10px;
221
- font-weight: bold;
222
- text-align: left;
223
- }
224
-
225
- .table th.first {
226
- width: 30px;
227
- }
228
-
229
- .table th.last {
230
- width: 200px;
231
- }
232
-
233
- .table .checkbox {
234
- margin-left: 10px;
235
- }
236
-
237
- .table td {
238
- padding: 10px;
239
- }
240
-
241
- .table td.last {
242
- text-align: right;
243
- }
244
-
245
- /* forms */
246
-
247
- input.checkbox {
248
- margin: 0;
249
- padding: 0;
250
- }
251
-
252
- .form .group {
253
- margin-bottom: 15px;
254
- }
255
-
256
- .form div.left {
257
- width: 20%;
258
- float: left;
259
- }
260
-
261
- .form div.right {
262
- width: 75%;
263
- float: right;
264
- }
265
-
266
- .form .columns .column {
267
- width: 48%;
268
- }
269
-
270
- .form .columns .left {
271
- float: left;
272
- }
273
-
274
- .form .columns .right {
275
- float: right;
276
- }
277
-
278
- .form label.label, .form input.text_field, .form textarea.text_area {
279
- font-size: 1.2em;
280
- padding: 1px 0;
281
- margin: 0;
282
- }
283
-
284
- .form label.right {
285
- text-align: right;
286
- }
287
-
288
- .form input.checkbox, .form input.radio {
289
- margin-right: 5px;
290
- }
291
-
292
- .form label.checkbox, .form label.radio {
293
- line-height: 1.5em;
294
- }
295
-
296
- .form label.label {
297
- display: block;
298
- padding-bottom: 2px;
299
- font-weight: bold;
300
- }
301
-
302
- .form div.fieldWithErrors label.label {
303
- display: inline;
304
- }
305
-
306
- .form .fieldWithErrors .error {
307
- color: red;
308
- }
309
-
310
- .form input.text_field, .form textarea.text_area {
311
- width: 100%;
312
- border-width: 1px;
313
- border-style: solid;
314
- }
315
-
316
- /* lists */
317
-
318
- ul.list {
319
- margin: 0;
320
- padding: 0;
321
- list-style-type: none;
322
- }
323
-
324
- ul.list li {
325
- clear: left;
326
- padding-bottom: 5px;
327
- }
328
-
329
- ul.list li .left {
330
- float: left;
331
- }
332
-
333
- ul.list li .left .avatar {
334
- width: 50px;
335
- height: 50px;
336
- }
337
-
338
- ul.list li .item {
339
- margin-left: 80px;
340
- }
341
-
342
- ul.list li .item .avatar {
343
- float: left;
344
- margin: 0 5px 5px 0;
345
- width: 30px;
346
- height: 30px;
347
- }
348
-
349
- /* box */
350
-
351
- #box {
352
- width: 500px;
353
- margin: 50px auto;
354
- }
355
-
356
- #box .block {
357
- margin-bottom: 20px;
358
- }
359
-
360
- #box .block h2 {
361
- padding: 10px 15px;
362
- margin: 0;
363
- }
364
-
365
- #box .block .content {
366
- padding: 10px 20px;
367
- }
368
-
369
-
370
- /*
371
-
372
- Drastic Dark
373
- by Juan Maria Martinez Arce
374
- juan[at]insignia4u.com
375
-
376
- light grey: #ededec
377
- medium grey: #36393d
378
- dark grey: #1a1a1a
379
- interactive action yellow #ffff88
380
- red #cc0000
381
- light blue #E6EEFC
382
- dark blue #0B43A8
383
-
384
- */
385
-
386
- .small {
387
- font-size: 11px;
388
- font-style: normal;
389
- font-weight: normal;
390
- text-transform: normal;
391
- letter-spacing: normal;
392
- line-height: 1.4em;
393
- }
394
-
395
- .gray {
396
- color:#999999;
397
- font-family: Georgia, serif;
398
- font-size: 13px;
399
- font-style: italic;
400
- font-weight: normal;
401
- text-transform: normal;
402
- letter-spacing: normal;
403
- line-height: 1.6em;
404
- }
405
-
406
- .hightlight {
407
- background-color: #ffff88;
408
- font-weight: bold;
409
- color: #36393d;
410
- }
411
-
412
- a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #36393d; }
413
- a { -moz-outline: none; }
414
-
415
- body {
416
- color: #222;
417
- background: #ededec;
418
- background: #0F61FF;
419
- background: #0072bc;
420
- background: #fff;
421
- background: #0f61a1;
422
- background: #e4e4e4;
423
- font-family: helvetica, arial, sans-serif;
424
- }
425
-
426
- hr {
427
- background: #f0f0ee;
428
- color: #f0f0ee;
429
- }
430
-
431
-
432
- #user-navigation {
433
- top: auto;
434
- bottom: 5px;
435
- right: 25px;
436
- }
437
-
438
- #user-navigation a.logout {
439
- background: #cc0000;
440
- padding: 1px 4px;
441
- -moz-border-radius: 4px;
442
- -webkit-border-radius: 3px;
443
- }
444
-
445
- #main .block .content {
446
- background: #FFF;
447
- padding-top: 1px;
448
- }
449
-
450
- #main .block .content h2 {
451
- margin-left: 15px;
452
- font-size: 22px;
453
- font-style: normal;
454
- font-weight: bold;
455
- text-transform: normal;
456
- letter-spacing: -1px;
457
- line-height: 1.2em;
458
- }
459
-
460
- #main .block .content p {
461
- font-size: 13px;
462
- font-style: normal;
463
- font-weight: normal;
464
- text-transform: normal;
465
- letter-spacing: normal;
466
- line-height: 1.45em;
467
- }
468
-
469
- #sidebar .block {
470
- background: #FFF;
471
- }
472
-
473
- #sidebar .block h4 {
474
- font-weight: bold;
475
- }
476
-
477
- #sidebar .notice {
478
- background: #E6EEFC;
479
- }
480
-
481
- #sidebar .notice h4 {
482
- color: #0B43A8;
483
- }
484
-
485
- #sidebar h3 {
486
- background: #36393d;
487
- color: #FFF;
488
- border-bottom: 5px solid #1a1a1a;
489
- }
490
-
491
- #main-navigation ul li {
492
- padding-left: 15px;
493
- }
494
-
495
- #main-navigation ul li a {
496
- padding: 8px 0;
497
- }
498
-
499
- #main-navigation ul li.active {
500
- padding: 0;
501
- margin-left: 15px;
502
- }
503
-
504
- #main-navigation ul li.active {
505
- margin-left: 15px;
506
- }
507
-
508
- #main-navigation ul li.active a {
509
- padding: 8px 15px;
510
- }
511
-
512
- #sidebar ul li a:link, #sidebar ul li a:visited {
513
- background: #FFF;
514
- border-bottom: 1px solid #F0F0EE;
515
- text-decoration: none;
516
- }
517
-
518
- #sidebar ul li a:hover, #sidebar ul li a:active {
519
- background: #666666;
520
- color: #ffffff;;
521
- }
522
-
523
- #main-navigation {
524
- background: #1a1a1a;
525
- }
526
-
527
- #main-navigation ul li {
528
- background: #1a1a1a;
529
- margin-right: 0;
530
- }
531
-
532
- #main-navigation ul li.active {
533
- background: #f0f0ee;
534
- }
535
-
536
- #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
537
- .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
538
- #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
539
- text-decoration: none;
540
- color: #FFF;
541
- }
542
-
543
- .secondary-navigation li a:hover {
544
- background: #666666;
545
- }
546
-
547
- #main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
548
- color: #1a1a1a;
549
- }
550
-
551
- .secondary-navigation {
552
- background: #36393d;
553
- border-bottom-color: #4F8AFF;
554
- }
555
-
556
- .secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
557
- background: #1a1a1a;
558
- background: #4F8AFF;
559
- }
560
-
561
- #footer .block {
562
- color: #FFF;
563
- background: #1a1a1a;
564
- }
565
-
566
- #footer .block p {
567
- margin: 0;
568
- padding: 10px;
569
- }
570
-
571
- /* pagination */
572
-
573
- .pagination a, .pagination span {
574
- background: #ededec;
575
- -moz-border-radius: 3px;
576
- border: 1px solid #c1c1c1;
577
- }
578
-
579
- .pagination span.current {
580
- background: #36393d;
581
- color: #FFF;
582
- border: 1px solid #36393d;
583
- }
584
-
585
- .pagination a {
586
- color: #1a1a1a;
587
- }
588
-
589
- .pagination a:hover {
590
- border: 1px solid #666;
591
- }
592
-
593
- /* tables */
594
-
595
- .table th {
596
- background: #36393d;
597
- color: #FFF;
598
- }
599
-
600
- .table td {
601
- border-bottom:1px solid #F0F0EE;
602
- }
603
-
604
- .table tr.even {
605
- background: #ebebeb;
606
- }
607
-
608
- /* forms */
609
-
610
- .form label.label {
611
- color: #666666;
612
- }
613
-
614
- .form input.text_field, .form textarea.text_area {
615
- width: 100%;
616
- border: 1px solid #ededec;
617
- }
618
-
619
- .form input.button {
620
- background: #ededec;
621
- -moz-border-radius: 5px;
622
- border: 1px solid #c1c1c1;
623
- padding: 2px 5px;
624
- cursor: pointer;
625
- color: #36393d;
626
- font-weight: bold;
627
- font-size: 11px;
628
- }
629
-
630
- .form input.button:hover {
631
- border: 1px solid #666;
632
- }
633
-
634
- .form .description {
635
- font-style: italic;
636
- color: #8C8C8C;
637
- font-size: .9em;
638
- }
639
-
640
- .form .navform a {
641
- color: #cc0000;
642
- }
643
-
644
- /* flash-messages */
645
- .flash .message {
646
- -moz-border-radius: 3px;
647
- -webkit-border-radius: 3px;
648
- text-align:center;
649
- margin: 0 auto 15px;
650
-
651
- }
652
-
653
- .flash .message p {
654
- margin:8px;
655
- }
656
- .flash .error {
657
- border: 1px solid #fbb;
658
- background-color: #fdd;
659
- }
660
- .flash .warning {
661
- border: 1px solid #fffaaa;
662
- background-color: #ffffcc;
663
- }
664
- .flash .notice {
665
- border: 1px solid #1FDF00;
666
- background-color: #BBFFB6;
667
- }
668
-
669
- /* lists */
670
-
671
- ul.list li {
672
- border-bottom-color: #F0F0EE;
673
- border-bottom-width: 1px;
674
- border-bottom-style: solid;
675
- }
676
-
677
- ul.list li .item .avatar {
678
- border-color: #F0F0EE;
679
- border-width: 1px;
680
- border-style: solid;
681
- padding: 2px;
682
- }
683
-
684
- /* box */
685
-
686
- #box .block {
687
- background: #FFF;
688
- }
689
-
690
- #box .block h2 {
691
- background: #36393d;
692
- color: #FFF;
693
- }
694
-
695
-
696
- /* rounded borders */
697
-
698
- #main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
699
- #footer .block, .form input.button, #box .block, #box .block h2 {
700
- -moz-border-radius-topleft: 4px;
701
- -webkit-border-top-left-radius: 4px;
702
- -moz-border-radius-topright: 4px;
703
- -webkit-border-top-right-radius: 4px;
704
- }
705
-
706
- .secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
707
- -moz-border-radius-topleft: 4px;
708
- -webkit-border-top-left-radius: 4px;
709
- }
710
-
711
- .table th.last {
712
- -moz-border-radius-topright: 4px;
713
- -webkit-border-top-right-radius: 4px;
714
- }
715
-
716
- .secondary-navigation ul li.first {
717
- -moz-border-radius-topleft: 4px;
718
- -webkit-border-top-left-radius: 4px;
719
- }
720
-
721
- #sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
722
- -moz-border-radius-bottomleft: 4px;
723
- -webkit-border-bottom-left-radius: 4px;
724
- -moz-border-radius-bottomright: 4px;
725
- -webkit-border-bottom-right-radius: 4px;
726
- }
727
-
728
- .secondary-navigation {
729
- border-bottom-width: 5px;
730
- }
731
-
732
- .umbrella {
733
- font-family:lucida grande,verdana;
734
- font-size:12px;
735
- text-align:left;
736
- }
737
- .umbrella h1 {
738
- color:#000000;
739
- font-size: 26px;
740
- font-weight: bold;
741
- border-bottom: 1px dotted #CCCCCC;
742
- }
743
- #main .block .umbrella h2 {
744
- color:#000000;
745
- font-size:16px;
746
- margin: 10px 0 2px 0;
747
- padding:0;
748
- font-family:"Lucida Grande",arial,sans-serif;
749
- }
750
- .umbrella h2 span {
751
- color: #666;
752
- font-size: 12px;
753
- font-weight: normal;
754
- }
755
- .umbrella input {
756
- font-size:14px;
757
- margin-bottom:10px;
758
- padding:3px;
759
- }
760
- .umbrella input.button {
761
- font-size:14px;
762
- margin:10px 0 0;
763
- padding:3px;
764
- width:auto;
765
- }
766
-
767
- input[type="button"] { cursor: pointer; }
768
- input.button { cursor: pointer; }
769
-
770
- .element { border: 1px solid red; }
771
-
772
- .rounded{
773
- -moz-border-radius: 5px; /* Firefox */
774
- -webkit-border-radius: 5px; /* Safari */
775
- }
776
-
777
- .flash .error {
778
- background: #c00;
779
- color: #fff;
780
- }
781
-
782
- .flash .message {
783
- text-align: left;
784
- }
785
-
786
-
787
- #iheader {
788
- margin: 0 auto;
789
- width: 950px;
790
- }
791
-
792
- #header ul {
793
- list-style: none;
794
- padding: 10px 0 0 20px;
795
- margin: 0;
796
- }
797
-
798
- #header ul li {
799
- float: left;
800
- border: 1px solid;
801
- border-bottom-width: 0;
802
- margin: 0 0.5em 0 0;
803
- }
804
-
805
- #header ul li#selected {
806
- position: relative;
807
- top: 1px;
808
- }
809
-
810
- #header ul li a {
811
- display: block;
812
- padding: 5px 6px 0 6px;
813
- text-decoration: none;
814
- color: white;
815
- background: #1a4f85;
816
- }
817
-
818
- #header ul li#selected a {
819
- background: #fff;
820
- color: #1a4f85;
821
- }
822
-
823
- #header ul li a:hover {
824
- background: #539ADF;
825
- }
826
-
827
-
828
-
829
- #footer {
830
- padding-left:30px;
831
- }
832
-
833
- .search_form {
834
- margin:15px 5px 5px 5px;
835
- padding:5px;
836
- }
837
-
838
- .breadcrum {
839
- margin-bottom: 15px;
840
- background: #fff;
841
- padding: 10px 4px;
842
- }
843
-
844
- #quick_search_input { font-size: 15px; }
845
-
846
- table.with_border td{
847
- border:2px solid #DEDEDE;
848
- padding:5px;
849
- }
850
-
851
- table {
852
- border-collapse: collapse;
853
- border-spacing: 0;
854
- }
855
-
856
- .advtable {
857
- font-size: 15px;
858
- }
859
-
860
- #advance_search_table select {
861
- font-size: 15px;
862
- width: 280px;
863
- padding: 2px;
864
- margin: 2px;
865
- }
866
-
867
- #advance_search_table select option {
868
- padding: 2px 5px;
869
- }
870
-
871
- .advtable td {
872
- border-bottom: 1px solid #F0F0EE;
873
- padding: 10px;
874
- }
875
-
876
- .ram_input_field_col3 {
877
- font-size: 15px;
878
- }
879
-
880
- /*IE6 will ignore this*/
881
- input[disabled], input[readonly], select[disabled], select[readonly], checkbox[disabled], checkbox[readonly], textarea[disabled], textarea[readonly]
882
- {
883
- background-color: #dcdcdc;
884
- border: 1px solid gray;
885
- color: #000000;
886
- cursor: default;
887
- }
888
-
889
- input.col3 {
890
- height: 20px;
891
- font-size: 16px;
892
- }
893
-
894
- span.searching_message{
895
- color: red;
896
- font-size: 25px;
897
- margin: 20px 0 20px 0;
898
- }
899
-
900
- table#view_table {
901
- padding: 0;
902
- margin: 5px 0 5px 0;
903
- border-collapse: collapse;
904
- border-spacing: 0;
905
- }
906
-
907
- table#view_table th {
908
- border: 1px solid #ccc;
909
- letter-spacing: 2px;
910
- text-align: left;
911
- padding: 6px 6px 6px 12px;
912
- }
913
-
914
-
915
- table#view_table td {
916
- border: 1px solid #DEDEDE;
917
- padding: 6px 6px 6px 12px;
918
- }
919
-
920
- table#view_table tr:hover {
921
- background: #FFFFC0;
922
- }
923
-
924
-
925
- #model_drop_down {
926
- position: absolute;
927
- top: 10px;
928
- left: 100px;
929
- }
930
-
931
- .drop_down_value_klass {
932
- width: 300px;
933
- font-size: 14px;
934
- padding: 5px;
935
- height: 40px;
936
- line-height: 40px;
937
- }
938
-
939
- .drop_down_value_klass option {
940
- padding: 2px;
941
- }
942
-
943
-
944
- .klass_box {
945
- margin: 15px 0 15px 0;
946
- padding: 15px 20px 15px 0;
947
- line-height: 40px;
948
- font-size: 16px;
949
- }
950
-
951
- .klass_description {
952
- font-size: 90%;
953
- }
954
-
955
- #footer p {
956
- float: left;
957
- font-size: 11px;
958
- padding: 2px 10px 2px 2px;
959
- }
960
-
961
- #main {
962
- width: 100%;
963
- }
964
-
965
-
966
- .main2 {
967
- background-color: #FFF;
968
- padding: 5px;
969
- margin: 10px 2px 10px 2px;
970
- float: left;
971
- }
972
-
973
- .error {
974
- color: red;
975
- font-size: 16px;
976
- }
977
-
978
- #noscript-warning {
979
- background-color:#AE0000;
980
- color:#FFFFFF;
981
- font-family:Arial,Helvetica,sans-serif;
982
- font-size:140%;
983
- font-weight:bold;
984
- left:0;
985
- padding:5px 0;
986
- position:fixed;
987
- text-align:center;
988
- top:0;
989
- width:100%;
990
- z-index:101;
991
- }
992
-
993
- a:link, a:visited, a:active {
994
- text-decoration: none;
995
- color: green;
996
- }
997
-
998
- a:hover {
999
- text-decoration: underline;
1000
- color: #f03;
1001
- }
1002
-
1003
- #footer a, .group a, .pagination a {
1004
- color: #36393d;
1005
- }
1006
-
1007
- .association_info {
1008
- line-height: 20px;
1009
- }
1010
-
1011
- table#missing_index tr td {
1012
- height: 25px;
1013
- }
1014
-
1015
- .clear { clear: both; }
1016
-
1017
- .rounded {
1018
- -moz-border-radius: 5px; /* Firefox */
1019
- -webkit-border-radius: 5px; /* Safari */
1020
- }
1021
-
1022
- .powered_by {
1023
- font-family: Arial;
1024
- font-size: 12px;
1025
- }
1026
-
1027
- .submit_search {
1028
- -moz-border-radius: 5px; /* Firefox */
1029
- -webkit-border-radius: 5px; /* Safari */
1030
- float: left;
1031
- border: 1px solid #000;
1032
- color: #000;
1033
- /*background: #4F8AFF;*/
1034
- padding: 3px;
1035
- font-weight: bold;
1036
- font-size: 16px;
1037
- cursor: pointer;
1038
- }
1039
-
1040
-
1041
- .add_row_link, .remove_row {
1042
- font-size: 30px;
1043
- text-decoration: none;
1044
- color: #fff;
1045
- padding: 0 3px;
1046
- margin: 0;
1047
- }
1048
-
1049
- #advance_search_table a {
1050
- color: #fff;
1051
- }
1052
-
1053
- ul#subnav {
1054
- background: #fff9d8;
1055
- display: inline;
1056
- padding: 10px 6px;
1057
- position: absolute;
1058
- text-align: right;
1059
- top: 0;
1060
- right: 200px;
1061
-
1062
- }
1063
-
1064
- ul#subnav li {
1065
- display: inline;
1066
- border: 0;
1067
- }
1068
-
1069
- ul#subnav li a, ul#subnav li a:hover {
1070
- color: #000;
1071
- background-color: #fff9d8;
1072
- font-size: 14px;
1073
- font-weight: bold;
1074
- margin-left: 10px;
1075
- margin-right: 5px;
1076
- text-decoration: none;
1077
- }
1078
-
1079
- ul#subnav li a:hover {
1080
- text-decoration: underline;
1081
- }
1082
-
1083
-
1084
- .col_box {
1085
- border-top: 1px dotted #efefef;
1086
- }
1087
-
1088
- #main .block .content p.error {
1089
- font-weight: bold;
1090
- font-size: 18px;
1091
- }
1092
- #main h2.search_path {
1093
- float:left;
1094
- font-weight:bold;
1095
- font-size: 35px;
1096
- }
1097
-
1098
- .listing_klass {
1099
- float:left;
1100
- font-weight:bold;
1101
- font-size: 35px;
1102
- }
1103
-
1104
- .total_records_info_klass {
1105
- float:left;
1106
- margin:22px 0 0 10px;
1107
- color:gray;
1108
- }