Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

grid.css 3.0 KiB

12 år sedan
12 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. .grid_wrapper {
  2. position: relative;
  3. overflow: auto;
  4. border: 1px solid #AAA;
  5. width: 100%;
  6. margin-bottom: 8px;
  7. background-color: #f8f8f8;
  8. }
  9. div.grid_tbarlinks {
  10. border-bottom: 0px;
  11. padding: 4px 4px 2px 4px;
  12. width: 190px;
  13. float: right;
  14. margin-right: 12px;
  15. -webkit-border-top-left-radius: 5px;
  16. -webkit-border-top-right-radius: 5px;
  17. -moz-border-radius-topleft: 5px;
  18. -moz-border-radius-topright: 5px;
  19. border-top-left-radius: 5px;
  20. border-top-right-radius: 5px;
  21. background: #dddddd; /* Old browsers */
  22. background: -moz-linear-gradient(top, #dddddd 0%, #bbbbbb 100%); /* FF3.6+ */
  23. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dddddd), color-stop(100%,#bbbbbb)); /* Chrome,Safari4+ */
  24. background: -webkit-linear-gradient(top, #dddddd 0%,#bbbbbb 100%); /* Chrome10+,Safari5.1+ */
  25. background: -o-linear-gradient(top, #dddddd 0%,#bbbbbb 100%); /* Opera 11.10+ */
  26. background: -ms-linear-gradient(top, #dddddd 0%,#bbbbbb 100%); /* IE10+ */
  27. background: linear-gradient(to bottom, #dddddd 0%,#bbbbbb 100%); /* W3C */
  28. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#bbbbbb',GradientType=0 ); /* IE6-9 */
  29. }
  30. .grid_tab_wrapper {
  31. position: absolute;
  32. top: 40px;
  33. border-bottom: 1px solid #DDD;
  34. }
  35. .grid_table, .grid_head_table {
  36. table-layout: fixed;
  37. border-collapse: collapse;
  38. /*width: 100%;*/
  39. }
  40. .grid_cell {
  41. border-right: 1px solid #ddd;
  42. padding: 0px;
  43. background-color: #fff;
  44. }
  45. .grid_head_wrapper {
  46. position: absolute;
  47. z-index: 1;
  48. height: 40px;
  49. padding: 0px;
  50. overflow: hidden;
  51. /*background-color: #fff;*/
  52. }
  53. .grid_head_table td {
  54. border-right: 1px solid #AAA;
  55. border-bottom: 1px solid #AAA;
  56. height: 40px;
  57. padding: 0px;
  58. vertical-align: middle;
  59. font-weight: bold;
  60. text-align: center;
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. white-space: nowrap;
  64. background: #eeeeee; /* Old browsers */
  65. background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6+ */
  66. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
  67. background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
  68. background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */
  69. background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* IE10+ */
  70. background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C */
  71. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
  72. }
  73. .grid_selector {
  74. padding: 1px;
  75. border-right: 1px solid #DDD;
  76. width: 20px;
  77. background-color: #fff;
  78. }
  79. .grid_cell_div {
  80. padding: 2px;
  81. cursor: pointer;
  82. overflow: hidden;
  83. border: 2px solid #FFF;
  84. }
  85. .grid_cell_div_selected {
  86. border: 2px solid #88f;
  87. }
  88. .grid_cell_div input, .grid_cell_div select, .grid_cell_div div input {
  89. margin: 0px;
  90. width: 90%;
  91. }
  92. .grid_cell_div textarea {
  93. border: 3px solid #abf;
  94. height:200px;
  95. width: 300px;
  96. z-index: 1;
  97. position:absolute;
  98. }
  99. .gridDivSelected option { border: 0px; }