meta-lightbox/dist/css/app.css

132 lines
3.0 KiB
CSS
Raw Normal View History

2021-01-30 22:00:13 +01:00
.sr-only {
2021-01-25 12:15:33 +01:00
position: absolute;
2021-01-30 22:00:13 +01:00
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0; }
.meta-MetaWindow .meta-spinner_embed,
.meta-MetaWindow .meta-spinner,
.meta-MetaWindow .meta-error {
display: none;
2021-01-25 12:15:33 +01:00
align-items: center;
justify-content: center;
2021-01-30 22:00:13 +01:00
z-index: 2;
2021-01-25 12:15:33 +01:00
text-align: center; }
2021-01-30 22:00:13 +01:00
.meta-MetaWindow .meta-spinner_embed,
.meta-MetaWindow .meta-spinner {
font-size: 2rem;
color: #fff;
font-weight: bold;
text-transform: uppercase;
2021-01-25 12:15:33 +01:00
position: absolute;
2021-01-30 22:00:13 +01:00
left: 0;
right: 0;
top: 0;
bottom: 0; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow .meta-spinner_embed {
display: flex; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow-overlay {
background: rgba(96, 125, 139, 0.8);
display: none;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
align-items: center;
justify-content: center; }
.meta-MetaWindow-overlay__open {
display: flex; }
.meta-MetaWindow-overlay__loading .meta-spinner {
display: flex; }
.meta-MetaWindow-overlay__error .meta-content {
justify-content: center; }
.meta-MetaWindow-overlay__error .meta-error {
display: flex; }
.meta-MetaWindow .meta-close {
font-size: 1.2rem;
color: #212121;
text-shadow: #fff 0 0 0.25em;
2021-01-25 12:15:33 +01:00
position: absolute;
2021-01-30 22:00:13 +01:00
top: 0;
right: 0;
padding: 0.5em 0.651em;
border: 0;
background: none;
z-index: 2; }
.meta-MetaWindow .meta-close:hover, .meta-MetaWindow .meta-close:focus {
color: #eceff1;
background: #2196f3;
text-shadow: none; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow .meta-content {
position: relative;
width: 90%;
height: 90%;
display: flex;
flex-direction: column; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow .meta-wrap {
2021-01-25 12:15:33 +01:00
max-height: 100%;
2021-01-30 22:00:13 +01:00
max-width: 100%;
2021-01-25 12:15:33 +01:00
width: 100%;
2021-01-30 22:00:13 +01:00
overflow: auto; }
.meta-MetaWindow .meta-wrap img {
max-width: 100%;
max-height: 100%; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow__text .meta-close {
background: #fff; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow__text .meta-content {
background: #fff;
color: #000;
padding: 1rem 1rem;
padding-right: 0; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow__text .meta-wrap {
padding-right: 1rem; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow__image .typography,
.meta-MetaWindow__image .meta-wrap, .meta-MetaWindow__video .typography,
.meta-MetaWindow__video .meta-wrap {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
max-height: 100%;
max-width: 100%;
min-height: 100%; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow__video:before, .meta-MetaWindow__embed:before {
content: "";
2021-01-25 12:15:33 +01:00
display: block;
2021-01-30 22:00:13 +01:00
position: relative;
width: 100%;
padding-top: 56.25%; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow__video a[rel='nofollow noreferrer noopener'], .meta-MetaWindow__embed a[rel='nofollow noreferrer noopener'] {
2021-01-25 12:15:33 +01:00
color: #fff;
2021-01-30 22:00:13 +01:00
font-size: 1.2rem;
font-weight: bold; }
.meta-MetaWindow__video a[rel='nofollow noreferrer noopener']:before, .meta-MetaWindow__embed a[rel='nofollow noreferrer noopener']:before {
content: 'Unable to load. Please follow the provided link: ';
display: block; }
2021-01-25 12:15:33 +01:00
2021-01-30 22:00:13 +01:00
.meta-MetaWindow__video iframe, .meta-MetaWindow__embed iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%; }
2021-01-25 12:15:33 +01:00