table.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .CSSTableGenerator {
  2. margin: 0px;
  3. padding: 0px;
  4. border: 1px solid #ffffff;
  5. -moz-border-radius-bottomleft: 0px;
  6. -webkit-border-bottom-left-radius: 0px;
  7. border-bottom-left-radius: 0px;
  8. -moz-border-radius-bottomright: 0px;
  9. -webkit-border-bottom-right-radius: 0px;
  10. border-bottom-right-radius: 0px;
  11. -moz-border-radius-topright: 0px;
  12. -webkit-border-top-right-radius: 0px;
  13. border-top-right-radius: 0px;
  14. -moz-border-radius-topleft: 0px;
  15. -webkit-border-top-left-radius: 0px;
  16. border-top-left-radius: 0px;
  17. float: left;
  18. }
  19. .CSSTableGenerator table {
  20. width: 100%;
  21. height: 100%;
  22. margin: 0px;
  23. padding: 0px;
  24. }
  25. .CSSTableGenerator tr:last-child td:last-child {
  26. -moz-border-radius-bottomright: 0px;
  27. -webkit-border-bottom-right-radius: 0px;
  28. border-bottom-right-radius: 0px;
  29. }
  30. .CSSTableGenerator table tr:first-child td:first-child {
  31. -moz-border-radius-topleft: 0px;
  32. -webkit-border-top-left-radius: 0px;
  33. border-top-left-radius: 0px;
  34. }
  35. .CSSTableGenerator table tr:first-child td:last-child {
  36. -moz-border-radius-topright: 0px;
  37. -webkit-border-top-right-radius: 0px;
  38. border-top-right-radius: 0px;
  39. }
  40. .CSSTableGenerator tr:last-child td:first-child {
  41. -moz-border-radius-bottomleft: 0px;
  42. -webkit-border-bottom-left-radius: 0px;
  43. border-bottom-left-radius: 0px;
  44. }
  45. .CSSTableGenerator tr:hover td {
  46. background-color: #e5e5e5;
  47. }
  48. .CSSTableGenerator tr:last-child td {
  49. border-width: 0px 1px 0px 0px;
  50. }
  51. .CSSTableGenerator tr td:last-child {
  52. border-width: 0px 0px 1px 0px;
  53. }
  54. .CSSTableGenerator tr:last-child td:last-child {
  55. border-width: 0px 0px 0px 0px;
  56. }
  57. .CSSTableGenerator tr:nth-child(odd) {
  58. background: -o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);
  59. background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #cccccc
  60. ), color-stop(1, #b2b2b2));
  61. background: -moz-linear-gradient(center top, #cccccc 5%, #b2b2b2 100%);
  62. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc",
  63. endColorstr="#b2b2b2");
  64. background: -o-linear-gradient(top, #cccccc, b2b2b2);
  65. background-color: #cccccc;
  66. border: 1px solid #ffffff;
  67. border-width: 0px 1px 1px 0px;
  68. text-align: middle;
  69. padding: 1px;
  70. font-size: 14px;
  71. font-weight: bold;
  72. color: #000000;
  73. }
  74. .CSSTableGenerator tr:nth-child(even) {
  75. vertical-align: middle;
  76. background: -o-linear-gradient(bottom, #ffffff 5%, #ccffcc 100%);
  77. background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff
  78. ), color-stop(1, #ccffcc));
  79. background: -moz-linear-gradient(center top, #ffffff 5%, #ccffcc 100%);
  80. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",
  81. endColorstr="#e5e5e5");
  82. background: -o-linear-gradient(top, #ffffff, e5e5e5);
  83. background-color: #ffffff;
  84. border: 1px solid #ffffff;
  85. border-width: 0px 1px 1px 0px;
  86. text-align: middle;
  87. padding: 1px;
  88. font-size: 14px;
  89. font-weight: bold;
  90. color: #000000;
  91. }
  92. .CSSTableGenerator tr:first-child td:first-child {
  93. border-width: 0px 0px 1px 0px;
  94. }
  95. .CSSTableGenerator tr:first-child td:last-child {
  96. border-width: 0px 0px 1px 1px;
  97. }