diff --git a/app/assets/stylesheets/gitlab_bootstrap/common.scss b/app/assets/stylesheets/gitlab_bootstrap/common.scss
index d5426982428000c834a84b72812f71c5577e0d77..617537793d0e00c15b1c5ded758db60fd5584795 100644
--- a/app/assets/stylesheets/gitlab_bootstrap/common.scss
+++ b/app/assets/stylesheets/gitlab_bootstrap/common.scss
@@ -131,3 +131,7 @@ pre.well-pre {
 .dropdown-menu > li > a:focus {
   background: #29b;
 }
+
+.gl-hide {
+  display: none;
+}
diff --git a/app/views/admin/broadcast_messages/index.html.haml b/app/views/admin/broadcast_messages/index.html.haml
index d7c78950b950210ffdcf071d7bfadaf878f00f5e..043ce4fd817bcdaa7a7af6230eebd27b0d2cb1e5 100644
--- a/app/views/admin/broadcast_messages/index.html.haml
+++ b/app/views/admin/broadcast_messages/index.html.haml
@@ -18,12 +18,12 @@
       %div
         = link_to '#', class: 'js-toggle-colors-link' do
           Customize colors
-  .control-group.js-toggle-colors-container.hide
+  .control-group.js-toggle-colors-container.gl-hide
     = f.label :color, "Background Color"
     .controls
       = f.text_field :color, placeholder: "#AA33EE"
       .light Hex values as 3 double digit numbers, starting with a # sign.
-  .control-group.js-toggle-colors-container.hide
+  .control-group.js-toggle-colors-container.gl-hide
     = f.label :font, "Font Color"
     .controls
       = f.text_field :font, placeholder: "#224466"
diff --git a/app/views/dashboard/_activities.html.haml b/app/views/dashboard/_activities.html.haml
index 891177263173f01ac8e38a598084d0998c8714df..256f0ff29ab6f7c9684809051be7fbc656c06ef4 100644
--- a/app/views/dashboard/_activities.html.haml
+++ b/app/views/dashboard/_activities.html.haml
@@ -5,4 +5,4 @@
   .content_list
 - else
   %p.nothing_here_message Projects activity will be displayed here
-.loading.hide
+.loading.gl-hide
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml
index f4925b434d34efc45643556f26d16b51b8fb50af..a52e7d2802344927ccab6b7060b0c1e3d3205bb8 100644
--- a/app/views/groups/show.html.haml
+++ b/app/views/groups/show.html.haml
@@ -11,7 +11,7 @@
       .content_list
     - else
       %p.nothing_here_message Project activity will be displayed here
-    .loading.hide
+    .loading.gl-hide
   .side.col-md-4
     - if @group.description.present?
       .description-block
diff --git a/app/views/help/_shortcuts.html.haml b/app/views/help/_shortcuts.html.haml
index e979e7c0d07c3f0f235aa02e296551d8ad57e8ae..5e5215f7289673c506b10721ff38d5c7a00dea65 100644
--- a/app/views/help/_shortcuts.html.haml
+++ b/app/views/help/_shortcuts.html.haml
@@ -1,4 +1,4 @@
-#modal-shortcuts.modal.hide
+#modal-shortcuts.modal.gl-hide
   .modal-header
     %a.close{href: "#", "data-dismiss" => "modal"} ×
     %h3 Keyboard Shortcuts
diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml
index b1fe3aafff63b9f3020b403c6b21c8648fdd8dca..549ca58407e1dd2fea0b97f69617970de6925232 100644
--- a/app/views/layouts/_head_panel.html.haml
+++ b/app/views/layouts/_head_panel.html.haml
@@ -10,7 +10,7 @@
       %ul.nav.navbar-nav
         %li
           %a
-            %div.hide.turbolink-spinner
+            %div.gl-hide.turbolink-spinner
               %i.icon-refresh.icon-spin
               Loading...
         %li
diff --git a/app/views/layouts/_public_head_panel.html.haml b/app/views/layouts/_public_head_panel.html.haml
index 3c4bd857c22055e523d6206713149c5708c71c8a..915dd07cfbb0a1068ab72b21e0d91d6f37905d09 100644
--- a/app/views/layouts/_public_head_panel.html.haml
+++ b/app/views/layouts/_public_head_panel.html.haml
@@ -15,7 +15,7 @@
       %ul.nav
         %li
           %a
-            %div.hide.turbolink-spinner
+            %div.gl-hide.turbolink-spinner
               %i.icon-refresh.icon-spin
               Loading...
         %li
diff --git a/app/views/layouts/_search.html.haml b/app/views/layouts/_search.html.haml
index 9a0db99332a726a7803c5f44a1e81028483ecf8e..c8d9944f7b28f2e0aac3c1cd733569a58b93f6b8 100644
--- a/app/views/layouts/_search.html.haml
+++ b/app/views/layouts/_search.html.haml
@@ -7,4 +7,4 @@
       = hidden_field_tag :search_code, true
     = hidden_field_tag :repository_ref, @ref
     = submit_tag 'Go' if ENV['RAILS_ENV'] == 'test'
-    .search-autocomplete-json.hide{:'data-autocomplete-opts' => search_autocomplete_source }
+    .search-autocomplete-json.gl-hide{:'data-autocomplete-opts' => search_autocomplete_source }
diff --git a/app/views/profiles/accounts/show.html.haml b/app/views/profiles/accounts/show.html.haml
index 0b1ccee9c394e1b77e1d72e4e787beb107e4ffbe..36cb8b66c1f7dcde5bee91a1d36575ce69517b9e 100644
--- a/app/views/profiles/accounts/show.html.haml
+++ b/app/views/profiles/accounts/show.html.haml
@@ -49,7 +49,7 @@
         %div
           = f.text_field :username, required: true, class: 'input-xlarge input-xpadding'
            
-          %span.loading-gif.hide= image_tag "ajax_loader.gif"
+          %span.loading-gif.gl-hide= image_tag "ajax_loader.gif"
         %p.light
           = user_url(@user)
         %div
diff --git a/app/views/profiles/notifications/show.html.haml b/app/views/profiles/notifications/show.html.haml
index a25fe944b1b127e61feb713591c49f5d9c839db1..519d2aa59378e9a9960e6e203828ebfd4f947863 100644
--- a/app/views/profiles/notifications/show.html.haml
+++ b/app/views/profiles/notifications/show.html.haml
@@ -43,7 +43,7 @@
   %span.btn.btn-tiny
     %i.icon-chevron-down
     %span Advanced notifications settings
-.js-toggle-visibility-container.hide
+.js-toggle-visibility-container.gl-hide
   %hr
   %h4 Groups:
   %ul.bordered-list
diff --git a/app/views/projects/blob/_remove.html.haml b/app/views/projects/blob/_remove.html.haml
index 1c097330c44bc073559285c8c311aabf31845a38..735863acd4f767dc973ced6765badb73e73580d6 100644
--- a/app/views/projects/blob/_remove.html.haml
+++ b/app/views/projects/blob/_remove.html.haml
@@ -1,4 +1,4 @@
-%div#modal-remove-blob.modal.hide
+%div#modal-remove-blob.modal.gl-hide
   .modal-header
     %a.close{href: "#", "data-dismiss" => "modal"} ×
     %h3.page-title Remove #{@blob.name}
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index 3d666807cf995f00af2ccaca5fae0ab6ea3fbd93..066a93918e8ba5430ff881114c54873fd1348b97 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -47,7 +47,7 @@
       - if @branches.any?
         and in
         = link_to("#{pluralize(@branches.count, "other branch")}", "#", class: "js-details-expand")
-        %span.js-details-contain.hide
+        %span.js-details-contain.gl-hide
           = commit_branches_links(@project, @branches)
 
 .commit-box
diff --git a/app/views/projects/commits/_image.html.haml b/app/views/projects/commits/_image.html.haml
index 73f87289d3db1486de190791dbb764709fd09d21..d892a6819c422191d55b12f25abaee9635f6b710 100644
--- a/app/views/projects/commits/_image.html.haml
+++ b/app/views/projects/commits/_image.html.haml
@@ -11,7 +11,7 @@
         .frame.deleted
           %a{href: project_blob_path(@project, tree_join(@commit.parent_id, diff.old_path))}
             %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"}
-        %p.image-info.hide
+        %p.image-info.gl-hide
           %span.meta-filesize= "#{number_to_human_size old_file.size}"
           |
           %b W:
@@ -23,7 +23,7 @@
         .frame.added
           %a{href: project_blob_path(@project, tree_join(@commit.id, diff.new_path))}
             %img{src: "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"}
-        %p.image-info.hide
+        %p.image-info.gl-hide
           %span.meta-filesize= "#{number_to_human_size file.size}"
           |
           %b W:
@@ -32,7 +32,7 @@
           %b H:
           %span.meta-height
 
-    %div.swipe.view.hide
+    %div.swipe.view.gl-hide
       .swipe-frame
         .frame.deleted
           %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"}
@@ -43,7 +43,7 @@
           %span.top-handle
           %span.bottom-handle
 
-    %div.onion-skin.view.hide
+    %div.onion-skin.view.gl-hide
       .onion-skin-frame
         .frame.deleted
           %img{src: "data:#{old_file.mime_type};base64,#{Base64.encode64(old_file.data)}"}
@@ -56,8 +56,8 @@
           .opaque
 
 
-  .view-modes.hide
+  .view-modes.gl-hide
     %ul.view-modes-menu
       %li.two-up{data: {mode: 'two-up'}} 2-up
       %li.swipe{data: {mode: 'swipe'}} Swipe
-      %li.onion-skin{data: {mode: 'onion-skin'}} Onion skin
\ No newline at end of file
+      %li.onion-skin{data: {mode: 'onion-skin'}} Onion skin
diff --git a/app/views/projects/create.js.haml b/app/views/projects/create.js.haml
index a444b8b59a622075249fc7b61b84b8807559cc85..c39cef0889baa3b9c7667eccd6442ba882c205c2 100644
--- a/app/views/projects/create.js.haml
+++ b/app/views/projects/create.js.haml
@@ -5,5 +5,5 @@
   :plain
     $(".project-edit-errors").html("#{escape_javascript(render('errors'))}");
     $('.project-submit').enable();
-    $('.save-project-loader').hide();
+    $('.save-project-loader').gl-hide();
     $('.project-edit-container').show();
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 20656d297e502628db16be538a6e6d95e9f26070..458ec1f86d6a7a0161b972a37d15c3db1bb27c79 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -97,7 +97,7 @@
         Show it to me
         %i.icon-chevron-down
 
-    .js-toggle-visibility-container.hide
+    .js-toggle-visibility-container.gl-hide
       - if can? current_user, :archive_project, @project
         .ui-box.ui-box-danger
           .title
@@ -182,7 +182,7 @@
       - else
         %p.nothing_here_message Only project owner can remove a project
 
-.save-project-loader.hide
+.save-project-loader.gl-hide
   %center
     = image_tag "ajax_loader.gif"
     %h3 Saving project.
diff --git a/app/views/projects/graphs/show.html.haml b/app/views/projects/graphs/show.html.haml
index a21cb9e7861a2607d1681b49aa5bc60a4cbe4f28..1d789f325ef8368865b86eae6768d6e044e24801 100644
--- a/app/views/projects/graphs/show.html.haml
+++ b/app/views/projects/graphs/show.html.haml
@@ -21,14 +21,14 @@
       %ol.contributors-list.clearfix
 
 :javascript
-  $(".stat-graph").hide();
+  $(".stat-graph").gl-hide();
 
   $.ajax({
     type: "GET",
     url: location.href,
     complete: function() {
       $(".stat-graph").fadeIn();
-      $(".loading-graph").hide();
+      $(".loading-graph").gl-hide();
     },
     dataType: "script"
   });
diff --git a/app/views/projects/issues/_issues.html.haml b/app/views/projects/issues/_issues.html.haml
index e2ce26feac3fe175891358672981113f2672fb59..a9ad8b28c82521284da9944e38d309bba40e66df 100644
--- a/app/views/projects/issues/_issues.html.haml
+++ b/app/views/projects/issues/_issues.html.haml
@@ -2,7 +2,7 @@
   .title
     = check_box_tag "check_all_issues", nil, false, class: "check_all_issues left"
     .clearfix
-      .issues_bulk_update.hide
+      .issues_bulk_update.gl-hide
         = form_tag bulk_update_project_issues_path(@project), method: :post  do
           %span Update selected issues with  
           = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status")
diff --git a/app/views/projects/issues/update.js.haml b/app/views/projects/issues/update.js.haml
index 2be1d0f0db0fc5b073ec294e4677d11f25433955..4f14cd809cd3ca289bd2ebc08c7351bdb4f591c2 100644
--- a/app/views/projects/issues/update.js.haml
+++ b/app/views/projects/issues/update.js.haml
@@ -6,7 +6,7 @@
   $('.issue-box .context').html("#{escape_javascript(render partial: 'issue_context', locals: { issue: @issue })}");
   $('.issue-box .context').effect('highlight');
   $('.chosen').chosen();
-  $('.edit-issue.inline-update input[type="submit"]').hide();
+  $('.edit-issue.inline-update input[type="submit"]').gl-hide();
   - if @issue.milestone
     $('.milestone-nav-link').replaceWith("#{escape_javascript(link_to "| #{@issue.milestone.title}", project_milestone_path(@issue.project, @issue.milestone), :class => 'milestone-nav-link')}")
   - else
diff --git a/app/views/projects/merge_requests/show/_commits.html.haml b/app/views/projects/merge_requests/show/_commits.html.haml
index 7b0e67053a534cc10bf2232f537a02f9e51fd707..c0de5728816c7ee55d4adf96be35bf21a12baffa 100644
--- a/app/views/projects/merge_requests/show/_commits.html.haml
+++ b/app/views/projects/merge_requests/show/_commits.html.haml
@@ -12,7 +12,7 @@
             8 of #{@commits.count} commits displayed.
             %strong
               %a.show-all-commits Click here to show all
-        %ul.all-commits.hide.well-list
+        %ul.all-commits.gl-hide.well-list
           - @commits.each do |commit|
             = render "projects/commits/commit", commit: commit, project: @merge_request.source_project
 
diff --git a/app/views/projects/merge_requests/show/_how_to_merge.html.haml b/app/views/projects/merge_requests/show/_how_to_merge.html.haml
index 98d373e8ad41731ced9a348e39f7b5e6530b46d0..c39ecac4b59d83ac3d9df012326a17c63a044917 100644
--- a/app/views/projects/merge_requests/show/_how_to_merge.html.haml
+++ b/app/views/projects/merge_requests/show/_how_to_merge.html.haml
@@ -1,4 +1,4 @@
-%div#modal_merge_info.modal.hide
+%div#modal_merge_info.modal.gl-hide
   .modal-header
     %a.close{href: "#", "data-dismiss" => "modal"} ×
     %h3 How to merge
@@ -46,6 +46,6 @@
       modal.show();
     });
     $('.modal-header .close').bind("click", function(){
-      modal.hide();
+      modal.gl-hide();
     })
   })
