From 72ad8137508acbabf28463ef89717c9fb04f5dd4 Mon Sep 17 00:00:00 2001 From: Deven Bansod Date: Tue, 2 Jun 2015 15:22:59 +0530 Subject: Added some comments in printview.css. Also few minor fixes. Signed-off-by: Deven Bansod --- themes/original/css/printview.css | 49 ++++++++++++++++++++++++++++++++------- themes/pmahomme/css/printview.css | 49 ++++++++++++++++++++++++++++++++------- 2 files changed, 80 insertions(+), 18 deletions(-) (limited to 'themes') 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 { -- cgit v1.2.3