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.

100 lines
3.4 KiB

  1. /**********************************************************************************
  2. *
  3. * Copyright (c) 2017-today MuK IT GmbH.
  4. *
  5. * This file is part of MuK Theme
  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. @include media-breakpoint-down(sm) {
  23. .o_kanban_view.o_kanban_grouped {
  24. display: block;
  25. position: relative;
  26. overflow-x: hidden;
  27. .o_kanban_mobile_tabs_container {
  28. position: sticky;
  29. display: flex;
  30. justify-content: space-between;
  31. width: 100%;
  32. top: 0;
  33. z-index: 1;
  34. background-color: #5E5E5E;
  35. .o_kanban_mobile_add_column {
  36. height: $o-kanban-mobile-tabs-height;
  37. padding: 10px;
  38. border-left: grey 1px solid;
  39. color: white;
  40. font-size: 14px;
  41. }
  42. .o_kanban_mobile_tabs {
  43. position: relative;
  44. display: flex;
  45. width: 100%;
  46. height: $o-kanban-mobile-tabs-height;
  47. overflow-x: auto;
  48. .o_kanban_mobile_tab {
  49. height: $o-kanban-mobile-tabs-height;
  50. padding: 10px 20px;
  51. font-size: 14px;
  52. color: white;
  53. &.o_current {
  54. font-weight: bold;
  55. border-bottom: 3px solid $o-brand-primary;
  56. }
  57. .o_column_title {
  58. white-space: nowrap;
  59. text-transform: uppercase;
  60. }
  61. }
  62. }
  63. }
  64. .o_kanban_columns_content {
  65. position: relative;
  66. }
  67. &[class] .o_kanban_group:not(.o_column_folded) {
  68. @include o-position-absolute($top: $o-kanban-mobile-tabs-height, $left: 0, $bottom: 0);
  69. width: 100%;
  70. padding: 0;
  71. margin-left: 0;
  72. border: none;
  73. &.o_current {
  74. position: inherit;
  75. top: 0;
  76. &.o_kanban_no_records {
  77. min-height: $o-kanban-mobile-empty-height;
  78. }
  79. }
  80. .o_kanban_header {
  81. display: none;
  82. }
  83. .o_kanban_record, .o_kanban_quick_create {
  84. border: none;
  85. border-bottom: 1px solid lightgray;
  86. padding: 10px 16px;
  87. margin: 0;
  88. }
  89. }
  90. }
  91. .o_kanban_view .o_column_quick_create {
  92. .o_quick_create_folded {
  93. display: none !important;
  94. }
  95. .o_quick_create_unfolded{
  96. width: 100%;
  97. }
  98. }
  99. }