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.

64 lines
1.7 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_list_view.table,
  20. .o_list_view.table thead,
  21. .o_list_view.table tfoot,
  22. .o_list_view.table td,
  23. .o_list_view.table th {
  24. border: none;
  25. }
  26. .o_list_view.table thead {
  27. background-color: white;
  28. th.o_column_sortable:hover {
  29. background-color: white;
  30. }
  31. }
  32. .table-striped > tbody > tr {
  33. background-color: white;
  34. &:nth-of-type(2n+1) {
  35. background-color: gray('200');
  36. }
  37. &:hover {
  38. background-color: gray('300');
  39. }
  40. }
  41. .o_list_view_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('300');
  48. box-shadow: inset 0 1px 0 gray('400');
  49. }
  50. &:hover {
  51. background-color: gray('300');
  52. }
  53. }
  54. .o_list_view tfoot {
  55. background-color: $o-brand-odoo;
  56. color: white;
  57. cursor: default;
  58. font-weight: normal;
  59. }