VideoList.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. @import "~antd/lib/style/themes/default.less";
  2. @import "../../utils/utils.less";
  3. .cardList {
  4. margin-bottom: -24px;
  5. background: #fff;
  6. .card {
  7. :global {
  8. .ant-card-meta-title {
  9. margin-bottom: 12px;
  10. & > a {
  11. color: @heading-color;
  12. }
  13. }
  14. .ant-card-actions {
  15. background: #f7f9fa;
  16. }
  17. .ant-card-body:hover {
  18. .ant-card-meta-title > a {
  19. color: @primary-color;
  20. }
  21. }
  22. }
  23. }
  24. }
  25. .extraImg {
  26. margin-top: -60px;
  27. text-align: center;
  28. width: 195px;
  29. img {
  30. width: 100%;
  31. }
  32. }
  33. .newButton {
  34. margin-left: 5px;
  35. background-color: #fff;
  36. border-color: @border-color-base;
  37. border-radius: @border-radius-sm;
  38. color: @text-color-secondary;
  39. width: 100%;
  40. height: 293px;
  41. }
  42. .cardAvatar {
  43. width: 48px;
  44. height: 48px;
  45. border-radius: 48px;
  46. }
  47. .cardDescription {
  48. .textOverflowMulti();
  49. }
  50. .pageHeaderSearch {
  51. position: relative;
  52. }
  53. .contentLink {
  54. margin-top: 16px;
  55. a {
  56. margin-right: 32px;
  57. img {
  58. width: 24px;
  59. }
  60. }
  61. img {
  62. vertical-align: middle;
  63. margin-right: 8px;
  64. }
  65. }
  66. @media screen and (max-width: @screen-lg) {
  67. .contentLink {
  68. a {
  69. margin-right: 16px;
  70. }
  71. }
  72. }
  73. @media screen and (max-width: @screen-md) {
  74. .extraImg {
  75. display: none;
  76. }
  77. }
  78. @media screen and (max-width: @screen-sm) {
  79. .pageHeaderContent {
  80. padding-bottom: 30px;
  81. }
  82. .contentLink {
  83. position: absolute;
  84. left: 0;
  85. bottom: -4px;
  86. width: 1000px;
  87. a {
  88. margin-right: 16px;
  89. }
  90. img {
  91. margin-right: 4px;
  92. }
  93. }
  94. }