2
0

_vendor.handsontable.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. .handsontable {
  2. // Styles for the table cells
  3. .htCore {
  4. td,
  5. th {
  6. background-color: theme('backgroundColor.surface-field');
  7. color: theme('colors.text-context');
  8. }
  9. }
  10. // Styles for the context menu
  11. &.htMenu.htContextMenu td {
  12. background-color: theme('backgroundColor.surface-menus');
  13. color: theme('colors.text-label-menus-default');
  14. // Styles for hovered (and not disabled) context menu item
  15. &.current {
  16. background-color: theme('backgroundColor.surface-menu-item-active');
  17. color: theme('colors.text-label-menus-active');
  18. }
  19. // Styles for disabled context menu item
  20. &.htDisabled,
  21. &.htDisabled:hover {
  22. // TODO: Define more appropriate colours for disabled context menu items
  23. background-color: theme('backgroundColor.surface-button-inactive');
  24. color: theme('colors.text-label-menus-default');
  25. }
  26. }
  27. }
  28. // Styles for the active cell input (when editing a cell)
  29. .handsontableInputHolder {
  30. .handsontableInput {
  31. background-color: theme('backgroundColor.surface-field');
  32. color: theme('colors.text-context');
  33. }
  34. }