fixedheadertable.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /*!
  2. * jquery.fixedHeaderTable. The jQuery fixedHeaderTable plugin
  3. *
  4. * Copyright (c) 2011 Mark Malek
  5. * http://fixedheadertable.com
  6. *
  7. * Licensed under MIT
  8. * http://www.opensource.org/licenses/mit-license.php
  9. *
  10. * http://docs.jquery.com/Plugins/Authoring
  11. * jQuery authoring guidelines
  12. *
  13. * Launch : October 2009
  14. * Version : 1.3
  15. * Released: May 9th, 2011
  16. *
  17. *
  18. * all CSS sizing (width,height) is done in pixels (px)
  19. */
  20. /* @group Reset */
  21. .fht-table,
  22. .fht-table thead,
  23. .fht-table tfoot,
  24. .fht-table tbody,
  25. .fht-table tr,
  26. .fht-table th,
  27. .fht-table td {
  28. margin: 0;
  29. padding: 0;
  30. vertical-align:middle;
  31. }
  32. .fht-table {
  33. }
  34. .fht-table-wrapper,
  35. .fht-table-wrapper .fht-thead,
  36. .fht-table-wrapper .fht-tfoot,
  37. .fht-table-wrapper .fht-fixed-column .fht-tbody,
  38. .fht-table-wrapper .fht-fixed-body .fht-tbody,
  39. .fht-table-wrapper .fht-tbody {
  40. overflow: hidden;
  41. position: relative;
  42. }
  43. .fht-table-wrapper .fht-fixed-body .fht-tbody,
  44. .fht-table-wrapper .fht-tbody {
  45. overflow: auto;
  46. }
  47. .fht-table-wrapper .fht-table .fht-cell {
  48. overflow: hidden;
  49. height: 1px;
  50. }
  51. .fht-table-wrapper .fht-fixed-column,
  52. .fht-table-wrapper .fht-fixed-body {
  53. top: 0;
  54. left: 0;
  55. position: absolute;
  56. }
  57. .fht-table-wrapper .fht-fixed-column {
  58. z-index: 1;
  59. }
  60. .fancyTable td, .fancyTable th {
  61. border: 1px solid #d4d4d4;
  62. padding:3px;
  63. white-space:nowrap;
  64. }
  65. .fancyTable td{
  66. min-width:60px
  67. }
  68. .fancyTable tbody tr th {
  69. background-color: #fff;
  70. }
  71. .fancyTable tbody tr td {
  72. background-color: #fff;
  73. }
  74. .fancyTable tbody tr.odd td{
  75. background: #fff
  76. }
  77. .fancyTable tbody tr th{
  78. font-weight: 600;
  79. background: #fff
  80. }
  81. .fancyTable thead tr th,
  82. .fancyTable thead tr td,
  83. .fancyTable tfoot tr th,
  84. .fancyTable tfoot tr td {
  85. background: #fff;
  86. font-weight: bold;
  87. color:#444;
  88. }