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
81175073
Commit
81175073
authored
Nov 25, 2012
by
Koen Punt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed overqualified mixins round-borders-*
parent
238c214a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
24 deletions
+13
-24
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
+9
-5
app/assets/stylesheets/mixins.scss
app/assets/stylesheets/mixins.scss
+0
-15
app/assets/stylesheets/sections/commits.scss
app/assets/stylesheets/sections/commits.scss
+1
-2
app/assets/stylesheets/sections/merge_requests.scss
app/assets/stylesheets/sections/merge_requests.scss
+1
-1
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+2
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
View file @
81175073
...
...
@@ -61,7 +61,10 @@
.ui-box
{
background
:
#F9F9F9
;
margin-bottom
:
25px
;
@include
round-borders-all
(
4px
);
border
:
1px
solid
#eaeaea
;
@include
border-radius
(
4px
);
border-color
:
#CCC
;
@include
solid_shade
;
...
...
@@ -75,8 +78,9 @@
h5
,
.title
{
padding
:
0
10px
;
@include
round-borders-top
(
4px
);
@include
border-radius
(
4px
4px
0
0
);
@include
bg-gray-gradient
;
border-top
:
1px
solid
#eaeaea
;
border-bottom
:
1px
solid
#bbb
;
&
.small
{
...
...
@@ -104,7 +108,7 @@
.bottom
{
@include
bg-gray-gradient
;
@include
round-borders-bottom
(
4px
);
@include
border-radius
(
0
0
4px
4px
);
border-bottom
:
none
;
border-top
:
1px
solid
#bbb
;
}
...
...
@@ -137,12 +141,12 @@
li
,
.wll
{
padding
:
10px
;
&
:first-child
{
@include
round-borders-top
(
4px
);
@include
border-radius
(
4px
4px
0
0
);
border-top
:
none
;
}
&
:last-child
{
@include
round-borders-bottom
(
4px
);
@include
border-radius
(
0
0
4px
4px
);
border
:
none
;
}
}
...
...
app/assets/stylesheets/mixins.scss
View file @
81175073
...
...
@@ -34,21 +34,6 @@
background-image
:
-o-linear-gradient
(
$from
,
$to
);
}
@mixin
round-borders-bottom
(
$radius
)
{
border-top
:
1px
solid
#eaeaea
;
@include
border-radius
(
0
0
$radius
$radius
);
}
@mixin
round-borders-top
(
$radius
)
{
border-top
:
1px
solid
#eaeaea
;
@include
border-radius
(
$radius
$radius
0
0
);
}
@mixin
round-borders-all
(
$radius
)
{
border
:
1px
solid
#eaeaea
;
@include
border-radius
(
$radius
);
}
@mixin
bg-gradient
(
$from
,
$to
)
{
@include
linear-gradient
(
$from
,
$to
);
}
...
...
app/assets/stylesheets/sections/commits.scss
View file @
81175073
...
...
@@ -295,9 +295,8 @@
}
.label_commit
{
@include
round-borders-all
(
4px
);
@include
border-radius
(
4px
);
padding
:
2px
4px
;
border
:
none
;
font-size
:
13px
;
background
:
#474D57
;
color
:
#fff
;
...
...
app/assets/stylesheets/sections/merge_requests.scss
View file @
81175073
...
...
@@ -84,7 +84,7 @@ li.merge_request {
}
.label_branch
{
@include
round-borders-all
(
4px
);
@include
border-radius
(
4px
);
padding
:
2px
4px
;
border
:
none
;
font-size
:
14px
;
...
...
app/assets/stylesheets/sections/notes.scss
View file @
81175073
...
...
@@ -105,7 +105,8 @@ tr.line_notes_row {
padding
:
7px
10px
;
}
a
.line_note_reply_link
{
@include
round-borders-all
(
4px
);
border
:
1px
solid
#eaeaea
;
@include
border-radius
(
4px
);
padding
:
3px
10px
;
margin-left
:
5px
;
color
:
white
;
...
...
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