media-page.scss
131 lines
| 1 | html, |
| 2 | body { |
| 3 | height: 100%; |
| 4 | background: #111; |
| 5 | } |
| 6 | |
| 7 | .single-pp_video_block { |
| 8 | |
| 9 | .pp_video_block-template { |
| 10 | height: 100%; |
| 11 | } |
| 12 | |
| 13 | .pp-content { |
| 14 | display: grid; |
| 15 | height: 100%; |
| 16 | grid-template-rows: 62px auto; |
| 17 | background-color: #181818; |
| 18 | position: relative; |
| 19 | background-size: cover; |
| 20 | background-position: center; |
| 21 | |
| 22 | &::before { |
| 23 | content: ""; |
| 24 | display: block; |
| 25 | opacity: 1; |
| 26 | backdrop-filter: blur(80px) brightness(0.15); |
| 27 | position: absolute; |
| 28 | inset: 0px; |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | .pp-header { |
| 33 | display: flex; |
| 34 | gap: 2em; |
| 35 | align-items: center; |
| 36 | justify-content: center; |
| 37 | background: #111111; |
| 38 | color: #ffffff; |
| 39 | padding: 15px; |
| 40 | z-index: 9; |
| 41 | position: relative; |
| 42 | background-size: cover; |
| 43 | background-position: center; |
| 44 | max-width: 100vw; |
| 45 | box-sizing: border-box; |
| 46 | |
| 47 | &::before { |
| 48 | content: ""; |
| 49 | display: block; |
| 50 | opacity: 1; |
| 51 | backdrop-filter: blur(1000px) brightness(0.05); |
| 52 | position: absolute; |
| 53 | inset: 0px; |
| 54 | background: rgba(255, 255, 255, 0.07); |
| 55 | } |
| 56 | |
| 57 | >* { |
| 58 | z-index: 1; |
| 59 | } |
| 60 | |
| 61 | &__title { |
| 62 | color: #ffffff; |
| 63 | font-size: 15px; |
| 64 | font-weight: 600; |
| 65 | line-height: 18px; |
| 66 | display: flex; |
| 67 | align-items: center; |
| 68 | gap: 0.5em; |
| 69 | max-width: 100vw; |
| 70 | box-sizing: border-box; |
| 71 | padding: 0 1rem; |
| 72 | } |
| 73 | |
| 74 | &__title-text { |
| 75 | overflow: hidden; |
| 76 | text-overflow: ellipsis; |
| 77 | display: -webkit-box; |
| 78 | -webkit-line-clamp: 2; |
| 79 | -webkit-box-orient: vertical; |
| 80 | } |
| 81 | |
| 82 | &__header-icon { |
| 83 | transition: background-color 0.2s ease; |
| 84 | background-color: rgba(255, 255, 255, 0.1); |
| 85 | display: flex; |
| 86 | height: 35px; |
| 87 | width: 35px; |
| 88 | align-items: center; |
| 89 | justify-content: center; |
| 90 | border-radius: 50%; |
| 91 | padding: 5px; |
| 92 | |
| 93 | &:hover { |
| 94 | background-color: rgba(255, 255, 255, 0.05); |
| 95 | cursor: pointer; |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | .pp-video { |
| 101 | display: flex; |
| 102 | flex-direction: column; |
| 103 | align-items: center; |
| 104 | justify-content: center; |
| 105 | max-width: 100vw; |
| 106 | margin: auto; |
| 107 | padding: 0 1rem; |
| 108 | box-sizing: border-box; |
| 109 | |
| 110 | >* { |
| 111 | width: 100%; |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | .pp-status-tag { |
| 116 | display: inline-flex; |
| 117 | align-items: center; |
| 118 | border: none; |
| 119 | line-height: 1; |
| 120 | white-space: nowrap; |
| 121 | user-select: none; |
| 122 | font-weight: bold; |
| 123 | font-size: 0.85em; |
| 124 | border-radius: 9999px; |
| 125 | padding: 0 0.5em; |
| 126 | background: gray; |
| 127 | color: black; |
| 128 | line-height: 1.4; |
| 129 | font-size: 12px; |
| 130 | } |
| 131 | } |