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
4.0 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_kanban_with_searchpanel {
  20. display: flex;
  21. flex-flow: row wrap;
  22. align-items: flex-start;
  23. .o_onboarding_container {
  24. flex: 1 1 100%;
  25. }
  26. .o_kanban_view {
  27. flex: 1 1 calc(100% - #{$o-searchpanel-w});
  28. overflow: auto;
  29. max-height: 100%;
  30. }
  31. .o_search_panel {
  32. flex: 0 0 $o-searchpanel-w;
  33. overflow: auto;
  34. height: 100%;
  35. padding: $o-searchpanel-p-small $o-searchpanel-p-small $o-searchpanel-p*2 $o-searchpanel-p;
  36. border-right: 1px solid $gray-300;
  37. background-color: white;
  38. position: relative;
  39. .o_search_panel_loading {
  40. position: absolute;
  41. margin-top: -30px;
  42. margin-left: -30px;
  43. margin-bottom: 0;
  44. margin-right: 0;
  45. font-size: 60px;
  46. height: 60px;
  47. width: 60px;
  48. left: 50%;
  49. top: 50%;
  50. }
  51. .o_search_panel_category .o_search_panel_section_icon {
  52. color: $o-searchpanel-category-default-color;
  53. }
  54. .o_search_panel_filter .o_search_panel_section_icon {
  55. color: $o-searchpanel-filter-default-color;
  56. }
  57. .o_search_panel_label {
  58. cursor: pointer;
  59. user-select: none;
  60. .o_toggle_fold {
  61. padding: 3px;
  62. }
  63. }
  64. .o_search_panel_section_header {
  65. padding: $o-searchpanel-p-small 0;
  66. }
  67. .list-group-item {
  68. padding: 0 0 $o-searchpanel-p-small 0;
  69. .list-group-item {
  70. padding: 0 0 0 $custom-control-gutter;
  71. margin-bottom: $o-searchpanel-p-tiny*0.5;
  72. &:first-child {
  73. margin-top: $o-searchpanel-p-tiny*0.5;
  74. }
  75. }
  76. span.o_search_panel_label_title {
  77. color: $headings-color;
  78. @include o-text-overflow(inline-block, calc(100% - 22px));
  79. }
  80. header.active {
  81. background-color: $list-group-action-active-bg;
  82. }
  83. }
  84. .o_search_panel_category_value {
  85. header {
  86. margin-left: -$o-searchpanel-p-tiny;
  87. padding-left: $o-searchpanel-p-tiny;
  88. }
  89. .o_search_panel_category_value {
  90. position: relative;
  91. padding-left: $o-searchpanel-p;
  92. padding-bottom: $o-searchpanel-p-tiny;
  93. margin-bottom: 0;
  94. &:before, &:after {
  95. @include o-position-absolute(0, $left: $o-searchpanel-p-tiny)
  96. @include size(1px, 100%);
  97. background: $gray-500;
  98. content: '';
  99. }
  100. &:after {
  101. top: 10px;
  102. @include size(8px, 1px);
  103. }
  104. &:last-child {
  105. &:before {
  106. height: 11px;
  107. }
  108. &:after {
  109. top: 11px;
  110. }
  111. }
  112. }
  113. }
  114. }
  115. }