diff --git a/view/css/mod_chat.css b/view/css/mod_chat.css index 75e858542..3dd8309d3 100644 --- a/view/css/mod_chat.css +++ b/view/css/mod_chat.css @@ -107,17 +107,3 @@ aside { .leave { color: red; } - -.generic-content-wrapper.fullscreen { - position: fixed; - width: 100%; - height: 100%; - top: 0px; - left: 0px; - border-radius: 0px; - z-index: 10000; -} - -.generic-content-wrapper.fullscreen .section-title-wrapper { - border-radius: 0px; -} diff --git a/view/js/main.js b/view/js/main.js index 04b317914..d6d1238d4 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1451,3 +1451,16 @@ function zid(s) { return s; } + +function makeFullScreen(full) { + if(typeof full=='undefined' || full == true) { + $('#fullscreen, aside').hide(); + $('#inline').show(); + $('.generic-content-wrapper').addClass('fullscreen'); + } + else { + $('#fullscreen, aside').show(); + $('#inline').hide(); + $('.generic-content-wrapper').removeClass('fullscreen'); + } +} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 443f96da9..3172a6520 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1518,6 +1518,20 @@ nav .dropdown-menu { word-wrap: break-word; } +.generic-content-wrapper.fullscreen { + position: fixed; + width: 100%; + height: 100%; + top: 0px; + left: 0px; + border-radius: 0px; + z-index: 10000; +} + +.generic-content-wrapper.fullscreen .section-title-wrapper { + border-radius: 0px; +} + .chatroom-index-row:hover td, .locs-index-row:hover td, [id^="cloud-index-"]:hover td, diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl index 1001f28b3..47b1e83b1 100644 --- a/view/tpl/chat.tpl +++ b/view/tpl/chat.tpl @@ -1,8 +1,8 @@