123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- .close {
- right: 0;
- top: 0;
- height: 25px;
- position: absolute;
- font-size: 18px;
- color: #fff;
- cursor: pointer;
- width: 50px;
- height: 50px;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 99999;
- }
- .pull-preview {
- position: absolute;
- z-index: 9999;
- // display: flex;
- align-items: center;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- background-color: rgba(0,0,0,0.1);
- backdrop-filter: blur(1px);
-
- &:not(.pc) .preview-layer {
- padding-top: 40px;
- }
- &.pc .preview-layer {
- padding: 40px 20px 20px;
- }
- .preview-layer {
- flex: 1;
- background-color: rgba(0,0,0,.7);
- color: #fff;
- height: 100%;
- position: relative;
- display: flex;
- flex-direction: column;
- h3 {
- font-size: 20px;
- font-weight: 700;
- letter-spacing: 1px;
- margin-bottom: 10px;
- word-break: break-all;
- }
- .pull-meta {
- height: 100%;
- width: 100%;
- overflow-y: auto;
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- .content {
- margin-bottom: 10px;
- font-size: 16px;
- font-weight: 400;
- line-height: 26px;
- color: #ccc;
- word-break: break-all;
- letter-spacing: 1px;
-
- }
- iframe {
- width: 100%;
- height: 100%;
- display: block;
- }
- video,
- img {
- max-width: 100%;
- max-height: 100%;
- display: block;
- }
- video, img {
- object-fit: contain;
- }
- iframe{
- border: none;
- height: 100%;
- }
- }
- }
- }
|