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.

90 lines
2.3 KiB

  1. /**********************************************************************************
  2. *
  3. * Copyright (c) 2017-2019 MuK IT GmbH.
  4. *
  5. * This file is part of MuK Backend 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. .o_list_view.table {
  23. overflow-x: hidden;
  24. }
  25. .o_list_view.table,
  26. .o_list_view.table thead,
  27. .o_list_view.table tfoot,
  28. .o_list_view.table td,
  29. .o_list_view.table th {
  30. border: none;
  31. }
  32. .o_list_view.table thead {
  33. background-color: white;
  34. th.o_column_sortable:hover {
  35. background-color: white;
  36. }
  37. }
  38. .table-striped > tbody > tr {
  39. background-color: white;
  40. &:nth-of-type(2n+1) {
  41. background-color: gray('200');
  42. }
  43. &:hover {
  44. background-color: gray('300');
  45. }
  46. }
  47. .o_list_view_grouped.table tbody tr {
  48. &:nth-of-type(2n+1) {
  49. background-color: white;
  50. }
  51. &.o_group_header {
  52. background-image: none;
  53. background-color: gray('300');
  54. box-shadow: inset 0 1px 0 gray('400');
  55. }
  56. &:hover {
  57. background-color: gray('300');
  58. }
  59. }
  60. .o_list_view tfoot {
  61. color: white;
  62. cursor: default;
  63. font-weight: normal;
  64. }
  65. .o_content, .modal-content {
  66. > div > .table-responsive {
  67. overflow-x: initial;
  68. > .o_list_view {
  69. thead, thead tr:nth-child(1) th {
  70. border-bottom: solid 1px gray('300');
  71. background-color: white;
  72. position: sticky;
  73. z-index: 1;
  74. top: 0;
  75. }
  76. tfoot, tfoot tr:nth-child(1) td {
  77. background-color: $o-list-footer-bg-color;
  78. position: sticky;
  79. bottom: 0;
  80. }
  81. }
  82. }
  83. }