Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
5934dbb514bb
Commit
ac148c50
authored
May 14, 2013
by
Dmitriy Zaporozhets
Browse files
style counters on navbar. minor ui changes
parent
b7ea4e06e94f
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/assets/stylesheets/sections/nav.scss
View file @
5934dbb5
...
...
@@ -10,17 +10,17 @@
top
:
3px
;
overflow
:
hidden
;
.count
{
position
:
relative
;
top
:
-1px
;
font-weight
:
normal
;
display
:
inline-block
;
height
:
15px
;
margin
:
0
0
0
5px
;
padding
:
0
8px
1px
8px
;
padding
:
1px
6px
;
height
:
auto
;
font-size
:
0
.82em
;
line-height
:
14px
;
text-align
:
center
;
color
:
#777
;
background
:
#eee
;
@include
border-radius
(
8px
);
}
.label
{
background
:
$hover
;
...
...
app/assets/stylesheets/themes/ui_basic.scss
View file @
5934dbb5
...
...
@@ -5,7 +5,7 @@
*/
.ui_basic
{
.separator
{
background
:
white
;
background
:
#F9F9F9
;
border-left
:
1px
solid
#DDD
;
}
}
app/views/projects/_clone_panel.html.haml
View file @
5934dbb5
...
...
@@ -7,7 +7,7 @@
-
unless
@project
.
empty_repo?
-
if
can?
(
current_user
,
:fork_project
,
@project
)
&&
@project
.
namespace
!=
current_user
.
namespace
-
if
current_user
.
already_forked?
(
@project
)
=
link_to
project_path
(
current_user
.
fork_of
(
@project
)),
class:
'btn grouped
success
'
do
=
link_to
project_path
(
current_user
.
fork_of
(
@project
)),
class:
'btn grouped
btn-primary
'
do
Forked
-
else
=
link_to
fork_project_path
(
@project
),
title:
"Fork"
,
class:
"btn grouped"
,
method:
"POST"
do
...
...
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