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.

122 lines
3.5 KiB

  1. /**********************************************************************************
  2. *
  3. * Copyright (C) 2017 MuK IT GmbH
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU Affero General Public License as
  7. * published by the Free Software Foundation, either version 3 of the
  8. * License, or (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU Affero General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Affero General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. *
  18. **********************************************************************************/
  19. .o_form_view {
  20. .o_form_sheet_bg {
  21. background: $o-webclient-background-color;
  22. border-bottom: 1px solid gray('300');
  23. > .o_form_sheet {
  24. background-color: $o-view-background-color;
  25. border: 1px solid gray('400');
  26. box-shadow: 0 5px 20px -15px black;
  27. max-width: calc(100% - #{$o-horizontal-padding*2});
  28. }
  29. .oe_button_box {
  30. .btn.oe_stat_button > .o_button_icon {
  31. color: $o-brand-odoo;
  32. }
  33. }
  34. .o_notebook {
  35. .table-responsive {
  36. overflow-x: inherit;
  37. }
  38. }
  39. }
  40. @include media-breakpoint-down(sm) {
  41. .o_form_sheet, .oe_chatter {
  42. min-width: 100% !important;
  43. max-width: 100% !important;
  44. }
  45. .o_group_col_6 {
  46. width: 100%;
  47. }
  48. .o_statusbar_buttons_dropdown {
  49. border: {
  50. bottom: 0;
  51. radius: 0;
  52. top: 0;
  53. }
  54. height: 100%;
  55. }
  56. .o_statusbar_buttons > .btn {
  57. border-radius: 0;
  58. border: 0;
  59. width: 100%;
  60. margin-bottom: 0.2rem;
  61. &:last-child {
  62. margin-bottom: 0;
  63. }
  64. }
  65. .o_statusbar_status {
  66. .o_arrow_button:first-child::before {
  67. content: none;
  68. display: none;
  69. }
  70. }
  71. .app_settings_block {
  72. .row {
  73. margin: 0;
  74. }
  75. }
  76. }
  77. @include media-breakpoint-down(xs) {
  78. .oe_button_box {
  79. float: none;
  80. display: block;
  81. text-align: right;
  82. margin-top: -17px;
  83. margin-bottom: $o-sheet-vpadding;
  84. margin-left: -$o-horizontal-padding;
  85. width: calc(100% + #{$o-horizontal-padding*2});
  86. > .btn.oe_stat_button {
  87. flex: 0 0 auto !important;
  88. width: percentage(1/3) !important;
  89. }
  90. > .btn.o_button_more, > .o_dropdown_more {
  91. flex: 0 0 auto !important;
  92. width: calc(#{percentage(1/3)} + 3px) !important;
  93. }
  94. &, & + .oe_avatar {
  95. + .oe_title {
  96. width: 100%;
  97. }
  98. }
  99. }
  100. }
  101. }
  102. .mk_chatter_position_sided {
  103. @include media-breakpoint-up(xl) {
  104. .o_form_view:not(.o_form_nosheet) {
  105. display: flex;
  106. flex-flow: row nowrap;
  107. height: 100%;
  108. .o_form_sheet_bg {
  109. flex: 1 1 65%;
  110. overflow: auto;
  111. }
  112. .o_chatter {
  113. border-left: 1px solid gray('400');
  114. flex: 1 1 35%;
  115. max-width: 40%;
  116. min-width: 30%;
  117. overflow: auto;
  118. }
  119. }
  120. }
  121. }