Merge branch 'tz-move-repo-css' into 'master'

Moved repo.css to its own CSS bundle to reduce the size of the main bundle

See merge request gitlab-org/gitlab-ce!20853
This commit is contained in:
Phil Hughes 2018-07-26 08:15:13 +00:00
commit 4fd6b5bc66
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,6 @@
@import 'framework/variables';
@import 'framework/mixins';
.project-refs-form,
.project-refs-target-form {
display: inline-block;

View File

@ -1,6 +1,9 @@
- @body_class = 'ide'
- page_title 'IDE'
- content_for :page_specific_javascripts do
= stylesheet_link_tag 'page_bundles/ide'
#ide.ide-loading{ data: {"empty-state-svg-path" => image_path('illustrations/multi_file_editor_empty.svg'),
"no-changes-state-svg-path" => image_path('illustrations/multi-editor_no_changes_empty.svg'),
"committed-state-svg-path" => image_path('illustrations/multi-editor_all_changes_committed_empty.svg'),

View File

@ -133,6 +133,7 @@ module Gitlab
config.assets.precompile << "notify.css"
config.assets.precompile << "mailers/*.css"
config.assets.precompile << "xterm/xterm.css"
config.assets.precompile << "page_bundles/ide.css"
config.assets.precompile << "performance_bar.css"
config.assets.precompile << "lib/ace.js"
config.assets.precompile << "test.css"