_handsontable.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .handsontable {
  2. .handsontableInput {
  3. max-width: 290px !important;
  4. }
  5. td {
  6. word-break: break-all;
  7. }
  8. }
  9. // expanded window layout
  10. .handsontable-modal.handsontable-modal-expanded {
  11. // full-screen modal
  12. width: 97%;
  13. height: 95%;
  14. .modal-content {
  15. height: 95%;
  16. }
  17. // expand .modal-body (with calculating height)
  18. .modal-body {
  19. $modal-header: 54px;
  20. $modal-footer: 46px;
  21. $margin: $modal-header + $modal-footer;
  22. height: calc(100% - #{$margin});
  23. // expand .hot-table-container (with flexbox)
  24. .hot-table-container {
  25. flex: 1;
  26. }
  27. }
  28. }
  29. // Prevent handsontable/handsontable #2937 (Manual column resize does not work when handsontable is loaded inside Bootstrap 3.0 Modal)
  30. // see https://github.com/handsontable/handsontable/issues/2937#issuecomment-287390111
  31. .modal.in .modal-dialog.handsontable-modal {
  32. transform: none;
  33. .modal-navbar {
  34. background-color: $navbar-default-bg;
  35. border-bottom: $border 1px solid;
  36. }
  37. .data-import-form {
  38. color: $headingtext;
  39. background-color: $navbar-default-bg;
  40. .btn + .btn {
  41. margin-left: 5px;
  42. }
  43. }
  44. .data-import-button {
  45. position: relative;
  46. padding-right: 35px;
  47. padding-left: 10px;
  48. i:before {
  49. position: absolute;
  50. top: 6px;
  51. right: 8px;
  52. font-size: 20px;
  53. }
  54. }
  55. }