Make offset override specific to admin welcome page
This commit is contained in:
parent
7732c274c2
commit
b7dcd1a091
2 changed files with 11 additions and 2 deletions
|
@ -47,7 +47,6 @@
|
||||||
.blank-state-icon {
|
.blank-state-icon {
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
font-size: 56px;
|
font-size: 56px;
|
||||||
margin-left: 30%; /* this is slight increase over 25% of col-md-offset-3 */
|
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
display: block;
|
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 {
|
.blank-state-title {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.row.blank-state-parent-container
|
.row.blank-state-parent-container
|
||||||
.col-md-6.section-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
|
.blank-state.blank-state-welcome
|
||||||
%h2.blank-state-welcome-title
|
%h2.blank-state-welcome-title
|
||||||
Welcome to GitLab
|
Welcome to GitLab
|
||||||
|
|
Loading…
Reference in a new issue