You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.1 KiB

  1. /**********************************************************************************
  2. *
  3. * Copyright (c) 2017-2019 MuK IT GmbH.
  4. *
  5. * This file is part of MuK Preview
  6. * (see https://mukit.at).
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU Lesser General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. *
  21. **********************************************************************************/
  22. .o_form_view.mk_preview_sidebar_active {
  23. @include media-breakpoint-down(xl, $o-extra-grid-breakpoints) {
  24. .mk_preview_sidebar {
  25. display: none;
  26. }
  27. }
  28. @include media-breakpoint-up(xxl, $o-extra-grid-breakpoints) {
  29. display: flex;
  30. height: 100%;
  31. flex-flow: row nowrap;
  32. .mk_preview_sidebar {
  33. left: auto ! important;
  34. border-left: 1px solid gray('400');
  35. min-width: $mk-preview-sidebar-min-width;
  36. max-width: $mk-preview-sidebar-max-width;
  37. overflow: hidden;
  38. flex: 1 1 auto;
  39. height: 100%;
  40. }
  41. .o_form_sheet_bg {
  42. min-width: $mk-preview-form-min-width;
  43. flex: 1 1 auto;
  44. overflow: auto;
  45. > .oe_chatter {
  46. width: map-get($container-max-widths, xl);
  47. max-width: calc(100% - #{$o-horizontal-padding*2});
  48. background-color: $o-view-background-color;
  49. border: 1px solid gray('400');
  50. box-shadow: 0 5px 20px -15px black;
  51. }
  52. }
  53. .ui-resizable-w {
  54. cursor: ew-resize;
  55. width: 8px;
  56. }
  57. }
  58. }