diff options
author | Deven Bansod <devenbansod.bits@gmail.com> | 2015-06-02 12:52:59 +0300 |
---|---|---|
committer | Deven Bansod <devenbansod.bits@gmail.com> | 2015-06-02 18:46:31 +0300 |
commit | 72ad8137508acbabf28463ef89717c9fb04f5dd4 (patch) | |
tree | d574bce63e2d4db861f99d8e995b33646da92056 /themes | |
parent | 14f9cca19fd135028f64c2eedd38dcefa4483ef2 (diff) |
Added some comments in printview.css. Also few minor fixes.
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Diffstat (limited to 'themes')
-rw-r--r-- | themes/original/css/printview.css | 49 | ||||
-rw-r--r-- | themes/pmahomme/css/printview.css | 49 |
2 files changed, 80 insertions, 18 deletions
diff --git a/themes/original/css/printview.css b/themes/original/css/printview.css index fe19ead2e6..91bccc77f1 100644 --- a/themes/original/css/printview.css +++ b/themes/original/css/printview.css @@ -1,5 +1,6 @@ @media print { + /* For removing element from Print View */ .print_ignore { display: none; } @@ -12,21 +13,25 @@ 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; @@ -63,38 +68,61 @@ 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; } - #page_content { - position: absolute; - left: 0; - top: 0; - width: 95%; - float: 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 Debug div */ + #session_debug { + 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 { width: 80%; background-color: #fff; @@ -105,6 +133,7 @@ background-color: #000; } + /* For hiding 'Open a New phpMyAdmin Window' button */ .ic_window-new, .ic_s_cog { display: none; } @@ -117,6 +146,7 @@ display: none; } + /* Hide extra menu on tbl_structure.php */ #topmenu2 { display: none; } @@ -125,6 +155,7 @@ display: none; } + /* For Odd-Even contrast */ table tr.odd th, table tr.odd td, .odd { diff --git a/themes/pmahomme/css/printview.css b/themes/pmahomme/css/printview.css index fe19ead2e6..91bccc77f1 100644 --- a/themes/pmahomme/css/printview.css +++ b/themes/pmahomme/css/printview.css @@ -1,5 +1,6 @@ @media print { + /* For removing element from Print View */ .print_ignore { display: none; } @@ -12,21 +13,25 @@ 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; @@ -63,38 +68,61 @@ 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; } - #page_content { - position: absolute; - left: 0; - top: 0; - width: 95%; - float: 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 Debug div */ + #session_debug { + 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 { width: 80%; background-color: #fff; @@ -105,6 +133,7 @@ background-color: #000; } + /* For hiding 'Open a New phpMyAdmin Window' button */ .ic_window-new, .ic_s_cog { display: none; } @@ -117,6 +146,7 @@ display: none; } + /* Hide extra menu on tbl_structure.php */ #topmenu2 { display: none; } @@ -125,6 +155,7 @@ display: none; } + /* For Odd-Even contrast */ table tr.odd th, table tr.odd td, .odd { |