search.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. .error-empty {
  2. border: solid 1px red;
  3. box-shadow: 0px 0px 5px #ff0000;
  4. }
  5. #results {
  6. display: block;
  7. width: 71%;
  8. margin: 0 auto;
  9. background-color: #eeeeee;
  10. padding: 30px;
  11. }
  12. #results article {
  13. display: block;
  14. width: 25%;
  15. background-color: #cccccc;
  16. float: left;
  17. margin: 15px;
  18. padding: 15px;
  19. }
  20. .category {
  21. display: block;
  22. height: 20px;
  23. font-style: italic;
  24. color: #888;
  25. }
  26. .product-name {
  27. font-size: 1.8rem;
  28. height: 90px;
  29. overflow: hidden;
  30. }
  31. #results figure {
  32. display: block;
  33. width: 100%;
  34. height: 200px;
  35. overflow: hidden;
  36. }
  37. .product-thumbnail {
  38. width: 278px;
  39. height: 278px;
  40. }
  41. .product-details {
  42. display: block;
  43. margin-top: 10px;
  44. height: 85px;
  45. overflow: hidden;
  46. }
  47. .manufacturer {
  48. color: #888;
  49. display: block;
  50. width: 50%;
  51. float: left;
  52. }
  53. .product-price {
  54. display: block;
  55. float: right;
  56. font-weight: bold;
  57. font-size: 1.2rem;
  58. text-align: right;
  59. width: 50%;
  60. color: #000;
  61. }
  62. a.product-link {
  63. text-decoration: none;
  64. color: inherit;
  65. }
  66. a.product-link:hover {
  67. text-decoration: none;
  68. }
  69. #results article:hover {
  70. background-color: #fff;
  71. }
  72. .product-row {
  73. display: block;
  74. float: left;
  75. width: 50%;
  76. }
  77. .big-icon {
  78. display: block;
  79. width: 30px;
  80. height: 30px;
  81. font-size: 2rem;
  82. margin-bottom: 20px;
  83. }
  84. .product-image {
  85. width: 90%;
  86. height: auto;
  87. }
  88. .slim {
  89. margin: 0;
  90. height: auto;
  91. margin-bottom: 30px;
  92. }
  93. .jumbo {
  94. font-size: 2.2rem;
  95. }
  96. .product-detail-list {
  97. width: 100%;
  98. margin-top: 15px;
  99. list-style: none;
  100. }
  101. .product-detail-list li {
  102. padding-bottom: 10px;
  103. }
  104. .product-detail-list li span {
  105. display: inline-block;
  106. margin-left: 10px;
  107. width: 100px;
  108. }
  109. .price-data {
  110. width: 20%;
  111. float: left;
  112. text-align: right;
  113. color: #888;
  114. }
  115. .button-wrap {
  116. width: 80%;
  117. float: left;
  118. text-align: left;
  119. padding-top: 10px;
  120. }
  121. .button-wrap .btn {
  122. float: left;
  123. width: auto;
  124. height: 30px;
  125. border: none;
  126. text-align: center;
  127. cursor: pointer;
  128. color: white;
  129. font-size: 0.8rem;
  130. font-weight: lighter;
  131. }
  132. .btn-green {background-color: #6FB121;}
  133. .btn-blue {background-color: #0075b0;}
  134. .btn-orange {background-color: #FF9233;}
  135. .small-price {
  136. width: 60px;
  137. height: 30px;
  138. background-color: white;
  139. border: solid 1px #eee;
  140. color: #000;
  141. font-size: 12px;
  142. text-align: center;
  143. }
  144. .text-word {
  145. width: 95%;
  146. height: 30px;
  147. background-color: white;
  148. border: solid 1px #eee;
  149. color: #000;
  150. font-size: 12px;
  151. text-align: left;
  152. padding-left: 5px;
  153. }