Bläddra i källkod

HUE-7845 [editor] Get rid of printing specific CSS

Enrico Berti 8 år sedan
förälder
incheckning
03a5228888

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
desktop/libs/notebook/src/notebook/static/notebook/css/notebook.css


+ 0 - 41
desktop/libs/notebook/src/notebook/static/notebook/less/notebook.less

@@ -699,51 +699,10 @@
     font-style: normal !important;
   }
 
-  .print-logo {
-    display: none;
-  }
-
-  .print-logo img {
-    width: 24px;
-    height: 24px;
-  }
-
   .card-heading-print {
     display: none;
   }
 
-  @media print {
-    .navigator, .assist-container, .result-settings, .left-panel, a.btn, button, .add-snippet, .card-heading.simple, .alert, .show-assist, .snippet-footer-actions-bar, .player-toolbar h4, .player-toolbar div {
-      display: none !important;
-    }
-    .content-panel {
-      width: 100% !important;
-      left: 0 !important;
-    }
-    * {
-      border: none !important;
-    }
-    .editable {
-      font-size: 20px;
-      font-weight: bold;
-      border-bottom: 2px solid @cui-default-border-color !important;
-    }
-    .tab-content, .content-panel {
-      overflow: visible;
-    }
-    .ace_scroller {
-      border-left: 4px solid @cui-gray-300 !important;
-      padding-left: 10px;
-    }
-    .print-logo {
-      display: block;
-    }
-    .card-heading-print.visible {
-      display: block;
-      font-weight: bold;
-    }
-  }
-
   .no-underline:hover {
     text-decoration: none !important;
   }

+ 0 - 4
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -156,10 +156,6 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
 
 ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
 
-<div class="print-logo">
-  <img class="pull-right" src="${ static('desktop/art/icon_hue_48.png') }"  alt="${ _('Hue logo') }"/>
-</div>
-
 <div class="navbar hue-title-bar" data-bind="visible: ! $root.isPresentationMode() && ! $root.isResultFullScreenMode()">
   <div class="navbar-inner">
     <div class="container-fluid">

Vissa filer visades inte eftersom för många filer har ändrats