printview.css 2.68 KB
Newer Older
Hamza Arfaoui's avatar
Hamza Arfaoui committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
@media print {
    #back_button_print_view, #print_button_print_view {
        display: none;
    }
}

/* For removing element from Print View */
.print_ignore {
    display: none;
}

.nowrap {
    white-space: nowrap;
}

.hide {
    display: none;
}

/* Standard CSS */
body, table, th, td {
    color:             #000;
    background-color:  #fff;
    font-size: 12px;
}

/* To remove link text decoration */
a:link {
    color:#000;
    text-decoration:none
}

/* To remove any image borders */
img {
    border: 0;
}

/* Table specific */
table, th, td {
    border: .1em solid #000;
    background-color: #fff;
}

table {
    border-collapse:   collapse;
    border-spacing:    0.2em;
}

thead {
    border-collapse:   collapse;
    border-spacing:    0.2em;
    border: .1em solid #000;
    font-weight: 900;
}

th, td {
    padding:           0.2em;
}

thead th {
    font-weight:       bold;
    background-color:  #e5e5e5;
    border: .1em solid #000;
}

th.vtop, td.vtop {
    vertical-align: top;
}

th.vbottom, td.vbottom {
    vertical-align: bottom;
}

/* Common Elements not to be included */
/* Hide Navigation and Top Menu bar */
#pma_navigation, #floating_menubar {
    display: none;
}
/* Hide console */
#pma_console_container {
    display: none;
}

/* Hide Navigation items (like Goto Top) */
#page_nav_icons {
    display: none;
}

/* Hide the Create Table form */
#create_table_form_minimal {
    display: none;
}

/* Hide the Page Settings Modal box */
#page_settings_modal {
    display: none;
}

/* Hide footer, Demo notice, errors div */
#pma_footer, #pma_demo, #pma_errors {
    display: none;
}

/* Hide the #selflink div */
#selflink {
    display: none;
}

/* Position the main content */
#page_content {
    position: absolute;
    left: 0;
    top: 0;
    width: 95%;
    float: none;
}

/* Specific Class for overriding while Print */
.print {
    background-color: #000;
}

/* For the Success message div */
div.success {
    background-color: #fff;
}

.sqlOuter {
    color: black;
    background-color: #000;
}

/* For hiding 'Open a New phpMyAdmin Window' button */
.ic_window-new, .ic_s_cog {
    display: none;
}

.sticky_columns tr {
    display: none;
}

#structure-action-links, #addColumns {
    display: none;
}

/* Hide extra menu on tbl_structure.php */
#topmenu2 {
    display: none;
}

.cDrop, .cEdit, .cList, .cCpy, .cPointer {
    display: none;
}

/* odd items 1,3,5,7,... */
table tbody:first-of-type tr:nth-child(odd),
table tbody:first-of-type tr:nth-child(odd) th {
    background: #fff;
} 

/* even items 2,4,6,8,... */
table tbody:first-of-type tr:nth-child(even),
table tbody:first-of-type tr:nth-child(even) th {
    background: #DFDFDF;
}

.column_attribute {
    font-size: 100%;
}