lists.scss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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. width: 100%;
  123. height: 235px;
  124. object-fit: cover;
  125. @media (max-width: 991px) {
  126. height: 160px;
  127. }
  128. @media (max-width: 767px) {
  129. height: 235px;
  130. }
  131. }
  132. .video-cover-img {
  133. height: 225px;
  134. object-fit: cover;
  135. @media (max-width: 1400px) {
  136. height: 190px;
  137. }
  138. @media (max-width: 1200px) {
  139. height: 160px;
  140. }
  141. @media (max-width: 991px) {
  142. height: 115px;
  143. }
  144. @media (max-width: 767px) {
  145. height: 275px;
  146. }
  147. @media (max-width: 575px) {
  148. height: 48.5vw;
  149. }
  150. }
  151. .card-body {
  152. h5,
  153. h6,
  154. p,
  155. .video-title {
  156. line-height: 1.5;
  157. font-size: 1rem;
  158. // 換行
  159. -webkit-box-orient: vertical;
  160. overflow: hidden;
  161. text-overflow: ellipsis;
  162. display: -webkit-box;
  163. }
  164. h5 {
  165. -webkit-line-clamp: 1;
  166. }
  167. h6 {
  168. -webkit-line-clamp: 2;
  169. }
  170. p {
  171. font-weight: 400;
  172. }
  173. .video-title {
  174. font-weight: bold;
  175. color: #43484C;
  176. -webkit-line-clamp: 2;
  177. }
  178. .tags-container {
  179. span {
  180. display: inline-block;
  181. margin: 3px 6px 3px 0;
  182. padding: 4px 6px;
  183. border-radius: 3px;
  184. font-size: 0.75rem;
  185. color: #EE7800;
  186. border: 1px solid #EE7800;
  187. }
  188. }
  189. }
  190. }
  191. }
  192. #builderList {
  193. .card {
  194. h5 {
  195. font-size: 1.125rem;
  196. }
  197. h6 {
  198. -webkit-line-clamp: 1;
  199. }
  200. .play-img {
  201. width: 50px;
  202. position: absolute;
  203. top: 50%;
  204. left: 50%;
  205. transform: translate(-50%, -50%);
  206. }
  207. }
  208. }
  209. // AutoComplete
  210. .autocomplete-items {
  211. max-height: 282px;
  212. overflow-y: auto;
  213. position: absolute;
  214. border: 1px solid #d4d4d4;
  215. border-bottom: none;
  216. border-top: none;
  217. z-index: 99;
  218. top: 100%;
  219. left: 0;
  220. right: 0;
  221. div {
  222. padding: 15px;
  223. cursor: pointer;
  224. background-color: #fff;
  225. border-bottom: 1px solid #d4d4d4;
  226. &:hover {
  227. color: #fff;
  228. background-color: #EE7800;
  229. }
  230. }
  231. }
  232. .autocomplete-active {
  233. background-color: DodgerBlue !important;
  234. color: #ffffff;
  235. }