diff --git a/app/views/projects/merge_requests/show/_mr_accept.html.haml b/app/views/projects/merge_requests/show/_mr_accept.html.haml
index 299e1bc1e08715feec50df76593a6b15abf8ba83..bd29de895d5e6c4098f1427a377181f5af3df95e 100644
--- a/app/views/projects/merge_requests/show/_mr_accept.html.haml
+++ b/app/views/projects/merge_requests/show/_mr_accept.html.haml
@@ -46,7 +46,7 @@
     .alert.alert-info
       %strong This merge request already can not be merged. Try to reload page.
 
-  .merge-in-progress.hide
+  .merge-in-progress.gl-hide
     %span.cgray
       %i.icon-refresh.icon-spin
        
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index ee6c42b6ea84740fef47901d5038a93df5f63a43..2b3eb2b81b4056228ae9464de1fd8f21f9d3e5fe 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -13,7 +13,7 @@
             = link_to "#", class: 'js-toggle-visibility-link' do
               %span Customize repository name?
 
-      .control-group.js-toggle-visibility-container.hide
+      .control-group.js-toggle-visibility-container.gl-hide
         = f.label :path do
           %span Repository name
         .controls
@@ -59,7 +59,7 @@
               = link_to new_group_path, class: "btn btn-tiny" do
                 Create a group
 
