Commit e7f9b17c authored by kushalpandya's avatar kushalpandya

Make admin welcome page have extra offset margin

parent af571630
......@@ -54,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;
......
- state_offset_class = current_license&.trial? ? 'col-md-offset-4' : 'col-md-offset-1'
- state_offset_class = current_license&.trial? ? 'col-md-offset-3' : 'col-md-offset-1'
- state_icon_class = current_license&.trial? ? 'col-md-1' : 'col-md-2'
- state_body_class = current_license&.trial? ? 'col-md-3' : 'col-md-8'
- state_body_class = current_license&.trial? ? 'col-md-5' : 'col-md-8'
.blank-state.clearfix
.blank-state-icon{ class: "#{state_icon_class} #{state_offset_class}" }
......@@ -34,4 +34,4 @@
%p.blank-state-text
Groups are a great way to organise projects and people.
= link_to new_group_path, class: "btn btn-new" do
New group
\ No newline at end of file
New group
.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
......@@ -13,4 +13,4 @@
- if !current_license&.trial? && current_user.admin?
.col-md-6.section-container
.section-body.section-ee-trial
= render "blank_state_ee_trial"
\ No newline at end of file
= render "blank_state_ee_trial"
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