printview.css 2.7 KB

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