-.save-project-loader.hide
+.save-project-loader.gl-hide
   %center
     = image_tag "ajax_loader.gif"
     %h3 Creating project & repository.
diff --git a/app/views/projects/notes/_discussion.html.haml b/app/views/projects/notes/_discussion.html.haml
index ee65ae1e2f5522c63e512e01665f7a58ee5255b2..30030f3245e69e023521fb7a40ddda9e0cf3ddbd 100644
--- a/app/views/projects/notes/_discussion.html.haml
+++ b/app/views/projects/notes/_discussion.html.haml
@@ -40,7 +40,7 @@
           .file= render "projects/notes/discussion_diff", discussion_notes: discussion_notes, note: note
       - else
         = link_to 'show outdated discussion', '#', class: 'js-show-outdated-discussion'
-        %div.hide.outdated-discussion
+        %div.gl-hide.outdated-discussion
           .content
             .notes{ rel: discussion_notes.first.discussion_id }
               = render discussion_notes
@@ -53,7 +53,7 @@
         = render "projects/notes/discussion_reply_button", note: discussion_notes.first
 
     -# will be shown when the other one is hidden
-    .discussion-hidden.content.hide
+    .discussion-hidden.content.gl-hide
       .note
         %em Hidden discussion.
         = link_to "javascript:;", class: "js-details-target js-toggler-target" do
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 8eac4cb4e2d1653c9d10b9949188b2d9eef0e0f9..c04e809b7dd766254aa12ad4ac92cb2edd99727b 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -5,7 +5,7 @@
     = render "events/event_last_push", event: @last_push
     = render 'shared/event_filter'
     .content_list
