lists.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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. &:hover {
  105. .title,
  106. .video-title {
  107. opacity: .7;
  108. }
  109. }
  110. .person-img {
  111. width: 100%;
  112. height: 80px;
  113. max-width: 80px;
  114. background-size: cover;
  115. background-position: top;
  116. border-radius: 50%;
  117. box-shadow: 2px 2px 10px -2px rgba(0, 0, 0, 0.15);
  118. @media (max-width: 991px) {
  119. height: 70px;
  120. max-width: 70px;
  121. }
  122. @media (max-width: 767px) {
  123. height: 80px;
  124. max-width: 80px;
  125. }
  126. }
  127. .cover-img {
  128. width: 100%;
  129. height: 235px;
  130. object-fit: cover;
  131. @media (max-width: 991px) {
  132. height: 160px;
  133. }
  134. @media (max-width: 767px) {
  135. height: 235px;
  136. }
  137. }
  138. .video-cover-img {
  139. height: 225px;
  140. object-fit: cover;
  141. @media (max-width: 1400px) {
  142. height: 190px;
  143. }
  144. @media (max-width: 1200px) {
  145. height: 160px;
  146. }
  147. @media (max-width: 991px) {
  148. height: 115px;
  149. }
  150. @media (max-width: 767px) {
  151. height: 275px;
  152. }
  153. @media (max-width: 575px) {
  154. height: 48.5vw;
  155. }
  156. }
  157. .card-body {
  158. h5,
  159. h6,
  160. p,
  161. .video-title {
  162. line-height: 1.5;
  163. font-size: 1rem;
  164. // 換行
  165. -webkit-box-orient: vertical;
  166. overflow: hidden;
  167. text-overflow: ellipsis;
  168. display: -webkit-box;
  169. }
  170. h5 {
  171. -webkit-line-clamp: 1;
  172. }
  173. h6 {
  174. -webkit-line-clamp: 2;
  175. }
  176. p {
  177. font-weight: 400;
  178. }
  179. .video-title {
  180. font-weight: bold;
  181. color: #43484C;
  182. -webkit-line-clamp: 2;
  183. transition: all .3s;
  184. }
  185. .tags-container {
  186. span {
  187. display: inline-block;
  188. margin: 3px 6px 3px 0;
  189. padding: 4px 6px;
  190. border-radius: 3px;
  191. font-size: 0.75rem;
  192. color: #EE7800;
  193. border: 1px solid #EE7800;
  194. transition: all .3s;
  195. &:hover {
  196. opacity: .7;
  197. }
  198. }
  199. &.columns-tag {
  200. height: 30px;
  201. overflow: hidden;
  202. }
  203. }
  204. .title {
  205. font-weight: 500;
  206. transition: all .3s;
  207. }
  208. }
  209. }
  210. }
  211. #builderList {
  212. .card {
  213. h5 {
  214. font-size: 1.125rem;
  215. }
  216. h6 {
  217. -webkit-line-clamp: 1;
  218. }
  219. .play-img {
  220. width: 50px;
  221. position: absolute;
  222. top: 50%;
  223. left: 50%;
  224. transform: translate(-50%, -50%);
  225. }
  226. }
  227. }
  228. .date-item {
  229. color: #c3c3c3;
  230. font-size: 12px;
  231. ;
  232. }
  233. // AutoComplete
  234. .autocomplete-items {
  235. max-height: 282px;
  236. overflow-y: auto;
  237. position: absolute;
  238. border: 1px solid #d4d4d4;
  239. border-bottom: none;
  240. border-top: none;
  241. z-index: 99;
  242. top: 100%;
  243. left: 0;
  244. right: 0;
  245. div {
  246. padding: 15px;
  247. cursor: pointer;
  248. background-color: #fff;
  249. border-bottom: 1px solid #d4d4d4;
  250. &:hover {
  251. color: #fff;
  252. background-color: #EE7800;
  253. }
  254. }
  255. }
  256. .autocomplete-active {
  257. background-color: DodgerBlue !important;
  258. color: #ffffff;
  259. }
  260. #columnLoading {
  261. display: none;
  262. }