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.

98 lines
2.9 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. @include media-breakpoint-down(sm) {
  20. .o_control_panel {
  21. .breadcrumb, .o_cp_buttons, .o_cp_left, .o_cp_right, .o_cp_searchview {
  22. flex: 1 1 100%;
  23. @include media-breakpoint-up(md) {
  24. flex-basis: 50%;
  25. }
  26. }
  27. .breadcrumb {
  28. max-width: 80%;
  29. overflow: hidden;
  30. display: block;
  31. white-space: nowrap;
  32. text-overflow: ellipsis;
  33. }
  34. .o_cp_searchview {
  35. overflow: hidden;
  36. max-width: 20%;
  37. min-width: 20%;
  38. text-align: right;
  39. .o_searchview {
  40. border: none;
  41. padding: 3.5px 5px;
  42. .o_enable_searchview {
  43. margin-left: 0;
  44. box-shadow: none;
  45. &:before {
  46. padding-right: 5px;
  47. }
  48. }
  49. }
  50. }
  51. .o_cp_left, .o_cp_right {
  52. width: auto;
  53. flex: 1 1 auto;
  54. }
  55. .breadcrumb-item {
  56. &:not(.active) {
  57. padding-left: 0;
  58. }
  59. &::before {
  60. content: none;
  61. padding-right: 0;
  62. }
  63. &:nth-last-of-type(1n+3) {
  64. display: none;
  65. }
  66. &:nth-last-of-type(2) {
  67. &::before {
  68. content: "\f053";
  69. cursor: pointer;
  70. color: $o-brand-primary;
  71. font-family: FontAwesome;
  72. }
  73. a {
  74. display: none;
  75. }
  76. }
  77. }
  78. .o_cp_buttons .btn.d-block:not(.d-none) {
  79. display: inline-block !important;
  80. }
  81. .o_cp_switch_buttons.show {
  82. .dropdown-menu {
  83. display: flex;
  84. flex-direction: row;
  85. align-content: center;
  86. justify-content: space-around;
  87. padding: 0;
  88. .btn {
  89. border: {
  90. bottom: 0;
  91. radius: 0;
  92. top: 0;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. }