-    .loading.hide
+    .loading.gl-hide
   .col-md-3.project-side
     .clearfix
       - if @project.archived?
diff --git a/app/views/projects/tree/_blob_item.html.haml b/app/views/projects/tree/_blob_item.html.haml
index b179ad7d245f051a95db77c2909996a179375c68..8d5e85357c3dec4dcfbe35f750d3d83de49bccc0 100644
--- a/app/views/projects/tree/_blob_item.html.haml
+++ b/app/views/projects/tree/_blob_item.html.haml
@@ -3,7 +3,7 @@
     = tree_icon(type)
     %span= link_to truncate(blob_item.name, length: 40), project_blob_path(@project, tree_join(@id || @commit.id, blob_item.name))
   %td.tree_time_ago.cgray
-    %span.log_loading.hide
+    %span.log_loading.gl-hide
       Loading commit data...
       = image_tag "ajax_loader_tree.gif", width: 14
   %td.tree_commit{ colspan: 2 }
diff --git a/app/views/projects/tree/_tree_item.html.haml b/app/views/projects/tree/_tree_item.html.haml
index f8856afc8664b31e719832df14979c63618a94f8..7a0edd323a67038250c3c08c53cd8fd68d54f80f 100644
--- a/app/views/projects/tree/_tree_item.html.haml
+++ b/app/views/projects/tree/_tree_item.html.haml
@@ -3,7 +3,7 @@
     = tree_icon(type)
     %span= link_to truncate(tree_item.name, length: 40), project_tree_path(@project, tree_join(@id || @commit.id, tree_item.name))
   %td.tree_time_ago.cgray
