Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
b7dcd1a0
Commit
b7dcd1a0
authored
Jul 06, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make offset override specific to admin welcome page
parent
7732c274
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
app/assets/stylesheets/framework/blank.scss
app/assets/stylesheets/framework/blank.scss
+10
-1
app/views/dashboard/projects/_zero_authorized_projects.html.haml
...ws/dashboard/projects/_zero_authorized_projects.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/blank.scss
View file @
b7dcd1a0
...
@@ -47,7 +47,6 @@
...
@@ -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 @@
...
@@ -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
;
...
...
app/views/dashboard/projects/_zero_authorized_projects.html.haml
View file @
b7dcd1a0
.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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment