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