diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-09 10:55:03 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-09 13:09:38 +0100 |
| commit | 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (patch) | |
| tree | 5c691241355c943a3c68ddb06b8cf8c60aa11319 /srcs/phpmyadmin/themes/metro/scss/printview.scss | |
| parent | 7e0d85db834d6351ed85d01e5126ac31dc510b86 (diff) | |
| download | ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.gz ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.bz2 ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.zip | |
phpmyadmin working
Diffstat (limited to 'srcs/phpmyadmin/themes/metro/scss/printview.scss')
| -rw-r--r-- | srcs/phpmyadmin/themes/metro/scss/printview.scss | 186 |
1 files changed, 186 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/themes/metro/scss/printview.scss b/srcs/phpmyadmin/themes/metro/scss/printview.scss new file mode 100644 index 0000000..1555f13 --- /dev/null +++ b/srcs/phpmyadmin/themes/metro/scss/printview.scss @@ -0,0 +1,186 @@ +@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: 0.1em solid #000; + background-color: #fff; +} + +table { + border-collapse: collapse; + border-spacing: 0.2em; +} + +thead { + border-collapse: collapse; + border-spacing: 0.2em; + border: 0.1em solid #000; + font-weight: 900; +} + +th, +td { + padding: 0.2em; +} + +thead th { + font-weight: bold; + background-color: #e5e5e5; + border: 0.1em solid #000; +} + +th.vtop, +td.vtop { + vertical-align: top; +} + +th.vbottom, +td.vbottom { + vertical-align: bottom; +} + +th { + &.column_heading, + &.column_action { + border: 0.1em solid #000; + } +} + +table { + tr { + &.odd, + &.even { + border-left: 0.1em solid #000; + } + + &.odd th, + &.even th { + border-bottom: 0.1em solid #000; + } + } + + &.data th { + border-bottom: 0.1em solid #000; + } +} + +// Common Elements not to be included +// Hide Navigation and Top Menu bar +// Hide console +// Hide Navigation items (like Goto Top) +// Hide the Create Table form +// Hide the Page Settings Modal box +// Hide footer, Demo notice, errors div +// Hide the #selflink div +#pma_navigation, +#floating_menubar, +#pma_console_container, +#page_nav_icons, +#create_table_form_minimal, +#page_settings_modal, +#pma_footer, +#pma_demo, +#pma_errors, +#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 +.sqlOuter { + color: black; +} + +// For hiding 'Open a New phpMyAdmin Window' button +// Hide extra menu on tbl_structure.php +.ic_window-new, +.ic_s_cog, +.sticky_columns tr, +#structure-action-links, +#addColumns, +#topmenu2, +.cDrop, +.cEdit, +.cList, +.cCpy, +.cPointer { + display: none; +} + +table tbody:first-of-type tr { + // odd items 1,3,5,7... + &:nth-child(odd) { + background: #fff; + + th { + background: #fff; + } + } + + // even items 2,4,6,8... + &:nth-child(even) { + background: #dfdfdf; + + th { + background: #dfdfdf; + } + } +} + +.column_attribute { + font-size: 100%; +} |
