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.

75 lines
2.0 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. .o_list_view {
  23. table {
  24. overflow-x: hidden;
  25. }
  26. table, thead, tfoot, td, th {
  27. border: none !important;
  28. }
  29. thead {
  30. background-color: white;
  31. th.o_column_sortable:hover {
  32. background-color: white;
  33. }
  34. }
  35. tfoot {
  36. color: white !important;
  37. cursor: default;
  38. font-weight: normal;
  39. }
  40. }
  41. .o_list_table_grouped.table tbody tr {
  42. &:nth-of-type(2n+1) {
  43. background-color: white;
  44. }
  45. &.o_group_header {
  46. background-image: none;
  47. background-color: gray('200');
  48. box-shadow: inset 0 1px 0 gray('300');
  49. }
  50. &:hover {
  51. background-color: gray('200');
  52. }
  53. }
  54. .o_content, .modal-content {
  55. > div > .table-responsive {
  56. overflow-x: initial;
  57. > .o_list_view {
  58. thead, thead tr:nth-child(1) th {
  59. border-bottom: solid 1px gray('300');
  60. background-color: white;
  61. position: sticky;
  62. z-index: 1;
  63. top: 0;
  64. }
  65. tfoot, tfoot tr:nth-child(1) td {
  66. background-color: $o-list-footer-bg-color;
  67. position: sticky;
  68. bottom: 0;
  69. }
  70. }
  71. }
  72. }