Commit e305aa6168987baf803e7a6f39518b0264a776f9
1 parent
3d8ac647
Exists in
master
and in
28 other branches
Remove old search's CSS
Showing
3 changed files
with
56 additions
and
171 deletions
Show diff stats
public/designs/themes/base/style.css
| ... | ... | @@ -820,26 +820,6 @@ X.sep { |
| 820 | 820 | display: none; |
| 821 | 821 | } |
| 822 | 822 | |
| 823 | -.controller-search #content .search_form { | |
| 824 | - background: #DDD; | |
| 825 | - -moz-border-radius: 5px; | |
| 826 | - -webkit-border-radius: 5px; | |
| 827 | - padding: 12px 15px 13px 15px; | |
| 828 | - position: relative; | |
| 829 | - text-align: left; | |
| 830 | -} | |
| 831 | - | |
| 832 | -#advanced_search_link { | |
| 833 | - position: absolute; | |
| 834 | - top: 15px; | |
| 835 | - right: 20px; | |
| 836 | - background: url(imgs/arrow-down-p.png) 100% 55% no-repeat; | |
| 837 | - padding-right: 15px; | |
| 838 | - color: #000; | |
| 839 | - text-decoration: none; | |
| 840 | - font-weight: bold; | |
| 841 | -} | |
| 842 | - | |
| 843 | 823 | .controller-search #content .search_form h3 { |
| 844 | 824 | display: none; |
| 845 | 825 | } |
| ... | ... | @@ -1227,38 +1207,6 @@ table.profile th { |
| 1227 | 1207 | |
| 1228 | 1208 | /**************************** Browse *******************************/ |
| 1229 | 1209 | |
| 1230 | -.controller-browse #content .search_form { | |
| 1231 | - background: #DDD; | |
| 1232 | - -moz-border-radius: 5px; | |
| 1233 | - -webkit-border-radius: 5px; | |
| 1234 | - padding: 12px 15px 13px 15px; | |
| 1235 | - position: relative; | |
| 1236 | - text-align: left; | |
| 1237 | -} | |
| 1238 | - | |
| 1239 | -.controller-browse a { | |
| 1240 | - color: #555753; | |
| 1241 | -} | |
| 1242 | - | |
| 1243 | -.browse-results-innerbox { | |
| 1244 | - margin-top: 10px; | |
| 1245 | - padding-bottom: 10px; | |
| 1246 | - | |
| 1247 | -} | |
| 1248 | -.browse-results-innerbox ul{ | |
| 1249 | - padding: 0px; | |
| 1250 | -} | |
| 1251 | - | |
| 1252 | -.browse-results-innerbox .browse-results-type-empty div { | |
| 1253 | - text-align: center; | |
| 1254 | - color: #DDD; | |
| 1255 | - font-weight: bold; | |
| 1256 | - font-size: 30px; | |
| 1257 | - padding: 70px 10px 0px 0px; | |
| 1258 | - border: none; | |
| 1259 | - | |
| 1260 | -} | |
| 1261 | - | |
| 1262 | 1210 | .search-results-type-article.search-results-innerbox { |
| 1263 | 1211 | padding: 5px 0px 5px 10px; |
| 1264 | 1212 | max-height: 215px; | ... | ... |
public/stylesheets/application.css
| ... | ... | @@ -139,9 +139,6 @@ div#notice { |
| 139 | 139 | } |
| 140 | 140 | /* * * Generic Content Formating * * */ |
| 141 | 141 | |
| 142 | -.main-block { | |
| 143 | - text-align: justify; | |
| 144 | -} | |
| 145 | 142 | .msie7 #content { |
| 146 | 143 | z-index: 8; |
| 147 | 144 | } |
| ... | ... | @@ -2397,12 +2394,9 @@ div#activation_enterprise label, div#activation_enterprise input, div#activation |
| 2397 | 2394 | line-height: 20px; |
| 2398 | 2395 | margin: 0px; |
| 2399 | 2396 | padding: 0px; |
| 2397 | + list-style: none; | |
| 2400 | 2398 | } |
| 2401 | -#product_list ul { | |
| 2402 | - margin: 0px; | |
| 2403 | - padding: 0px; | |
| 2404 | -} | |
| 2405 | -#content #product_list li { | |
| 2399 | +#product-list ul { | |
| 2406 | 2400 | margin: 0px; |
| 2407 | 2401 | padding: 0px; |
| 2408 | 2402 | list-style: none; |
| ... | ... | @@ -2415,12 +2409,6 @@ div#activation_enterprise label, div#activation_enterprise input, div#activation |
| 2415 | 2409 | display: inline-block; |
| 2416 | 2410 | vertical-align: top; |
| 2417 | 2411 | } |
| 2418 | -#content #product_list li.product { | |
| 2419 | - border: 1px solid #888; | |
| 2420 | - margin-bottom: 10px; | |
| 2421 | - display: inline-block; | |
| 2422 | - vertical-align: top; | |
| 2423 | -} | |
| 2424 | 2412 | #product-list .expand-box:hover { |
| 2425 | 2413 | background-color: #28F091; |
| 2426 | 2414 | } |
| ... | ... | @@ -2443,12 +2431,6 @@ div#activation_enterprise label, div#activation_enterprise input, div#activation |
| 2443 | 2431 | background-position: left 100%; |
| 2444 | 2432 | cursor: pointer; |
| 2445 | 2433 | } |
| 2446 | -#product_list .product-pic { | |
| 2447 | - display: block; | |
| 2448 | - line-height: 15px; | |
| 2449 | - background-position: left 100%; | |
| 2450 | - cursor: pointer; | |
| 2451 | -} | |
| 2452 | 2434 | #product-list .expand-box.open > span { |
| 2453 | 2435 | background-position: left top; |
| 2454 | 2436 | } |
| ... | ... | @@ -2530,14 +2512,6 @@ div#activation_enterprise label, div#activation_enterprise input, div#activation |
| 2530 | 2512 | display: block; |
| 2531 | 2513 | clear: both; |
| 2532 | 2514 | } |
| 2533 | -#product_list .product-pic span { | |
| 2534 | - display: none; | |
| 2535 | -} | |
| 2536 | -#content #product_list h3 { | |
| 2537 | - margin: 0px; | |
| 2538 | - padding: 0px; | |
| 2539 | - font-size: 120%; | |
| 2540 | -} | |
| 2541 | 2515 | #product-list .product-price { |
| 2542 | 2516 | font-weight: bold; |
| 2543 | 2517 | } |
| ... | ... | @@ -2591,15 +2565,6 @@ div#activation_enterprise label, div#activation_enterprise input, div#activation |
| 2591 | 2565 | #product-list .ui-button { |
| 2592 | 2566 | margin: 0; |
| 2593 | 2567 | } |
| 2594 | -#product_list .product_category { | |
| 2595 | - font-size: 11px; | |
| 2596 | -} | |
| 2597 | -#product_list .description { | |
| 2598 | - clear: left; | |
| 2599 | - font-size: 11px; | |
| 2600 | - text-align: justify; | |
| 2601 | - padding: 5px 10px 0px 10px; | |
| 2602 | -} | |
| 2603 | 2568 | #product-list .ui-button-text { |
| 2604 | 2569 | color: #D38D5F; |
| 2605 | 2570 | font-size: 0.8em; |
| ... | ... | @@ -4388,7 +4353,8 @@ h1#agenda-title { |
| 4388 | 4353 | text-align: left; |
| 4389 | 4354 | padding-left: 12px; |
| 4390 | 4355 | } |
| 4391 | -.msie7 .block .menu-submenu-trigger, .msie7 #search-results .menu-submenu-trigger, .msie7 #browse-results .menu-submenu-trigger { | |
| 4356 | +.msie7 .block .menu-submenu-trigger, | |
| 4357 | +.msie7 #search-results .menu-submenu-trigger { | |
| 4392 | 4358 | width: 20px !important; |
| 4393 | 4359 | } |
| 4394 | 4360 | .common-profile-list-block .vcard .menu-submenu a { |
| ... | ... | @@ -5515,60 +5481,6 @@ h1#agenda-title { |
| 5515 | 5481 | |
| 5516 | 5482 | /* }}} */ |
| 5517 | 5483 | |
| 5518 | -/* Alterações */ | |
| 5519 | -.controller-search #content .search_form { | |
| 5520 | - background: transparent !important; | |
| 5521 | - padding:0 !important; | |
| 5522 | -} | |
| 5523 | -.formfield input { | |
| 5524 | - border: 1px solid #231F20; | |
| 5525 | - height: 28px; | |
| 5526 | - width: 558px; | |
| 5527 | -} | |
| 5528 | -.search-field .formfield { | |
| 5529 | - height: 34px; | |
| 5530 | - display: inline-block | |
| 5531 | -} | |
| 5532 | - | |
| 5533 | -#content form .search-field input.button.submit { | |
| 5534 | - width: 152px; | |
| 5535 | - background: #000; | |
| 5536 | - overflow: visible; | |
| 5537 | - color:#fff; | |
| 5538 | - text-align: left; | |
| 5539 | - font-weight: bold; | |
| 5540 | - padding-left: 10px; | |
| 5541 | - border: none; | |
| 5542 | - height:34px; | |
| 5543 | - display:inline-block; | |
| 5544 | - max-height:none; | |
| 5545 | - -moz-border-radius: 5px; | |
| 5546 | - -webkit-border-radius: 5px; | |
| 5547 | - -khtml-border-radius: 5px; | |
| 5548 | - -o-border-radius: 5px; | |
| 5549 | - border-radius: 5px; | |
| 5550 | -} | |
| 5551 | -#content form .search-field input:hover.button.submit { | |
| 5552 | - background-color:#444; | |
| 5553 | -} | |
| 5554 | -#content #public-profile-search form .search-field input.button.submit { | |
| 5555 | - margin: 0; | |
| 5556 | - width: 116px; | |
| 5557 | -} | |
| 5558 | -#content h1.page-title.no-boxes { | |
| 5559 | - left:230px !important; | |
| 5560 | -} | |
| 5561 | -h1.page-title.no-boxes small { | |
| 5562 | - font-size: 13px; | |
| 5563 | - margin: 13px; | |
| 5564 | -} | |
| 5565 | -#main-content-wrapper-8 { | |
| 5566 | - padding: 0 !important; | |
| 5567 | -} | |
| 5568 | -#advanced_search_link { | |
| 5569 | - display: none; | |
| 5570 | -} | |
| 5571 | - | |
| 5572 | 5484 | #alt-beautify { |
| 5573 | 5485 | background-color: #EDEDED; |
| 5574 | 5486 | border: 1px solid #666666; | ... | ... |
public/stylesheets/search.css
| 1 | + | |
| 1 | 2 | .search-category-context { |
| 2 | 3 | margin: 30px 0px; |
| 3 | 4 | } |
| ... | ... | @@ -508,13 +509,13 @@ li.search-product-item { |
| 508 | 509 | #facets-menu .facet-menu { |
| 509 | 510 | border-bottom: 1px solid #000; |
| 510 | 511 | margin-bottom: 15px; |
| 511 | - padding-bottom: 10px; | |
| 512 | + padding-bottom: 10px; | |
| 512 | 513 | } |
| 513 | 514 | #facets-menu .facet-menu-label { |
| 514 | 515 | background:#E8F5FB; |
| 515 | 516 | text-transform:uppercase; |
| 516 | 517 | padding:10px 10px 2px 10px; |
| 517 | - margin:0 0 15px 0; | |
| 518 | + margin:0 0 15px 0; | |
| 518 | 519 | } |
| 519 | 520 | #facets-menu .facet-menu-options a { |
| 520 | 521 | color: #007788; |
| ... | ... | @@ -522,21 +523,21 @@ li.search-product-item { |
| 522 | 523 | } |
| 523 | 524 | .facet-menu-item { |
| 524 | 525 | display: inline-block; |
| 525 | - margin-bottom: 2px; | |
| 526 | - width: 100%; | |
| 527 | - padding:2px 0; | |
| 526 | + margin-bottom: 2px; | |
| 527 | + width: 100%; | |
| 528 | + padding:2px 0; | |
| 528 | 529 | } |
| 529 | 530 | .facet-menu-less-options .facet-result-link-selected { |
| 530 | - background-color: #B1DFEF; | |
| 531 | + background-color: #B1DFEF; | |
| 531 | 532 | } |
| 532 | 533 | .facet-menu-less-options .facet-result-link-selected .facet-result-extra-label, |
| 533 | 534 | .facet-menu-less-options .facet-result-link-selected .facet-result-count { |
| 534 | - color: #777; | |
| 535 | + color: #777; | |
| 535 | 536 | } |
| 536 | 537 | .facet-menu-less-options .facet-result-link-selected a { |
| 537 | 538 | border-left: 4px solid #00A5D3; |
| 538 | 539 | padding-left: 4px; |
| 539 | - color: #000 !important; | |
| 540 | + color: #000 !important; | |
| 540 | 541 | } |
| 541 | 542 | .facet-menu-more-options .facet-result-link-selected a { |
| 542 | 543 | border-left: 4px solid #B1DFEF; |
| ... | ... | @@ -669,13 +670,43 @@ li.search-product-item hr { |
| 669 | 670 | display: none; |
| 670 | 671 | color: #ff0000 |
| 671 | 672 | } |
| 672 | -.controller-search #content .search_form { | |
| 673 | - background: transparent !important; | |
| 674 | - padding:0 !important; | |
| 673 | + | |
| 674 | + | |
| 675 | +/* Search field and button */ | |
| 676 | + | |
| 677 | +.search-field .formfield { | |
| 678 | + height: 34px; | |
| 679 | + display: inline-block; | |
| 680 | +} | |
| 681 | +.search-field .formfield input { | |
| 682 | + border: 1px solid #231F20; | |
| 683 | + height: 35px; | |
| 684 | + width: 530px; | |
| 675 | 685 | } |
| 676 | 686 | .search-field .formfield { |
| 677 | 687 | height: 34px; |
| 678 | - display: inline-block | |
| 688 | + display: inline-block; | |
| 689 | +} | |
| 690 | +#content form .search-field input.button.submit { | |
| 691 | + width: 152px; | |
| 692 | + background: #000; | |
| 693 | + overflow: visible; | |
| 694 | + color:#fff; | |
| 695 | + text-align: left; | |
| 696 | + font-weight: bold; | |
| 697 | + padding-left: 10px; | |
| 698 | + border: none; | |
| 699 | + height:34px; | |
| 700 | + display:inline-block; | |
| 701 | + max-height:none; | |
| 702 | + -moz-border-radius: 5px; | |
| 703 | + -webkit-border-radius: 5px; | |
| 704 | + -khtml-border-radius: 5px; | |
| 705 | + -o-border-radius: 5px; | |
| 706 | + border-radius: 5px; | |
| 707 | +} | |
| 708 | +form .search-field input:hover.button.submit { | |
| 709 | + background-color:#444; | |
| 679 | 710 | } |
| 680 | 711 | #content form .search-field input.button.submit { |
| 681 | 712 | width: 150px; |
| ... | ... | @@ -697,16 +728,16 @@ li.search-product-item hr { |
| 697 | 728 | } |
| 698 | 729 | .search-hint { |
| 699 | 730 | clear: both; |
| 700 | - float: right; | |
| 701 | - width: 708px; | |
| 702 | 731 | padding: 10px 0 10px 10px; |
| 703 | - display: block; | |
| 704 | 732 | border-bottom: 1px solid #555; |
| 705 | 733 | font-size: 0.9em; |
| 706 | 734 | } |
| 707 | 735 | #content form .search-field input:hover.button.submit { |
| 708 | 736 | background-color:#444; |
| 709 | 737 | } |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 710 | 741 | .facet-any-result-found { |
| 711 | 742 | font-size: 75%; |
| 712 | 743 | color: #AAA; |
| ... | ... | @@ -724,22 +755,16 @@ li.search-product-item hr { |
| 724 | 755 | text-align: right; |
| 725 | 756 | } |
| 726 | 757 | .facet-menu a.facet-options-toggle { |
| 727 | - color: #000; | |
| 728 | - background-image: url("../images/icon_more_options.png"); | |
| 729 | - background-repeat: no-repeat; | |
| 730 | - padding: 0 0 0 20px; | |
| 758 | + color: #000; | |
| 759 | + background-image: url("../images/icon_more_options.png"); | |
| 760 | + background-repeat: no-repeat; | |
| 761 | + padding: 0 0 0 20px; | |
| 731 | 762 | } |
| 732 | 763 | .facet-menu a.facet-options-toggle.facet-more-options, .facet-menu a.facet-options-toggle { |
| 733 | - background-position: 0 0; | |
| 764 | + background-position: 0 0; | |
| 734 | 765 | } |
| 735 | 766 | .facet-menu a.facet-options-toggle.facet-less-options { |
| 736 | - background-position: 0 -32px; | |
| 737 | -} | |
| 738 | -.controller-search .formfield input { | |
| 739 | - border: 1px solid #231F20; | |
| 740 | - height: 28px; | |
| 741 | - width: 558px; | |
| 742 | - background: none; | |
| 767 | + background-position: 0 -32px; | |
| 743 | 768 | } |
| 744 | 769 | |
| 745 | 770 | .search-uploaded-file-first-column, | ... | ... |