Commit 6aa3e7ba authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7169 from cirosantilli/remove-center-elem

Replace HTML5 obsolete center element with CSS.
parents d25f2544 83f4735b
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
.append-bottom-15 { margin-bottom:15px } .append-bottom-15 { margin-bottom:15px }
.append-bottom-20 { margin-bottom:20px } .append-bottom-20 { margin-bottom:20px }
.inline { display: inline-block } .inline { display: inline-block }
.center { text-align: center }
.underlined-link { text-decoration: underline; } .underlined-link { text-decoration: underline; }
.hint { font-style: italic; color: #999; } .hint { font-style: italic; color: #999; }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
= render "layouts/flash" = render "layouts/flash"
.container .container
.content .content
%center .center
%h1 GitLab %h1 GitLab
%p.light %p.light
GitLab is open source software to collaborate on code. GitLab is open source software to collaborate on code.
......
...@@ -6,5 +6,5 @@ ...@@ -6,5 +6,5 @@
= render "layouts/flash" = render "layouts/flash"
.container .container
.content .content
%center.padded.prepend-top-20 .center.padded.prepend-top-20
= yield = yield
.file-content.blob_file.blob-no-preview .file-content.blob_file.blob-no-preview
%center .center
= link_to project_raw_path(@project, @id) do = link_to project_raw_path(@project, @id) do
%h1.light %h1.light
%i.icon-download-alt %i.icon-download-alt
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
- else - else
.light-well .light-well
%center .center
%h4 %h4
There isn't anything to compare. There isn't anything to compare.
%p.slead %p.slead
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
.nothing-here-block Only project owner can remove a project .nothing-here-block Only project owner can remove a project
.save-project-loader.hide .save-project-loader.hide
%center .center
%h2 %h2
%i.icon-spinner.icon-spin %i.icon-spinner.icon-spin
Saving project. Saving project.
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.file-content.code .file-content.code
%pre.js-edit-mode-pane#editor= @blob.data %pre.js-edit-mode-pane#editor= @blob.data
.js-edit-mode-pane#preview.hide .js-edit-mode-pane#preview.hide
%center .center
%h2 %h2
%i.icon-spinner.icon-spin %i.icon-spinner.icon-spin
......
.loading-graph .loading-graph
%center .center
%h3.page-title %h3.page-title
%i.icon-spinner.icon-spin %i.icon-spinner.icon-spin
Building repository graph. Building repository graph.
......
- if @project.import_in_progress? - if @project.import_in_progress?
.save-project-loader .save-project-loader
%center .center
%h2 %h2
%i.icon-spinner.icon-spin %i.icon-spinner.icon-spin
Import in progress. Import in progress.
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
- elsif @project.import_failed? - elsif @project.import_failed?
.save-project-loader .save-project-loader
%center .center
%h2 %h2
Import failed. Retry? Import failed. Retry?
%hr %hr
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
%p We can't compare selected branches. It may be because of huge diff or satellite timeout. Please try again or select different branches. %p We can't compare selected branches. It may be because of huge diff or satellite timeout. Please try again or select different branches.
- else - else
.light-well .light-well
%center .center
%h4 %h4
There isn't anything to merge. There isn't anything to merge.
%p.slead %p.slead
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
Create a group Create a group
.save-project-loader.hide .save-project-loader.hide
%center .center
%h2 %h2
%i.icon-spinner.icon-spin %i.icon-spinner.icon-spin
Creating project & repository. Creating project & repository.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment