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
c05692b7
Commit
c05692b7
authored
Aug 25, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scss refactoring
parent
fee26c58
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
38 deletions
+15
-38
app/assets/stylesheets/gitlab_bootstrap.scss
app/assets/stylesheets/gitlab_bootstrap.scss
+4
-19
app/assets/stylesheets/main.scss
app/assets/stylesheets/main.scss
+7
-1
app/assets/stylesheets/ref_select.scss
app/assets/stylesheets/ref_select.scss
+1
-3
app/assets/stylesheets/sections/graph.scss
app/assets/stylesheets/sections/graph.scss
+1
-5
app/assets/stylesheets/sections/nav.scss
app/assets/stylesheets/sections/nav.scss
+1
-5
app/assets/stylesheets/sections/tree.scss
app/assets/stylesheets/sections/tree.scss
+1
-5
No files found.
app/assets/stylesheets/gitlab_bootstrap.scss
View file @
c05692b7
...
...
@@ -468,12 +468,8 @@ form {
h5
,
.title
{
padding
:
0
10px
;
@include
round-borders-top
(
4px
);
@include
bg-gray-gradient
;
border-bottom
:
1px
solid
#bbb
;
background
:
#eee
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
&
.small
{
line-height
:
28px
;
...
...
@@ -499,10 +495,7 @@ form {
}
.bottom
{
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
@include
bg-gray-gradient
;
@include
round-borders-bottom
(
4px
);
border-bottom
:none
;
border-top
:
1px
solid
#bbb
;
...
...
@@ -555,11 +548,7 @@ table.admin-table {
th
{
border-color
:
#CCC
;
border-bottom
:
1px
solid
#bbb
;
background
:
#eee
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
@include
bg-gray-gradient
;
}
}
...
...
@@ -682,11 +671,7 @@ h3.page_title {
.file_title
{
border-bottom
:
1px
solid
#bbb
;
background
:
#eee
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
@include
bg-gray-gradient
;
margin
:
0
;
font-weight
:
normal
;
font-weight
:
bold
;
...
...
app/assets/stylesheets/main.scss
View file @
c05692b7
...
...
@@ -72,7 +72,13 @@ $hover: #FDF5D9;
border-radius
:
$radius
;
}
@mixin
bg-gray-gradient
{
background
:
#eee
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
}
/**
* Header of application.
...
...
app/assets/stylesheets/ref_select.scss
View file @
c05692b7
...
...
@@ -33,9 +33,7 @@
}
.chzn-single
{
background
:
#ddd
;
//border:none;
//box-shadow:none;
@include
bg-gray-gradient
;
div
{
background
:transparent
;
...
...
app/assets/stylesheets/sections/graph.scss
View file @
c05692b7
...
...
@@ -6,11 +6,7 @@
h4
{
padding
:
0
10px
;
border-bottom
:
1px
solid
#bbb
;
background
:
#eee
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
@include
bg-gray-gradient
;
}
.graph
{
...
...
app/assets/stylesheets/sections/nav.scss
View file @
c05692b7
...
...
@@ -6,13 +6,9 @@ ul.main_menu {
border-radius
:
4px
;
margin
:
auto
;
margin
:
30px
0
;
background
:
#eee
;
border
:
1px
solid
#bbb
;
height
:
37px
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
@include
bg-gray-gradient
;
position
:relative
;
overflow
:hidden
;
@include
shade
;
...
...
app/assets/stylesheets/sections/tree.scss
View file @
c05692b7
...
...
@@ -72,11 +72,7 @@
th
{
border-color
:
#CCC
;
border-bottom
:
1px
solid
#bbb
;
background
:
#eee
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-moz-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
@include
bg-gray-gradient
;
}
}
...
...
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