"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.1.0-english/themes/metro/scss/printview.scss" (24 Feb 2021, 2523 Bytes) of package /linux/www/phpMyAdmin-5.1.0-english.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) SASS/SCSS source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "printview.scss": 5.0.4-english_vs_5.1.0-english.

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