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
Boxiang Sun
gitlab-ce
Commits
aaec545a
Commit
aaec545a
authored
Sep 18, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitlab styled tabs. Better ref selector
parent
560b1ac5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
10 deletions
+42
-10
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+23
-1
app/assets/stylesheets/ref_select.scss
app/assets/stylesheets/ref_select.scss
+19
-9
No files found.
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
aaec545a
...
...
@@ -33,7 +33,29 @@
.nav-pills
a
:hover
{
background-color
:
#888
;
}
.nav-pills
.active
a
{
background-color
:
$style_color
;
}
.nav-tabs
>
li
>
a
,
.nav-pills
>
li
>
a
{
color
:
$style_color
;
}
.nav-tabs
>
.active
>
a
{
font-weight
:bold
;
}
.nav.nav-tabs
{
li
{
>
a
{
padding
:
8px
20px
;
margin-right
:
7px
;
border-color
:
#EEE
;
color
:
#888
;
border-bottom
:
1px
solid
#ddd
;
.badge
{
background-color
:
#eee
;
color
:
#888
;
text-shadow
:
0
1px
1px
#fff
;
}
}
&
.active
{
>
a
{
border-color
:
#CCC
;
border-bottom
:
1px
solid
#fff
;
color
:
#333
;
}
}
}
}
/** ALERT MESSAGES **/
.alert-message
{
@extend
.alert
;
}
...
...
app/assets/stylesheets/ref_select.scss
View file @
aaec545a
...
...
@@ -12,35 +12,45 @@
width
:
120px
;
}
.project-refs-form
.chzn-container
{
.project-refs-form
.chzn-container
{
position
:
relative
;
top
:
0
;
left
:
0
;
margin-right
:
10px
;
.chzn-drop
{
.chzn-drop
{
margin
:
7px
0
;
border
:
1px
solid
#CCC
;
min-width
:
300px
;
min-width
:
400px
;
border
:
2px
solid
$blue_link
;
@include
border-radius
(
4px
);
.chzn-results
{
.chzn-results
{
max-height
:
300px
;
.group-result
{
color
:
$blue_link
;
}
.active-result
{
&
.highlighted
{
background
:
$blue_link
;
}
}
}
.chzn-search
input
{
min-width
:
2
00px
;
min-width
:
3
00px
;
}
}
.chzn-single
{
.chzn-single
{
@include
bg-gray-gradient
;
div
{
div
{
background
:transparent
;
border-left
:none
;
}
span
{
span
{
font-weight
:
normal
;
}
}
...
...
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