lists.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. img {
  95. cursor: pointer;
  96. transition: all .3s;
  97. &:hover {
  98. opacity: .7;
  99. }
  100. }
  101. }
  102. .lists-card {
  103. height: 100%;
  104. .person-img {
  105. width: 100%;
  106. height: 80px;
  107. max-width: 80px;
  108. background-size: cover;
  109. background-position: top;
  110. border-radius: 50%;
  111. box-shadow: 2px 2px 10px -2px rgba(0, 0, 0, 0.15);
  112. @media (max-width: 991px) {
  113. height: 70px;
  114. max-width: 70px;
  115. }
  116. @media (max-width: 767px) {
  117. height: 80px;
  118. max-width: 80px;
  119. }
  120. }
  121. .cover-img {
  122. height: 235px;
  123. object-fit: cover;
  124. @media (max-width: 991px) {
  125. height: 160px;
  126. }
  127. @media (max-width: 767px) {
  128. height: 235px;
  129. }
  130. }
  131. .video-cover-img {
  132. height: 225px;
  133. object-fit: cover;
  134. @media (max-width: 1400px) {
  135. height: 190px;
  136. }
  137. @media (max-width: 1200px) {
  138. height: 160px;
  139. }
  140. @media (max-width: 991px) {
  141. height: 115px;
  142. }
  143. @media (max-width: 767px) {
  144. height: 275px;
  145. }
  146. @media (max-width: 575px) {
  147. height: 48.5vw;
  148. }
  149. }
  150. .card-body {
  151. section {
  152. width: 70%;
  153. }
  154. h5,
  155. h6,
  156. .video-title {
  157. line-height: 1.25;
  158. font-size: 1rem;
  159. // 換行
  160. -webkit-box-orient: vertical;
  161. overflow: hidden;
  162. text-overflow: ellipsis;
  163. display: -webkit-box;
  164. }
  165. h5 {
  166. height: 1.09375rem;
  167. -webkit-line-clamp: 1;
  168. }
  169. h6 {
  170. -webkit-line-clamp: 2;
  171. }
  172. .video-title {
  173. font-weight: bold;
  174. color: #43484C;
  175. -webkit-line-clamp: 2;
  176. }
  177. .tags-container {
  178. span {
  179. display: inline-block;
  180. margin: 3px 6px 3px 0;
  181. padding: 4px 6px;
  182. border-radius: 3px;
  183. font-size: 0.75rem;
  184. color: #EE7800;
  185. border: 1px solid #EE7800;
  186. }
  187. }
  188. }
  189. }
  190. }