-    %span.log_loading.hide
+    %span.log_loading.gl-hide
       Loading commit data...
       = image_tag "ajax_loader_tree.gif", width: 14
   %td.tree_commit{ colspan: 2 }
diff --git a/app/views/projects/update.js.haml b/app/views/projects/update.js.haml
index cbb21f2b9fb03229e6a95b623bfd0e2f8803e078..e4a50b0dae9a081f92cdbf7ba99f283465a689d1 100644
--- a/app/views/projects/update.js.haml
+++ b/app/views/projects/update.js.haml
@@ -4,6 +4,6 @@
 - else
   :plain
     $(".project-edit-errors").html("#{escape_javascript(render('errors'))}");
-    $('.save-project-loader').hide();
+    $('.save-project-loader').gl-hide();
     $('.project-edit-container').show();
     $('.project-edit-content .btn-save').enableButton();
diff --git a/app/views/projects/wikis/_new.html.haml b/app/views/projects/wikis/_new.html.haml
index f64772b20014847fa1a5a3564dfdd52265b3c576..86fbab0a67f4133d5a4f8e568a1ea18743ae80a3 100644
--- a/app/views/projects/wikis/_new.html.haml
+++ b/app/views/projects/wikis/_new.html.haml
@@ -1,4 +1,4 @@
-%div#modal-new-wiki.modal.hide
+%div#modal-new-wiki.modal.gl-hide
   .modal-header
     %a.close{href: "#", "data-dismiss" => "modal"} ×
     %h3.page-title New Wiki Page
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml
index 077e6c6a808dd2534adcc650811fef0b9cc7a30e..62093a294a6e0009ac5015f565bd93d9b176d846 100644
--- a/app/views/shared/_no_ssh.html.haml
+++ b/app/views/shared/_no_ssh.html.haml
@@ -1,4 +1,4 @@
-- if cookies[:hide_no_ssh_message].blank? && current_user.require_ssh_key? && !current_user.hide_no_ssh_key
+- if cookies[:hide_no_ssh_message].blank? && current_user.require_ssh_key? && !current_user.gl-hide_no_ssh_key
   .no-ssh-key-message
     .container
       You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', new_profile_key_path} to your profile
diff --git a/app/views/users_groups/_users_group.html.haml b/app/views/users_groups/_users_group.html.haml
index 5f477f3c976720244a6b0198761a8a9cd21fdc8c..fb8aff17f50fb2a1853c6fb24662811b93af36ff 100644
--- a/app/views/users_groups/_users_group.html.haml
+++ b/app/views/users_groups/_users_group.html.haml
@@ -16,7 +16,7 @@
       = link_to group_users_group_path(@group, member), data: { confirm: remove_user_from_group_message(@group, user) }, method: :delete, remote: true, class: "btn-tiny btn btn-remove", title: 'Remove user from group' do
         %i.icon-minus.icon-white
 
-  .edit-member.hide.js-toggle-content
+  .edit-member.gl-hide.js-toggle-content
     = form_for [@group, member], remote: true do |f|
       .alert.prepend-top-20
         = f.select :group_access, options_for_select(UsersGroup.group_access_roles, member.group_access)