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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
718165ba
Commit
718165ba
authored
11 years ago
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle visibility icon
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
85a0be14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+5
-4
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+1
-2
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
718165ba
...
@@ -52,15 +52,16 @@
...
@@ -52,15 +52,16 @@
}
}
.visibility-level-label
{
.visibility-level-label
{
font-size
:
1
3
px
;
font-size
:
1
7
px
;
background
:
#f1f1f1
;
background
:
#f1f1f1
;
padding
:
8px
;
border-radius
:
4px
;
border-radius
:
4px
;
margin-left
:
10px
;
color
:
#888
;
color
:
#888
;
position
:
absolute
;
position
:
absolute
;
margin-left
:
-
80
px
;
margin-left
:
-
55
px
;
text-shadow
:
0
1px
1px
#FFF
;
text-shadow
:
0
1px
1px
#FFF
;
width
:
40px
;
text-align
:
center
;
padding
:
6px
;
i
{
i
{
color
:
inherit
;
color
:
inherit
;
...
...
This diff is collapsed.
Click to expand it.
app/views/projects/_home_panel.html.haml
View file @
718165ba
-
empty_repo
=
@project
.
empty_repo?
-
empty_repo
=
@project
.
empty_repo?
.project-home-panel
{
:class
=>
(
"empty-project"
if
empty_repo
)}
.project-home-panel
{
:class
=>
(
"empty-project"
if
empty_repo
)}
.visibility-level-label
.visibility-level-label
.has_tooltip
{
'data-title'
=>
"#{visibility_level_label(@project.visibility_level)} project"
}
=
visibility_level_icon
(
@project
.
visibility_level
)
=
visibility_level_icon
(
@project
.
visibility_level
)
=
visibility_level_label
(
@project
.
visibility_level
)
.row
.row
.col-sm-6
.col-sm-6
%h4
.project-home-title
%h4
.project-home-title
...
...
This diff is collapsed.
Click to expand it.
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