lists.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. /* 列表頁共用樣式 */
  2. .list-content {
  3. margin: 100px auto;
  4. font-weight: 500;
  5. letter-spacing: .5px;
  6. }
  7. .list-headline {
  8. font-size: 24px;
  9. font-weight: 500;
  10. }
  11. .search-card {
  12. a {
  13. color: #EE7800;
  14. }
  15. .search-bar-keyword {
  16. font-size: 14px;
  17. p {
  18. @media (max-width: 575px) {
  19. min-width: 75px;
  20. margin-top: 3px;
  21. }
  22. }
  23. li {
  24. margin-right: 15px;
  25. @media (max-width: 575px) {
  26. margin: 3px 10px 3px 0;
  27. }
  28. }
  29. }
  30. .form-control {
  31. font-size: 0.875rem;
  32. border: 2px solid #EE7800;
  33. }
  34. .input-group-text {
  35. padding: 1rem 2rem;
  36. color: #fff;
  37. font-weight: 400;
  38. font-size: 0.875rem;
  39. text-align: center;
  40. background-color: #EE7800;
  41. border: 2px solid #EE7800;
  42. border-radius: 0 .25rem .25rem 0;
  43. }
  44. }
  45. .filter-list {
  46. .form-check {
  47. display: flex;
  48. align-items: center;
  49. }
  50. .form-check-label {
  51. margin-left: 10px;
  52. }
  53. .search-tab {
  54. margin: 10px;
  55. border-color: #dbdbdb;
  56. background-color: white;
  57. &:hover {
  58. color: #EE7800;
  59. border-color: #EE7800;
  60. }
  61. &.active {
  62. color: #EE7800;
  63. border-color: #EE7800;
  64. }
  65. }
  66. .dropdown-menu {
  67. padding: 0;
  68. min-width: 15rem;
  69. max-height: 300px;
  70. overflow-y: auto;
  71. li {
  72. padding: 0.75rem 1.25rem;
  73. border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  74. input,
  75. label {
  76. cursor: pointer;
  77. }
  78. }
  79. }
  80. .search-btn-filter {
  81. button {
  82. border: none;
  83. background-color: white;
  84. &:hover {
  85. color: #EE7800;
  86. }
  87. &.active {
  88. color: #EE7800;
  89. }
  90. }
  91. }
  92. .search-tab-result {
  93. font-size: 14px;
  94. }
  95. .designer-card {
  96. .person-img {
  97. width: 100%;
  98. height: 80px;
  99. max-width: 80px;
  100. background-size: cover;
  101. background-position: top;
  102. border-radius: 50%;
  103. box-shadow: 2px 2px 10px -2px rgba(0, 0, 0, 0.15);
  104. @media (max-width: 991px) {
  105. height: 70px;
  106. max-width: 70px;
  107. }
  108. @media (max-width: 767px) {
  109. height: 80px;
  110. max-width: 80px;
  111. }
  112. }
  113. .cover-img {
  114. height: 235px;
  115. object-fit: cover;
  116. @media (max-width: 991px) {
  117. height: 160px;
  118. }
  119. @media (max-width: 767px) {
  120. height: 235px;
  121. }
  122. }
  123. .card-body {
  124. section {
  125. width: 70%;
  126. }
  127. h5,
  128. h6 {
  129. line-height: 1.25;
  130. font-size: 0.875rem;
  131. // 換行
  132. -webkit-box-orient: vertical;
  133. overflow: hidden;
  134. text-overflow: ellipsis;
  135. display: -webkit-box;
  136. }
  137. h5 {
  138. height: 1.09375rem;
  139. -webkit-line-clamp: 1;
  140. }
  141. h6 {
  142. -webkit-line-clamp: 2;
  143. }
  144. }
  145. }
  146. }