Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/print.scss')
-rw-r--r--app/assets/stylesheets/print.scss36
1 files changed, 36 insertions, 0 deletions
diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss
index 84181a00f34..c3662c3e6ea 100644
--- a/app/assets/stylesheets/print.scss
+++ b/app/assets/stylesheets/print.scss
@@ -1,3 +1,9 @@
+@import 'framework/variables';
+@import 'framework/variables_overrides';
+
+@import '@gitlab/ui/src/scss/variables';
+@import '@gitlab/ui/src/scss/utility-mixins/index';
+
.md h1,
.md h2,
.md h3,
@@ -20,6 +26,35 @@
font-weight: 600;
}
+.md {
+ print-color-adjust: exact;
+ -webkit-print-color-adjust: exact;
+
+ // fix blockquote style in print
+ blockquote {
+ &::before {
+ position: absolute;
+ top: 0;
+ left: -4px;
+ content: ' ';
+ height: 100%;
+ width: 4px;
+ background-color: $white-dark;
+ }
+
+ position: relative;
+ font-size: inherit;
+ @include gl-text-gray-700;
+ @include gl-py-3;
+ @include gl-pl-6;
+ @include gl-my-3;
+ @include gl-mx-0;
+ @include gl-inset-border-l-4-gray-100;
+ margin-left: 4px;
+ border: 0 !important;
+ }
+}
+
header,
nav,
nav.navbar-collapse,
@@ -40,6 +75,7 @@ ul.notes-form,
.note-action-button,
.right-sidebar,
.flash-container,
+copy-code,
#js-peek {
display: none !important;
}