modules/youtube.lazyload.less
raw| 1 | .ext-YouTube-video--lazy { |
| 2 | position: relative; |
| 3 | display: inline-block; |
| 4 | &:after { |
| 5 | position: absolute; |
| 6 | content: "▶"; |
| 7 | font-size: 30px; |
| 8 | left: 0; |
| 9 | text-align: center; |
| 10 | z-index: 100; |
| 11 | top: 0; |
| 12 | color: #fff; |
| 13 | width: 100%; |
| 14 | height: 100%; |
| 15 | display: flex; |
| 16 | align-items: center; |
| 17 | justify-content: center; |
| 18 | } |
| 19 | &:hover { |
| 20 | cursor: pointer; |
| 21 | &:after { |
| 22 | background-color: rgba(255, 255, 255, 0.1); |
| 23 | } |
| 24 | } |
| 25 | } |