spreadsheet.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /*First level inside of Component, but outside of shadowroot*/
  2. /*#element {
  3. display: block;
  4. margin: auto;
  5. border-style: solid;
  6. border-width: 2px;
  7. border-color: blue;
  8. }*/
  9. #element * {
  10. margin: 0px;
  11. padding: 0px;
  12. }
  13. .barContainer {
  14. display: flex;
  15. overflow: hidden;
  16. background-color: white;
  17. }
  18. .controlBarContainer {
  19. position: sticky;
  20. top: 0;
  21. }
  22. .selected {
  23. background-color: #ccfff5 !important;
  24. }
  25. .content {
  26. display: inline-block;
  27. min-width: fit-content;
  28. height: fit-content;
  29. border: 1px solid black;
  30. margin: 5px;
  31. }
  32. .static {
  33. text-align: center;
  34. width: fit-content;
  35. font-size: 18px;
  36. }
  37. .dynamic {
  38. width: 100%;
  39. font-size: 18px;
  40. }
  41. #selectedCellRange {
  42. min-width: 130px;
  43. font-weight: bold;
  44. }
  45. #formulaSign {
  46. min-width: 30px;
  47. }
  48. #formula {
  49. width: 100%;
  50. }
  51. .action {
  52. width: 100%;
  53. font-weight: bold;
  54. font-size: 20px;
  55. }
  56. .action:hover {
  57. background-color: lightgray;
  58. }
  59. /*Figure out how to use all available space of parent element without overlapping it.*/
  60. #tableContainer {
  61. /*This restriction is not needed since i want to use the complete available parent width.*/
  62. /*min-width: 540px;/*960px;*/
  63. /*max-width: 960px;/*1920px;*/
  64. /*min-height: 304px;/*540px;*/
  65. /*max-height: 540px;/*1080px;*/
  66. overflow: auto;
  67. /*overflow: hidden;*/
  68. }
  69. .Table {
  70. display: table;
  71. /*border-collapse: collapse;*/
  72. table-layout: fixed;
  73. border-spacing: 0;
  74. width: 100%;
  75. }
  76. .TableRow {
  77. display: table-row;
  78. }
  79. .TableHeading {
  80. display: table-header-group;
  81. }
  82. .TableBody {
  83. display: table-row-group;
  84. }
  85. .TableFoot {
  86. display: table-footer-group;
  87. }
  88. .TableCell, .TableHead {
  89. display: table-cell;
  90. border: 1px solid;
  91. width: 80px;
  92. height: 20px;
  93. text-align: center;
  94. overflow: hidden;
  95. white-space: nowrap;
  96. }
  97. .indexCell {
  98. font-weight: bold;
  99. font-size: 18px;
  100. background-color: lightgray;
  101. }