2020-09-16 13:32:22 +00:00
|
|
|
body.iframe-mode {
|
|
|
|
.main-sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.content-wrapper {
|
|
|
|
margin-left: 0 !important;
|
2020-09-18 10:54:44 +00:00
|
|
|
margin-top: 0 !important;
|
|
|
|
padding-bottom: 0 !important;
|
2020-09-16 13:32:22 +00:00
|
|
|
}
|
|
|
|
.main-header,
|
|
|
|
.main-footer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-03 13:43:47 +00:00
|
|
|
body.iframe-mode-fullscreen {
|
2020-10-03 13:43:15 +00:00
|
|
|
overflow: hidden;
|
2021-09-17 21:42:08 +00:00
|
|
|
|
|
|
|
&.layout-navbar-fixed .wrapper .content-wrapper {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
2020-10-03 13:43:15 +00:00
|
|
|
}
|
|
|
|
|
2020-09-16 13:32:22 +00:00
|
|
|
.content-wrapper {
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&.iframe-mode {
|
2021-02-17 10:23:12 +00:00
|
|
|
.btn-iframe-close {
|
|
|
|
color: $danger;
|
|
|
|
position: absolute;
|
|
|
|
line-height: 1;
|
|
|
|
right: .125rem;
|
|
|
|
top: .125rem;
|
|
|
|
z-index: 10;
|
2021-03-04 07:04:09 +00:00
|
|
|
visibility: hidden;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
animation-name: fadeIn;
|
|
|
|
animation-duration: $transition-speed;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2021-03-09 13:40:02 +00:00
|
|
|
|
2021-09-17 21:42:08 +00:00
|
|
|
@include on-touch-device() {
|
2021-03-09 13:40:02 +00:00
|
|
|
visibility: visible;
|
|
|
|
}
|
2021-02-17 10:23:12 +00:00
|
|
|
}
|
2020-09-20 09:16:39 +00:00
|
|
|
.navbar-nav {
|
|
|
|
overflow-y: auto;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.nav-link {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2021-02-17 10:23:12 +00:00
|
|
|
.nav-item {
|
|
|
|
position: relative;
|
2021-03-04 07:04:09 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
.btn-iframe-close {
|
|
|
|
animation-name: fadeIn;
|
|
|
|
animation-duration: $transition-speed;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
visibility: visible;
|
2021-03-09 13:40:02 +00:00
|
|
|
|
2021-09-17 21:42:08 +00:00
|
|
|
@include on-touch-device() {
|
2021-03-09 13:40:02 +00:00
|
|
|
visibility: visible;
|
|
|
|
}
|
2021-03-04 07:04:09 +00:00
|
|
|
}
|
|
|
|
}
|
2021-02-17 10:23:12 +00:00
|
|
|
}
|
2020-09-20 09:16:39 +00:00
|
|
|
}
|
2020-09-19 12:51:15 +00:00
|
|
|
.tab-content {
|
|
|
|
position: relative;
|
|
|
|
}
|
2021-02-17 07:43:08 +00:00
|
|
|
.tab-pane + .tab-empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-09-18 10:54:44 +00:00
|
|
|
.tab-empty {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-09-19 12:51:15 +00:00
|
|
|
.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%;
|
|
|
|
}
|
|
|
|
}
|
2020-09-18 10:54:44 +00:00
|
|
|
|
2020-09-16 13:32:22 +00:00
|
|
|
iframe {
|
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-01-01 13:29:57 +00:00
|
|
|
margin-bottom: -8px;
|
2020-09-18 10:54:44 +00:00
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
}
|
2020-09-16 13:32:22 +00:00
|
|
|
}
|
2020-10-03 13:43:15 +00:00
|
|
|
|
2020-10-03 13:43:47 +00:00
|
|
|
body.iframe-mode-fullscreen & {
|
2020-10-03 13:43:15 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
margin-left: 0 !important;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
z-index: $zindex-main-sidebar + 10;
|
|
|
|
}
|
2020-09-16 13:32:22 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-20 22:08:32 +00:00
|
|
|
|
|
|
|
.permanent-btn-iframe-close {
|
|
|
|
.btn-iframe-close {
|
|
|
|
animation: none !important;
|
|
|
|
visibility: visible !important;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2021-09-17 23:28:18 +00:00
|
|
|
|
|
|
|
@include dark-mode () {
|
|
|
|
.content-wrapper.iframe-mode {
|
|
|
|
.tab-loading {
|
|
|
|
background-color: $dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|