Commit 268d49b1aad70fcc0003e6b9bfe0929d346c4416

Authored by Daniela Feitosa
1 parent 03c856bb

Fixed size and alignment of search fields

Showing 2 changed files with 72 additions and 7 deletions   Show diff stats
db/schema.rb
... ... @@ -161,6 +161,36 @@ ActiveRecord::Schema.define(:version => 20120411132751) do
161 161  
162 162 add_index "boxes", ["owner_id", "owner_type"], :name => "index_boxes_on_owner_type_and_owner_id"
163 163  
  164 + create_table "bsc_plugin_contracts", :force => true do |t|
  165 + t.string "client_name"
  166 + t.integer "client_type"
  167 + t.integer "business_type"
  168 + t.string "state"
  169 + t.string "city"
  170 + t.integer "status", :default => 0
  171 + t.integer "number_of_producers", :default => 0
  172 + t.datetime "supply_start"
  173 + t.datetime "supply_end"
  174 + t.text "annotations"
  175 + t.integer "bsc_id"
  176 + t.datetime "created_at"
  177 + t.datetime "updated_at"
  178 + end
  179 +
  180 + create_table "bsc_plugin_contracts_enterprises", :id => false, :force => true do |t|
  181 + t.integer "contract_id"
  182 + t.integer "enterprise_id"
  183 + end
  184 +
  185 + create_table "bsc_plugin_sales", :force => true do |t|
  186 + t.integer "product_id", :null => false
  187 + t.integer "contract_id", :null => false
  188 + t.integer "quantity", :null => false
  189 + t.decimal "price"
  190 + t.datetime "created_at"
  191 + t.datetime "updated_at"
  192 + end
  193 +
164 194 create_table "categories", :force => true do |t|
165 195 t.string "name"
166 196 t.string "slug"
... ... @@ -254,6 +284,7 @@ ActiveRecord::Schema.define(:version => 20120411132751) do
254 284 t.datetime "created_at"
255 285 t.datetime "updated_at"
256 286 t.integer "reports_lower_bound", :default => 0, :null => false
  287 + t.text "send_email_plugin_allow_to"
257 288 end
258 289  
259 290 create_table "external_feeds", :force => true do |t|
... ... @@ -277,6 +308,10 @@ ActiveRecord::Schema.define(:version => 20120411132751) do
277 308 t.integer "enterprise_id"
278 309 end
279 310  
  311 + create_table "foo_plugin_bars", :force => true do |t|
  312 + t.string "name"
  313 + end
  314 +
280 315 create_table "friendships", :force => true do |t|
281 316 t.integer "person_id"
282 317 t.integer "friend_id"
... ... @@ -397,7 +432,7 @@ ActiveRecord::Schema.define(:version => 20120411132751) do
397 432 t.string "type"
398 433 t.string "identifier"
399 434 t.integer "environment_id"
400   - t.boolean "active", :default => true
  435 + t.boolean "active", :default => true
401 436 t.string "address"
402 437 t.string "contact_phone"
403 438 t.integer "home_page_id"
... ... @@ -408,19 +443,26 @@ ActiveRecord::Schema.define(:version => 20120411132751) do
408 443 t.float "lat"
409 444 t.float "lng"
410 445 t.integer "geocode_precision"
411   - t.boolean "enabled", :default => true
412   - t.string "nickname", :limit => 16
  446 + t.boolean "enabled", :default => true
  447 + t.string "nickname", :limit => 16
413 448 t.text "custom_header"
414 449 t.text "custom_footer"
415 450 t.string "theme"
416   - t.boolean "public_profile", :default => true
  451 + t.boolean "public_profile", :default => true
417 452 t.date "birth_date"
418 453 t.integer "preferred_domain_id"
419 454 t.datetime "updated_at"
420   - t.boolean "visible", :default => true
  455 + t.boolean "visible", :default => true
421 456 t.integer "image_id"
422   - t.boolean "validated", :default => true
  457 + t.boolean "validated", :default => true
423 458 t.string "cnpj"
  459 + t.boolean "shopping_cart", :default => true
  460 + t.boolean "shopping_cart_delivery", :default => false
  461 + t.decimal "shopping_cart_delivery_price", :default => 0.0
  462 + t.string "usp_id"
  463 + t.integer "bar_id"
  464 + t.integer "bsc_id"
  465 + t.string "company_name"
424 466 t.string "national_region_code"
425 467 end
426 468  
... ... @@ -484,6 +526,15 @@ ActiveRecord::Schema.define(:version => 20120411132751) do
484 526 t.datetime "updated_at"
485 527 end
486 528  
  529 + create_table "shopping_cart_plugin_purchase_orders", :force => true do |t|
  530 + t.integer "customer_id"
  531 + t.integer "seller_id"
  532 + t.text "data"
  533 + t.integer "status"
  534 + t.datetime "created_at"
  535 + t.datetime "updated_at"
  536 + end
  537 +
487 538 create_table "taggings", :force => true do |t|
488 539 t.integer "tag_id"
489 540 t.integer "taggable_id"
... ... @@ -511,6 +562,7 @@ ActiveRecord::Schema.define(:version => 20120411132751) do
511 562 t.datetime "created_at"
512 563 t.string "target_type"
513 564 t.integer "image_id"
  565 + t.integer "bsc_id"
514 566 end
515 567  
516 568 create_table "thumbnails", :force => true do |t|
... ...
public/stylesheets/search.css
... ... @@ -668,14 +668,22 @@ li.search-product-item hr {
668 668  
669 669 /* Search field and button */
670 670  
  671 +.search-field input {
  672 + vertical-align: middle;
  673 +}
671 674 .search-field .formfield {
672 675 height: 34px;
673 676 display: inline-block;
674 677 }
675 678 .search-field .formfield input {
676   - height: 35px;
  679 + height: 25px;
677 680 width: 530px;
678 681 }
  682 +#public-profile-search .search-field .formfield input {
  683 + height: 25px;
  684 + width: 395px;
  685 +}
  686 +
679 687 .search-field .formfield {
680 688 height: 34px;
681 689 display: inline-block;
... ... @@ -698,6 +706,10 @@ li.search-product-item hr {
698 706 -o-border-radius: 5px;
699 707 border-radius: 5px;
700 708 }
  709 +#content #public-profile-search form .search-field input.button.submit {
  710 + width: 75px;
  711 +}
  712 +
701 713 form .search-field input:hover.button.submit {
702 714 background-color:#444;
703 715 }
... ... @@ -897,6 +909,7 @@ a.search-image-pic {
897 909 #search-input {
898 910 font-size: 140%;
899 911 color: #000;
  912 + vertical-align: middle;
900 913 }
901 914 #search-input.blur {
902 915 font-size: 140%;
... ...