collection.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .user-content {
  2. overflow: hidden;
  3. .title {
  4. font-size: 20px;
  5. margin-bottom: 10px;
  6. }
  7. .btnGroup {
  8. margin-bottom: 20px;
  9. label {
  10. width: 200px;
  11. height: 40px;
  12. line-height: 40px;
  13. font-weight: 500;
  14. font-size: 16px;
  15. text-align: center;
  16. }
  17. }
  18. .ant-radio-button-wrapper-checked {
  19. background: orangered;
  20. border-color: transparent;
  21. color: #fff;
  22. box-shadow: 0 0 0 transparent;
  23. }
  24. .imgList {
  25. width: 90%;
  26. .img {
  27. width: 300px;
  28. margin: 0 auto 15px;
  29. .imgHeader {
  30. overflow: hidden;
  31. transition: all .2s ease-out;
  32. box-sizing: border-box;
  33. border: 1px solid rgba(180, 182, 182, 0.5);
  34. position: relative;
  35. height: 220px;
  36. width: 100%;
  37. .imgBj{
  38. box-sizing: border-box;
  39. position: absolute;
  40. border-radius: 5px;
  41. left: 3%;
  42. top: 3%;
  43. width: 94%;
  44. height: 94%;
  45. background: url(../../../../image/init.png)no-repeat;
  46. background-size:100% 100%;
  47. img {
  48. width: 100%;
  49. height: 100%;
  50. display: inline-block;
  51. }
  52. }
  53. .popImgBj{
  54. box-sizing: border-box;
  55. position: absolute;
  56. border-radius: 5px;
  57. left: 3%;
  58. top: 3%;
  59. width: 94%;
  60. height: 94%;
  61. background: url(../../../../image/policyInit.jpg)no-repeat;
  62. background-size:100% 100%;
  63. img {
  64. width: 100%;
  65. height: 100%;
  66. display: inline-block;
  67. }
  68. }
  69. .divP{
  70. opacity: 0;
  71. width:300px;
  72. height: 0px;
  73. overflow: hidden;
  74. position: absolute;
  75. bottom: 0;
  76. left: 0 ;
  77. color: #ffff;
  78. padding: 15px;
  79. background: rgba(12, 12, 12, 0.5);
  80. transition: all .2s ease-in-out;
  81. p{
  82. position: absolute;
  83. left: 50%;
  84. top: 50%;
  85. font-size: 14px;
  86. text-align: justify;
  87. transform: translate(-50%,-50%)
  88. }
  89. }
  90. .new{
  91. width: 46px;
  92. height: 40px;
  93. display: inline-block;
  94. background: url(../../../../image/achievement_26.png) no-repeat;
  95. background-size:100% 100%;
  96. position: absolute;
  97. top: 0;
  98. left: 0;
  99. }
  100. }
  101. .txt {
  102. height: 40px;
  103. line-height: 40px;
  104. color: #000;
  105. padding:0 15px;
  106. overflow: hidden;
  107. white-space: nowrap;
  108. text-overflow: ellipsis;
  109. -o-text-overflow: ellipsis;
  110. }
  111. }
  112. .img:hover{
  113. cursor: pointer;
  114. img{
  115. transform: scale(1.02);
  116. transition: all .2s ease-in-out;
  117. }
  118. .imgHeader .divP{
  119. opacity: 1;
  120. height: 220px;
  121. transition: all .2s ease-in
  122. }
  123. }
  124. }
  125. .page {
  126. text-align: center;
  127. margin-top: 20px;
  128. margin-bottom: 20px;
  129. }
  130. }