TableTools_JUI.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. /*
  2. * File: TableTools.css
  3. * Description: Styles for TableTools 2 with JUI theming
  4. * Author: Allan Jardine (www.sprymedia.co.uk)
  5. * Language: Javascript
  6. * License: LGPL / 3 point BSD
  7. * Project: DataTables
  8. *
  9. * Copyright 2010 Allan Jardine, all rights reserved.
  10. *
  11. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  12. *
  13. * Notes:
  14. * Generally speaking, please refer to the TableTools.css file - this file contains basic
  15. * modifications to that 'master' stylesheet for ThemeRoller.
  16. *
  17. * CSS name space:
  18. * DTTT DataTables TableTools
  19. *
  20. * Colour dictionary:
  21. * Button border #d0d0d0
  22. * Button border hover #999999
  23. * Hover background #f0f0f0
  24. * Action blue #4b66d9
  25. *
  26. * Style sheet provides:
  27. * CONTAINER TableTools container element and styles applying to all components
  28. * SELECTING Row selection styles
  29. * COLLECTIONS Drop down list (collection) styles
  30. * PRINTING Print display styles
  31. * MISC Minor misc styles
  32. */
  33. /*
  34. * CONTAINER
  35. * TableTools container element and styles applying to all components
  36. */
  37. div.DTTT_container {
  38. position: relative;
  39. float: left;
  40. }
  41. button.DTTT_button {
  42. position: relative;
  43. float: left;
  44. height: 24px;
  45. margin-right: 3px;
  46. padding: 3px 10px;
  47. border: 1px solid #d0d0d0;
  48. background-color: #fff;
  49. cursor: pointer;
  50. *cursor: hand;
  51. }
  52. button.DTTT_button::-moz-focus-inner {
  53. border: none !important;
  54. padding: 0;
  55. }
  56. /*
  57. * SELECTING
  58. * Row selection styles
  59. */
  60. table.DTTT_selectable tbody tr {
  61. cursor: pointer;
  62. *cursor: hand;
  63. }
  64. tr.DTTT_selected.odd {
  65. background-color: #9FAFD1;
  66. }
  67. tr.DTTT_selected.odd td.sorting_1 {
  68. background-color: #9FAFD1;
  69. }
  70. tr.DTTT_selected.odd td.sorting_2 {
  71. background-color: #9FAFD1;
  72. }
  73. tr.DTTT_selected.odd td.sorting_3 {
  74. background-color: #9FAFD1;
  75. }
  76. tr.DTTT_selected.even {
  77. background-color: #B0BED9;
  78. }
  79. tr.DTTT_selected.even td.sorting_1 {
  80. background-color: #B0BED9;
  81. }
  82. tr.DTTT_selected.even td.sorting_2 {
  83. background-color: #B0BED9;
  84. }
  85. tr.DTTT_selected.even td.sorting_3 {
  86. background-color: #B0BED9;
  87. }
  88. /*
  89. * COLLECTIONS
  90. * Drop down list (collection) styles
  91. */
  92. div.DTTT_collection {
  93. width: 150px;
  94. background-color: #f3f3f3;
  95. overflow: hidden;
  96. z-index: 2002;
  97. box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  98. -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  99. -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  100. }
  101. div.DTTT_collection_background {
  102. background: url(../images/background.png) repeat top left;
  103. z-index: 2001;
  104. }
  105. div.DTTT_collection button.DTTT_button {
  106. float: none;
  107. width: 100%;
  108. margin-bottom: -0.1em;
  109. }
  110. /*
  111. * PRINTING
  112. * Print display styles
  113. */
  114. .DTTT_print_info {
  115. position: absolute;
  116. top: 50%;
  117. left: 50%;
  118. width: 400px;
  119. height: 150px;
  120. margin-left: -200px;
  121. margin-top: -75px;
  122. text-align: center;
  123. background-color: #3f3f3f;
  124. color: white;
  125. padding: 10px 30px;
  126. opacity: 0.9;
  127. border-radius: 5px;
  128. -moz-border-radius: 5px;
  129. -webkit-border-radius: 5px;
  130. box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  131. -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  132. -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  133. }
  134. .DTTT_print_info h6 {
  135. font-weight: normal;
  136. font-size: 28px;
  137. line-height: 28px;
  138. margin: 1em;
  139. }
  140. .DTTT_print_info p {
  141. font-size: 14px;
  142. line-height: 20px;
  143. }
  144. /*
  145. * MISC
  146. * Minor misc styles
  147. */
  148. .DTTT_disabled {
  149. color: #999;
  150. }