diff options
author | kushalpandya <kushal@gitlab.com> | 2017-07-06 14:14:03 +0530 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-07-06 14:14:03 +0530 |
commit | b7dcd1a0910e316dabd3d9675cf9d861b77a911e (patch) | |
tree | 2ff35bd12d0ef62ed811572dc10c8e793df24a80 /app | |
parent | 7732c274c28137973271fabe7ace2d17358be153 (diff) | |
download | gitlab-ce-b7dcd1a0910e316dabd3d9675cf9d861b77a911e.tar.gz |
Make offset override specific to admin welcome page
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/framework/blank.scss | 11 | ||||
-rw-r--r-- | app/views/dashboard/projects/_zero_authorized_projects.html.haml | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/blank.scss b/app/assets/stylesheets/framework/blank.scss index 479e8370d78..0abc5aa460b 100644 --- a/app/assets/stylesheets/framework/blank.scss +++ b/app/assets/stylesheets/framework/blank.scss @@ -47,7 +47,6 @@ .blank-state-icon { padding-bottom: 20px; font-size: 56px; - margin-left: 30%; /* this is slight increase over 25% of col-md-offset-3 */ svg { display: block; @@ -55,6 +54,16 @@ } } +.section-admin-welcome { + /** + * This is slight increase over 25% of col-md-offset-3 for + * admin welcome page + */ + .blank-state-icon.col-md-offset-3 { + margin-left: 30%; + } +} + .blank-state-title { margin-top: 0; margin-bottom: 10px; diff --git a/app/views/dashboard/projects/_zero_authorized_projects.html.haml b/app/views/dashboard/projects/_zero_authorized_projects.html.haml index 6a6b5b79353..920fb90e857 100644 --- a/app/views/dashboard/projects/_zero_authorized_projects.html.haml +++ b/app/views/dashboard/projects/_zero_authorized_projects.html.haml @@ -1,6 +1,6 @@ .row.blank-state-parent-container .col-md-6.section-container - .section-body.section-welcome + .section-body.section-welcome{ class: "#{ 'section-admin-welcome' if current_user.admin? }" } .blank-state.blank-state-welcome %h2.blank-state-welcome-title Welcome to GitLab |