Commit 42d8315dd6bfcab7bf83d60fa690aa02e4800f5a

Authored by Rafael Martins
1 parent 445962a4

CSS improvements for Search

Showing 1 changed file with 16 additions and 7 deletions   Show diff stats
public/stylesheets/search.css
@@ -117,7 +117,7 @@ @@ -117,7 +117,7 @@
117 } 117 }
118 .controller-search .search-results-innerbox { 118 .controller-search .search-results-innerbox {
119 padding: 8px 0px 10px 10px; 119 padding: 8px 0px 10px 10px;
120 - height: 215px; 120 + height: 230px;
121 overflow: visible; 121 overflow: visible;
122 position: relative; /* work-arround-bug fo MSIE */ 122 position: relative; /* work-arround-bug fo MSIE */
123 } 123 }
@@ -163,6 +163,9 @@ @@ -163,6 +163,9 @@
163 #content .only-one-result-box .search-results-enterprises li.vcard { 163 #content .only-one-result-box .search-results-enterprises li.vcard {
164 margin: 4.5px; 164 margin: 4.5px;
165 } 165 }
  166 +#content .search-results-box .vcard {
  167 + margin: 4.5px;
  168 + }
166 .search-results-type-article a { 169 .search-results-type-article a {
167 min-height: 16px; 170 min-height: 16px;
168 overflow: hidden; 171 overflow: hidden;
@@ -272,6 +275,7 @@ li.article-item .search-article-categories-container { @@ -272,6 +275,7 @@ li.article-item .search-article-categories-container {
272 } 275 }
273 276
274 .search-article-author-changes { 277 .search-article-author-changes {
  278 + padding-top: 5px;
275 float:right; 279 float:right;
276 color:#999; 280 color:#999;
277 clear:both; 281 clear:both;
@@ -363,7 +367,7 @@ li.search-product-item { @@ -363,7 +367,7 @@ li.search-product-item {
363 line-height: 18px; 367 line-height: 18px;
364 } 368 }
365 .search-product-ecosol-percentage-icon-0 { 369 .search-product-ecosol-percentage-icon-0 {
366 - background-position: 0px 0px; 370 + background-image: none;
367 } 371 }
368 .search-product-ecosol-percentage-icon-25 { 372 .search-product-ecosol-percentage-icon-25 {
369 background-position: 0px -21px; 373 background-position: 0px -21px;
@@ -602,14 +606,15 @@ li.search-product-item hr { @@ -602,14 +606,15 @@ li.search-product-item hr {
602 } 606 }
603 .search-enterprise-item-column-left { 607 .search-enterprise-item-column-left {
604 float:left; 608 float:left;
605 - width:108px; 609 + width:10%;
606 } 610 }
607 .search-enterprise-item-column-left .common-profile-list-block { 611 .search-enterprise-item-column-left .common-profile-list-block {
608 margin:0 10px 0 0; 612 margin:0 10px 0 0;
609 } 613 }
610 .search-enterprise-item-column-right { 614 .search-enterprise-item-column-right {
611 float:right; 615 float:right;
612 - width: 605px 616 + width: 83%;
  617 + padding-top: 5px;
613 } 618 }
614 .product-item-second-column, 619 .product-item-second-column,
615 .search-enterprise-item .search-enterprise-region-label, 620 .search-enterprise-item .search-enterprise-region-label,
@@ -750,7 +755,7 @@ li.search-product-item hr { @@ -750,7 +755,7 @@ li.search-product-item hr {
750 .search-text-article-second-column, 755 .search-text-article-second-column,
751 .search-content-second-column { 756 .search-content-second-column {
752 float: left; 757 float: left;
753 - width: 575px; 758 + width: 570px;
754 } 759 }
755 ul.clean-list .search-uploaded-file-second-column, 760 ul.clean-list .search-uploaded-file-second-column,
756 ul.clean-list .search-text-article-second-column, 761 ul.clean-list .search-text-article-second-column,
@@ -781,8 +786,7 @@ a.search-image-pic { @@ -781,8 +786,7 @@ a.search-image-pic {
781 .search-no-image { 786 .search-no-image {
782 border: 1px solid #777; 787 border: 1px solid #777;
783 height: 98px; 788 height: 98px;
784 - width: 130px;  
785 - line-height:98px; 789 + width: 90%;
786 color: #777; 790 color: #777;
787 text-align: center; 791 text-align: center;
788 font-size: 9px; 792 font-size: 9px;
@@ -798,6 +802,11 @@ a.search-image-pic { @@ -798,6 +802,11 @@ a.search-image-pic {
798 -webkit-border-radius: 5px; 802 -webkit-border-radius: 5px;
799 -o-border-radius: 5px; 803 -o-border-radius: 5px;
800 -khtml-border-radius: 5px; 804 -khtml-border-radius: 5px;
  805 + display: table;
  806 +}
  807 +.search-no-image span {
  808 + display: table-cell;
  809 + vertical-align: middle;
801 } 810 }
802 .search-gallery-items a.search-image-pic { 811 .search-gallery-items a.search-image-pic {
803 float:left; 812 float:left;