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.

_tree8.scss 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @import "treegrid";
  2. @mixin valo-tree8($primary-stylename: v-tree8) {
  3. @include valo-treegrid($primary-stylename);
  4. $tree-sel-bg: $v-grid-row-selected-background-color;
  5. .#{$primary-stylename} {
  6. background-color: transparent;
  7. }
  8. .#{$primary-stylename}-row > td {
  9. background-color: transparent;
  10. border: 0;
  11. line-height: 28px;
  12. > * {
  13. vertical-align: baseline;
  14. }
  15. }
  16. .#{$primary-stylename}-tablewrapper {
  17. background-color: transparent;
  18. border: none;
  19. }
  20. .#{$primary-stylename}-row {
  21. &::before {
  22. content: "";
  23. display: none;
  24. position: absolute;
  25. top: 0;
  26. left: 0;
  27. box-sizing: border-box;
  28. width: 100%;
  29. height: 100%;
  30. border-radius: $v-border-radius;
  31. pointer-events: none;
  32. border-width: 1px;
  33. }
  34. }
  35. .#{$primary-stylename}-cell {
  36. position: relative;
  37. }
  38. // Selected
  39. .#{$primary-stylename}-row-selected {
  40. > .#{$primary-stylename}-cell {
  41. background: transparent;
  42. }
  43. &::before {
  44. display: block;
  45. @include valo-gradient($tree-sel-bg);
  46. }
  47. }
  48. .#{$primary-stylename}:focus .#{$primary-stylename}-row-selected.#{$primary-stylename}-row-focused::before {
  49. border-color: transparent;
  50. box-shadow: inset 0 0 0 1px valo-font-color($tree-sel-bg);
  51. }
  52. // Scroll bar
  53. .#{$primary-stylename}-scroller-vertical {
  54. border: none;
  55. }
  56. .#{$primary-stylename}-scroller-horizontal {
  57. border: none;
  58. }
  59. .#{$primary-stylename}-header-deco,
  60. .#{$primary-stylename}-footer-deco,
  61. .#{$primary-stylename}-horizontal-scrollbar-deco {
  62. border: none;
  63. background: transparent;
  64. }
  65. }