/i7MEDIA-Mocha/style-gridview.css

http://html5mojo.codeplex.com · CSS · 83 lines · 81 code · 1 blank · 1 comment · 0 complexity · 3b15031368aca7adc0577cfced5a1058 MD5 · raw file

  1. /* http://weblogs.asp.net/kevinbrammer/archive/2008/05/31/asp-net-gridview-themes.aspx */
  2. .AspNet-GridView {
  3. border: 1px solid #C6B699;
  4. color: #5A4934;
  5. }
  6. .AspNet-GridView table {
  7. width: 100%;
  8. border-collapse: collapse;
  9. font-family: Arial,Sans-Serif;
  10. font-size: small;
  11. table-layout: auto;
  12. }
  13. .AspNet-GridView table.editgrid {
  14. margin: 0;
  15. }
  16. .AspNet-GridView > table > thead > tr {
  17. background: #C6B699; /* Old browsers */
  18. background: -moz-linear-gradient(top, #D3CAB8 0%, #C6B699 100%); /* FF3.6+ */
  19. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#D3CAB8), color-stop(100%,#C6B699)); /* Chrome,Safari4+ */
  20. background: -webkit-linear-gradient(top, #D3CAB8 0%,#C6B699 100%); /* Chrome10+,Safari5.1+ */
  21. background: -o-linear-gradient(top, #D3CAB8 0%,#C6B699 100%); /* Opera 11.10+ */
  22. background: -ms-linear-gradient(top, #D3CAB8 0%,#C6B699 100%); /* IE10+ */
  23. background: linear-gradient(to bottom, #D3CAB8 0%,#C6B699 100%); /* W3C */
  24. text-shadow: 0 0 0 transparent;
  25. }
  26. .AspNet-GridView table thead th {
  27. padding: 5px;
  28. text-align: left;
  29. }
  30. .AspNet-GridView table thead th a {
  31. display: block;
  32. text-align: left;
  33. text-decoration: none;
  34. }
  35. .AspNet-GridView table tbody tr td {
  36. background-color: #ffffff;
  37. border-left: 1px solid #C6B699;
  38. padding: 5px;
  39. color: #3d3d3d;
  40. }
  41. .AspNet-GridView table tbody tr td:first-child {
  42. border-left: medium none;
  43. }
  44. .AspNet-GridView table tbody tr.AspNet-GridView-Alternate td {
  45. background-color: #e6e6e6;
  46. color: #3d3d3d;
  47. }
  48. .AspNet-GridView div.AspNet-GridView-Pagination {
  49. background: url('images/HeaderSoftGrey.jpg') repeat-x scroll center center #1D1D1D;
  50. }
  51. .AspNet-GridView div.AspNet-GridView-Pagination a {
  52. border-color: #C6B699;
  53. border-style: solid;
  54. border-width: 1px;
  55. color: #FFF;
  56. font-size: 16px;
  57. padding: 2px 10px;
  58. text-decoration: none;
  59. }
  60. .AspNet-GridView div.AspNet-GridView-Pagination span {
  61. color: #FFF;
  62. font-size: 16px;
  63. font-weight: bold;
  64. padding: 2px 10px;
  65. text-decoration: none;
  66. }
  67. .AspNet-GridView tr.AspNet-GridView-Empty {
  68. color: #333;
  69. text-align: center;
  70. }
  71. .AspNet-GridView tr.AspNet-GridView-Empty p {
  72. padding-top: 20px;
  73. }
  74. .formResults .AspNet-GridView table thead, .formResults div.AspNet-GridView-Pagination {
  75. background-image: none;
  76. }
  77. html[dir="rtl"] .AspNet-GridView table thead th {
  78. text-align: right;
  79. }
  80. html[dir="rtl"] .AspNet-GridView table thead th a {
  81. text-align: right;
  82. }