| 1 |
/** |
| 2 |
* Embed Privacy Design file. |
| 3 |
* |
| 4 |
* @author Epiphyt |
| 5 |
* @license GPL2 |
| 6 |
* @package epiphyt\Embed_Privacy |
| 7 |
*/ |
| 8 |
.embed-privacy-container { |
| 9 |
margin-bottom: 1.5em; |
| 10 |
} |
| 11 |
|
| 12 |
.embed-privacy-content { |
| 13 |
position: relative; |
| 14 |
z-index: 10; |
| 15 |
} |
| 16 |
|
| 17 |
.embed-privacy-overlay { |
| 18 |
background-color: rgba(0, 0, 0, 0.7); |
| 19 |
box-sizing: border-box; |
| 20 |
color: #ddd; |
| 21 |
cursor: pointer; |
| 22 |
display: table; |
| 23 |
height: 100%; |
| 24 |
min-height: 200px; |
| 25 |
max-width: 100%; |
| 26 |
padding: 20px; |
| 27 |
position: relative; |
| 28 |
transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out; |
| 29 |
width: 100%; |
| 30 |
z-index: 100; |
| 31 |
} |
| 32 |
@media (min-width: 768px) { |
| 33 |
.embed-privacy-overlay { |
| 34 |
min-height: 300px; |
| 35 |
} |
| 36 |
} |
| 37 |
.embed-privacy-overlay label, |
| 38 |
.embed-privacy-overlay p { |
| 39 |
color: #ddd; |
| 40 |
cursor: pointer; |
| 41 |
font-weight: 400; |
| 42 |
margin: 0; |
| 43 |
text-align: center; |
| 44 |
transition: color 0.25s ease-in-out; |
| 45 |
} |
| 46 |
.embed-privacy-overlay:hover { |
| 47 |
background-color: rgba(0, 0, 0, 0.8); |
| 48 |
color: #fff; |
| 49 |
} |
| 50 |
.embed-privacy-overlay:hover .embed-privacy-logo { |
| 51 |
opacity: 1; |
| 52 |
} |
| 53 |
.embed-privacy-overlay:hover label, |
| 54 |
.embed-privacy-overlay:hover p { |
| 55 |
color: #fff; |
| 56 |
} |
| 57 |
|
| 58 |
.embed-privacy-inner { |
| 59 |
display: table-cell; |
| 60 |
vertical-align: middle; |
| 61 |
} |
| 62 |
|
| 63 |
.embed-privacy-logo { |
| 64 |
background-position: center top; |
| 65 |
background-repeat: no-repeat; |
| 66 |
background-size: contain; |
| 67 |
height: 48px; |
| 68 |
margin-bottom: 30px; |
| 69 |
opacity: 0.8; |
| 70 |
transition: opacity 0.25s ease-in-out; |
| 71 |
} |
| 72 |
|
| 73 |
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .embed-privacy-container, .wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .embed-privacy-container, .wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .embed-privacy-container, .wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .embed-privacy-container, .wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .embed-privacy-container, .wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .embed-privacy-container, .wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .embed-privacy-container { |
| 74 |
bottom: 0; |
| 75 |
height: 100%; |
| 76 |
left: 0; |
| 77 |
position: absolute; |
| 78 |
right: 0; |
| 79 |
top: 0; |
| 80 |
width: 100%; |
| 81 |
} |