style.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .close {
  2. right: 0;
  3. top: 0;
  4. height: 25px;
  5. position: absolute;
  6. font-size: 18px;
  7. color: #fff;
  8. cursor: pointer;
  9. width: 50px;
  10. height: 50px;
  11. border-radius: 50%;
  12. display: flex;
  13. align-items: center;
  14. justify-content: center;
  15. z-index: 99999;
  16. }
  17. .pull-preview {
  18. position: absolute;
  19. z-index: 9999;
  20. // display: flex;
  21. align-items: center;
  22. top: 0;
  23. right: 0;
  24. bottom: 0;
  25. left: 0;
  26. background-color: rgba(0,0,0,0.1);
  27. backdrop-filter: blur(1px);
  28. &:not(.pc) .preview-layer {
  29. padding-top: 40px;
  30. }
  31. &.pc .preview-layer {
  32. padding: 40px 20px 20px;
  33. }
  34. .preview-layer {
  35. flex: 1;
  36. background-color: rgba(0,0,0,.7);
  37. color: #fff;
  38. height: 100%;
  39. position: relative;
  40. display: flex;
  41. flex-direction: column;
  42. h3 {
  43. font-size: 20px;
  44. font-weight: 700;
  45. letter-spacing: 1px;
  46. margin-bottom: 10px;
  47. word-break: break-all;
  48. }
  49. .pull-meta {
  50. height: 100%;
  51. width: 100%;
  52. overflow-y: auto;
  53. flex: 1;
  54. display: flex;
  55. align-items: center;
  56. justify-content: center;
  57. .content {
  58. margin-bottom: 10px;
  59. font-size: 16px;
  60. font-weight: 400;
  61. line-height: 26px;
  62. color: #ccc;
  63. word-break: break-all;
  64. letter-spacing: 1px;
  65. }
  66. iframe {
  67. width: 100%;
  68. height: 100%;
  69. display: block;
  70. }
  71. video,
  72. img {
  73. max-width: 100%;
  74. max-height: 100%;
  75. display: block;
  76. }
  77. video, img {
  78. object-fit: contain;
  79. }
  80. iframe{
  81. border: none;
  82. height: 100%;
  83. }
  84. }
  85. }
  86. }