summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-09-18 19:14:49 +0100
committerFilipa Lacerda <filipa@gitlab.com>2018-09-19 16:19:26 +0100
commitdbab04b94254aa121eb265748e19761adc2b0afb (patch)
treedb013053085ee0a97f5ac13463b3326b400323c5 /app/assets/stylesheets
parent354f0bccbf8d530fbb5a1eb2b3cea931c644cc59 (diff)
downloadgitlab-ce-dbab04b94254aa121eb265748e19761adc2b0afb.tar.gz
Lazy load xterm css colors
Manually includes the xterm custom colors on the 3 files that will need it: job log page, job terminal page, environment terminal page Reduces main CSS bundle
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/page_bundles/xterm.scss (renamed from app/assets/stylesheets/pages/xterm.scss)2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/xterm.scss b/app/assets/stylesheets/page_bundles/xterm.scss
index 7d40c61da26..7f040ac9b96 100644
--- a/app/assets/stylesheets/pages/xterm.scss
+++ b/app/assets/stylesheets/page_bundles/xterm.scss
@@ -1,3 +1,5 @@
+@import 'framework/variables';
+
.build-page {
// color codes are based on http://en.wikipedia.org/wiki/File:Xterm_256color_chart.svg
// see also: https://gist.github.com/jasonm23/2868981