printview.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. @media print {
  2. /* For removing element from Print View */
  3. .print_ignore {
  4. display: none;
  5. }
  6. .nowrap {
  7. white-space: nowrap;
  8. }
  9. .hide {
  10. display: none;
  11. }
  12. /* Standard CSS */
  13. body, table, th, td {
  14. color: #000;
  15. background-color: #fff;
  16. font-size: 12px;
  17. }
  18. /* To remove link text decoration */
  19. a:link {
  20. color:#000;
  21. text-decoration:none
  22. }
  23. /* To remove any image borders */
  24. img {
  25. border: 0;
  26. }
  27. /* Table specific */
  28. table, th, td {
  29. border: .1em solid #000;
  30. background-color: #fff;
  31. }
  32. table {
  33. border-collapse: collapse;
  34. border-spacing: 0.2em;
  35. }
  36. thead {
  37. border-collapse: collapse;
  38. border-spacing: 0.2em;
  39. border: .1em solid #000;
  40. font-weight: 900;
  41. }
  42. th, td {
  43. padding: 0.2em;
  44. }
  45. thead th {
  46. font-weight: bold;
  47. background-color: #e5e5e5;
  48. border: .1em solid #000;
  49. }
  50. th.vtop, td.vtop {
  51. vertical-align: top;
  52. }
  53. th.vbottom, td.vbottom {
  54. vertical-align: bottom;
  55. }
  56. /* Common Elements not to be included */
  57. /* Hide Navigation and Top Menu bar */
  58. #pma_navigation, #floating_menubar {
  59. display: none;
  60. }
  61. /* Hide console */
  62. #pma_console_container {
  63. display: none;
  64. }
  65. /* Hide Navigation items (like Goto Top) */
  66. #page_nav_icons {
  67. display: none;
  68. }
  69. /* Hide the Create Table form */
  70. #create_table_form_minimal {
  71. display: none;
  72. }
  73. /* Hide the Page Settings Modal box */
  74. #page_settings_modal {
  75. display: none;
  76. }
  77. /* Hide footer, Demo notice, errors div */
  78. #pma_footer, #pma_demo, #pma_errors {
  79. display: none;
  80. }
  81. /* Hide the #selflink div */
  82. #selflink {
  83. display: none;
  84. }
  85. /* Position the main content */
  86. #page_content {
  87. position: absolute;
  88. left: 0;
  89. top: 0;
  90. width: 95%;
  91. float: none;
  92. }
  93. /* Specific Class for overriding while Print */
  94. .print {
  95. background-color: #000;
  96. }
  97. /* For the Success message div */
  98. div.success {
  99. width: 80%;
  100. background-color: #fff;
  101. }
  102. .sqlOuter {
  103. color: black;
  104. background-color: #000;
  105. }
  106. /* For hiding 'Open a New phpMyAdmin Window' button */
  107. .ic_window-new, .ic_s_cog {
  108. display: none;
  109. }
  110. .sticky_columns tr {
  111. display: none;
  112. }
  113. #structure-action-links, #addColumns {
  114. display: none;
  115. }
  116. /* Hide extra menu on tbl_structure.php */
  117. #topmenu2 {
  118. display: none;
  119. }
  120. .cDrop, .cEdit, .cList, .cCpy, .cPointer {
  121. display: none;
  122. }
  123. /* For Odd-Even contrast */
  124. table tr.odd th,
  125. table tr.odd td,
  126. .odd {
  127. background: #fff;
  128. }
  129. table tr.even th,
  130. table tr.even td,
  131. .even {
  132. background: #dfdfdf;
  133. }
  134. .column_attribute {
  135. font-size: 100%;
  136. }
  137. }