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.

117 lines
2.3 KiB

7 years ago
7 years ago
7 years ago
  1. /* Copyright 2016 LasLabs Inc.
  2. * Copyright 2019 Alexandre Díaz
  3. * License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). */
  4. body {
  5. width: 100%;
  6. height: 100%;
  7. // Do not fix the search part, it's too big for small screens
  8. @media (max-width: @screen-sm-max) {
  9. overflow: inherit;
  10. .odoo {
  11. .oe-view-manager {
  12. overflow: inherit;
  13. }
  14. }
  15. }
  16. }
  17. main {
  18. width: 100%;
  19. height: 100%;
  20. overflow: hidden;
  21. }
  22. .navbar {
  23. z-index: 10;
  24. }
  25. .o_cp_switch_buttons {
  26. .active {
  27. z-index: 10;
  28. }
  29. }
  30. .o_sub_menu {
  31. .o_sub_menu_logo {
  32. display: none;
  33. }
  34. .o_sub_menu_footer {
  35. display: none;
  36. }
  37. }
  38. .o_tooltip.active {
  39. z-index: 1051;
  40. }
  41. .o_web_client {
  42. &.o_fullscreen {
  43. #oe_main_menu_navbar,
  44. .o_main .o_sub_menu,
  45. .navbar,
  46. .main-nav{
  47. display: none
  48. }
  49. }
  50. >.o_loading {
  51. z-index: 10;
  52. }
  53. >.o_main {
  54. overflow: auto;
  55. > .o_main_content {
  56. overflow: initial;
  57. > .o_content {
  58. @media (max-width: @screen-xs-max) {
  59. overflow: initial;
  60. }
  61. @media (min-width: @screen-sm-min) {
  62. // .o_content is the one to display horizontal scrolling in
  63. // case of wide tables
  64. .table-responsive {
  65. overflow-x: visible;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }
  72. @media (max-width: @screen-sm-max) {
  73. .o_control_panel {
  74. // Remove z-index from CP buttons so it doesn't overlap the menu
  75. .btn-group > .btn.active {
  76. z-index: initial;
  77. }
  78. // Better horizontal space usage for buttons
  79. justify-content: space-between;
  80. .o_cp_left, .o_cp_right {
  81. width: inherit;
  82. }
  83. .o_search_options > .o_dropdown {
  84. &.hidden-xs {
  85. // No other way to display "Group By" button :(
  86. display: inline-block !important;
  87. }
  88. // Hack to hide text and display larger icons
  89. > .btn {
  90. font-size: 0;
  91. > .fa {
  92. font-size: @odoo-font-size-base * 1.4;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. .o_chat_window {
  99. z-index: 1000;
  100. }