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
e9246148
Commit
e9246148
authored
Jan 20, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor some CSS rules.
parent
a091483b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+16
-5
app/views/projects/forks/index.html.haml
app/views/projects/forks/index.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
e9246148
...
@@ -569,18 +569,28 @@ pre.light-well {
...
@@ -569,18 +569,28 @@ pre.light-well {
* Forks list rendered on Project's forks page
* Forks list rendered on Project's forks page
*/
*/
.forks-top-block
{
padding
:
16px
0
;
}
.projects-search-form
{
.projects-search-form
{
&
.fork-search-form
{
&
.fork-search-form
{
margin
:
0
;
margin
:
0
;
margin-top
:
-
$gl-padding
;
margin-top
:
-
$gl-padding
;
padding-bottom
:
0
;
padding-bottom
:
0
;
width
:
540px
;
input
{
input
{
width
:
calc
(
100%
-
300px
);
/* Small devices (tablets, 768px and up) */
@media
(
min-width
:
$screen-sm-min
)
{
width
:
180px
;
}
/* Medium devices (desktops, 992px and up) */
@media
(
min-width
:
$screen-md-min
)
{
width
:
350px
;
}
/* Large devices (large desktops, 1200px and up) */
@media
(
min-width
:
$screen-lg-min
)
{
width
:
400px
;
}
}
}
button
.sort-forks
{
.sort-forks
{
width
:
160px
;
width
:
160px
;
}
}
...
@@ -596,10 +606,11 @@ pre.light-well {
...
@@ -596,10 +606,11 @@ pre.light-well {
}
}
.private-forks-notice
.private-fork-icon
{
.private-forks-notice
.private-fork-icon
{
i
.fa-circle
{
i
:nth-child
(
1
)
{
color
:
#2AA056
;
color
:
#2AA056
;
}
}
i
.fa-lock
{
i
:nth-child
(
2
)
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
}
}
}
}
app/views/projects/forks/index.html.haml
View file @
e9246148
.gray-content-block.top-block.clearfix.white
.gray-content-block.top-block.clearfix.white
.forks-top-block
.pull-left
.pull-left
-
public_count
=
@public_forks
.
size
-
public_count
=
@public_forks
.
size
-
protected_count
=
@protected_forks
.
size
-
protected_count
=
@protected_forks
.
size
...
...
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