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.

109 lines
3.7 KiB

  1. /**********************************************************************************
  2. *
  3. * Copyright (c) 2017-2019 MuK IT GmbH.
  4. *
  5. * This file is part of MuK Backend Theme Mail
  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 {
  23. @include media-breakpoint-down(sm) {
  24. .o_chatter {
  25. .o_thread_composer {
  26. padding-left: $o-mail-thread-avatar-size * 0.5;
  27. .o_chatter_avatar {
  28. display: none;
  29. }
  30. }
  31. .o_chatter_topbar {
  32. height: auto;
  33. flex-wrap: wrap-reverse;
  34. margin-top: $grid-gutter-width* 0.25;
  35. > .o_topbar_right_area {
  36. max-width: 100%;
  37. min-width: 100%;
  38. flex-basis: 100%;
  39. display: flex;
  40. flex: 1 0 auto;
  41. flex-wrap: wrap;
  42. justify-content: space-between;
  43. border-bottom: 1px solid gray('300');
  44. .o_followers {
  45. display: initial !important;
  46. margin-bottom: 0;
  47. }
  48. }
  49. > .o_active {
  50. border-top: none;
  51. }
  52. .o_chatter_button_attachment {
  53. margin-right: 5px;
  54. }
  55. }
  56. }
  57. }
  58. }
  59. .mk_chatter_position_sided {
  60. @include media-breakpoint-up(xxl, $o-extra-grid-breakpoints) {
  61. .o_form_view:not(.o_form_nosheet) > .o_chatter {
  62. .o_chatter_topbar {
  63. top: -1px;
  64. z-index: 2;
  65. height: auto;
  66. position: sticky;
  67. flex-wrap: wrap-reverse;
  68. background-color: $o-view-background-color;
  69. margin-top: $grid-gutter-width* 0.25;
  70. > .o_topbar_right_area {
  71. max-width: 100%;
  72. min-width: 100%;
  73. flex-basis: 100%;
  74. display: flex;
  75. flex: 1 0 auto;
  76. flex-wrap: wrap;
  77. justify-content: space-between;
  78. border-bottom: 1px solid gray('300');
  79. .o_followers {
  80. margin-bottom: 0;
  81. min-width: 100px;
  82. }
  83. }
  84. > .o_active {
  85. border-top: none;
  86. }
  87. > .btn-link {
  88. border-top: none;
  89. border-bottom: none;
  90. }
  91. .o_chatter_button_attachment {
  92. margin-right: 5px;
  93. }
  94. }
  95. .o_thread_composer {
  96. position: sticky;
  97. border: 1px solid gray('300');
  98. background-color: $o-view-background-color;
  99. z-index: 1;
  100. top: 68px;
  101. .o_composer_mention_dropdown > .dropdown-menu.show {
  102. top: 100%;
  103. bottom: auto;
  104. }
  105. }
  106. }
  107. }
  108. }