matrix-dimension/web/app/widget-wrappers/generic/generic.component.scss

51 lines
913 B
SCSS

// component styles are encapsulated and only applied to their components
@import "../../../style/themes/themes";
@include themifyComponent() {
.control-page {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: 0;
padding: 0;
background-color: themed(genericControlBgColor);
color: themed(genericControlFgColor);
}
.loading-badge {
text-align: center;
font-size: 20px;
position: relative;
top: calc(50% - 10px);
}
.embed-failed {
text-align: center;
position: relative;
height: 300px;
top: calc(50% - 150px);
}
.embed-failed .ban {
font-size: 145px;
color: themed(widgetBannedSymbolColor);
}
iframe {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
}
.toggleFullscreen {
position: fixed;
bottom: 10px;
right: 10px;
}
}