dataTables.colVis.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. * ColVis styles
  3. */
  4. div.ColVis {
  5. float: right;
  6. margin-bottom: 1em;
  7. }
  8. button.ColVis_Button,
  9. ul.ColVis_collection li {
  10. position: relative;
  11. float: left;
  12. margin-right: 3px;
  13. padding: 5px 8px;
  14. border: 1px solid #999;
  15. cursor: pointer;
  16. *cursor: hand;
  17. font-size: 0.88em;
  18. color: black !important;
  19. white-space: nowrap;
  20. -webkit-border-radius: 2px;
  21. -moz-border-radius: 2px;
  22. -ms-border-radius: 2px;
  23. -o-border-radius: 2px;
  24. border-radius: 2px;
  25. -webkit-box-shadow: 1px 1px 3px #ccc;
  26. -moz-box-shadow: 1px 1px 3px #ccc;
  27. -ms-box-shadow: 1px 1px 3px #ccc;
  28. -o-box-shadow: 1px 1px 3px #ccc;
  29. box-shadow: 1px 1px 3px #ccc;
  30. /* Generated by http://www.colorzilla.com/gradient-editor/ */
  31. background: #ffffff; /* Old browsers */
  32. background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
  33. background: -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
  34. background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
  35. background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
  36. background: linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
  37. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-9 */
  38. }
  39. .ColVis_Button:hover,
  40. ul.ColVis_collection li:hover {
  41. border: 1px solid #666;
  42. text-decoration: none !important;
  43. -webkit-box-shadow: 1px 1px 3px #999;
  44. -moz-box-shadow: 1px 1px 3px #999;
  45. -ms-box-shadow: 1px 1px 3px #999;
  46. -o-box-shadow: 1px 1px 3px #999;
  47. box-shadow: 1px 1px 3px #999;
  48. background: #f3f3f3; /* Old browsers */
  49. background: -webkit-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
  50. background: -moz-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* FF3.6+ */
  51. background: -ms-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* IE10+ */
  52. background: -o-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* Opera 11.10+ */
  53. background: linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* W3C */
  54. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */
  55. }
  56. button.ColVis_Button {
  57. height: 30px;
  58. padding: 3px 8px;
  59. }
  60. button.ColVis_Button::-moz-focus-inner {
  61. border: none !important;
  62. padding: 0;
  63. }
  64. button.ColVis_Button:active {
  65. outline: none;
  66. }
  67. div.ColVis_collectionBackground {
  68. position: fixed;
  69. top: 0;
  70. left: 0;
  71. height: 100%;
  72. width: 100%;
  73. background-color: black;
  74. z-index: 1100;
  75. }
  76. ul.ColVis_collection {
  77. list-style: none;
  78. width: 150px;
  79. padding: 8px 8px 4px 8px;
  80. margin: 0;
  81. border: 1px solid #ccc;
  82. border: 1px solid rgba( 0, 0, 0, 0.4 );
  83. background-color: #f3f3f3;
  84. background-color: rgba( 255, 255, 255, 0.3 );
  85. overflow: hidden;
  86. z-index: 2002;
  87. -webkit-border-radius: 5px;
  88. -moz-border-radius: 5px;
  89. -ms-border-radius: 5px;
  90. -o-border-radius: 5px;
  91. border-radius: 5px;
  92. -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  93. -moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  94. -ms-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  95. -o-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  96. box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  97. }
  98. ul.ColVis_collection li {
  99. position: relative;
  100. height: auto;
  101. left: 0;
  102. right: 0;
  103. padding: 0.5em;
  104. display: block;
  105. float: none;
  106. margin-bottom: 4px;
  107. -webkit-box-shadow: 1px 1px 3px #999;
  108. -moz-box-shadow: 1px 1px 3px #999;
  109. -ms-box-shadow: 1px 1px 3px #999;
  110. -o-box-shadow: 1px 1px 3px #999;
  111. box-shadow: 1px 1px 3px #999;
  112. }
  113. ul.ColVis_collection li {
  114. text-align: left;
  115. }
  116. ul.ColVis_collection li.ColVis_Button:hover {
  117. border: 1px solid #999;
  118. background-color: #f0f0f0;
  119. }
  120. ul.ColVis_collection li span {
  121. display: inline-block;
  122. padding-left: 0.5em;
  123. cursor: pointer;
  124. }
  125. ul.ColVis_collection li.ColVis_Special {
  126. border-color: #555;
  127. background: rgb(237,237,237); /* Old browsers */
  128. background: -webkit-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(214,214,214,1) 77%,rgba(232,232,232,1) 100%); /* Chrome10+,Safari5.1+ */
  129. background: -moz-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(214,214,214,1) 77%, rgba(232,232,232,1) 100%); /* FF3.6+ */
  130. background: -ms-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(214,214,214,1) 77%,rgba(232,232,232,1) 100%); /* IE10+ */
  131. background: -o-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(214,214,214,1) 77%,rgba(232,232,232,1) 100%); /* Opera 11.10+ */
  132. background: linear-gradient(to bottom, rgba(237,237,237,1) 0%,rgba(214,214,214,1) 77%,rgba(232,232,232,1) 100%); /* W3C */
  133. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#e8e8e8',GradientType=0 ); /* IE6-9 */
  134. }
  135. ul.ColVis_collection li.ColVis_Special:hover {
  136. background: #e2e2e2; /* Old browsers */
  137. background: -webkit-linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* Chrome10+,Safari5.1+ */
  138. background: -moz-linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* FF3.6+ */
  139. background: -ms-linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* IE10+ */
  140. background: -o-linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* Opera 11.10+ */
  141. background: linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* W3C */
  142. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-9 */
  143. }
  144. span.ColVis_radio {
  145. display: inline-block;
  146. width: 20px;
  147. }
  148. div.ColVis_catcher {
  149. position: absolute;
  150. z-index: 1101;
  151. }
  152. .disabled {
  153. color: #999;
  154. }