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.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. }