mirror of https://github.com/ColorlibHQ/AdminLTE
65 lines
1.0 KiB
SCSS
65 lines
1.0 KiB
SCSS
body.iframe-mode {
|
|
.main-sidebar {
|
|
display: none;
|
|
}
|
|
.content-wrapper {
|
|
margin-left: 0 !important;
|
|
margin-top: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
}
|
|
.main-header,
|
|
.main-footer {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.content-wrapper {
|
|
height: 100%;
|
|
|
|
&.iframe-mode {
|
|
.navbar-nav {
|
|
overflow-y: auto;
|
|
width: 100%;
|
|
|
|
.nav-link {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
.tab-content {
|
|
position: relative;
|
|
}
|
|
.tab-empty {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.tab-loading {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
display: none;
|
|
background-color: $main-bg;
|
|
|
|
> div {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
iframe {
|
|
border: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.content-wrapper {
|
|
padding-bottom: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
}
|