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
Kazuhiko Shiozaki
gitlab-ce
Commits
2e83de19
Commit
2e83de19
authored
Feb 19, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed layout for ipad
parent
ee45a49c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
15 deletions
+30
-15
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+12
-7
app/assets/stylesheets/main.scss
app/assets/stylesheets/main.scss
+2
-2
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+5
-0
app/assets/stylesheets/top_panel.scss
app/assets/stylesheets/top_panel.scss
+7
-2
app/views/projects/_tile.html.haml
app/views/projects/_tile.html.haml
+4
-4
No files found.
app/assets/stylesheets/common.scss
View file @
2e83de19
...
@@ -82,12 +82,16 @@ a {
...
@@ -82,12 +82,16 @@ a {
.container
{
.container
{
width
:
$min_app_width
;
width
:
$min_app_width
;
margin-top
:
50px
;
padding-top
:
0
;
padding
:
$app_padding
;
z-index
:
5
;
}
.container
.content
{
margin
:
0
$app_padding
;
}
}
.container
.sidebar
{
.container
.sidebar
{
width
:
2
2
0px
;
width
:
2
0
0px
;
height
:
100%
;
height
:
100%
;
min-height
:
450px
;
min-height
:
450px
;
float
:right
;
float
:right
;
...
@@ -95,10 +99,8 @@ a {
...
@@ -95,10 +99,8 @@ a {
nav
.main_menu
{
nav
.main_menu
{
border-radius
:
4px
;
border-radius
:
4px
;
width
:
100%
;
margin
:
auto
;
margin
:
auto
;
margin-top
:
30px
;
margin
:
30px
$app_padding
;
margin-bottom
:
30px
;
background
:
#f1f1f1
;
background
:
#f1f1f1
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
height
:
38px
;
height
:
38px
;
...
@@ -154,7 +156,6 @@ aside.projects,
...
@@ -154,7 +156,6 @@ aside.projects,
aside
.project-side
aside
.project-side
{
{
margin-left
:
0
;
margin-left
:
0
;
padding-left
:
20px
;
}
}
img
.avatar
{
img
.avatar
{
...
@@ -327,3 +328,7 @@ img.lil_av {
...
@@ -327,3 +328,7 @@ img.lil_av {
.borders
{
.borders
{
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
}
}
.well.padded
{
padding
:
29px
;
}
app/assets/stylesheets/main.scss
View file @
2e83de19
...
@@ -9,8 +9,8 @@ $active_bg_color:#79C3E0;
...
@@ -9,8 +9,8 @@ $active_bg_color:#79C3E0;
$active_bd_color
:
#2FA0BB
;
$active_bd_color
:
#2FA0BB
;
$border_color
:
#CCC
;
$border_color
:
#CCC
;
$lite_border_color
:
#EEE
;
$lite_border_color
:
#EEE
;
$min_app_width
:
9
6
0px
;
$min_app_width
:
9
8
0px
;
$max_app_width
:
9
6
0px
;
$max_app_width
:
9
8
0px
;
$app_padding
:
20px
;
$app_padding
:
20px
;
$bg_color
:
#FFF
;
$bg_color
:
#FFF
;
$styled_border_color
:
#2FA0BB
;
$styled_border_color
:
#2FA0BB
;
...
...
app/assets/stylesheets/projects.css.scss
View file @
2e83de19
...
@@ -216,3 +216,8 @@ input.git_clone_url {
...
@@ -216,3 +216,8 @@ input.git_clone_url {
#new_issue_dialog
textarea
{
#new_issue_dialog
textarea
{
height
:
100px
;
height
:
100px
;
}
}
.project_list_url
{
width
:
270px
;
background
:
#fff
!
important
;
}
app/assets/stylesheets/top_panel.scss
View file @
2e83de19
body
header
{
body
header
{
position
:absolute
;
width
:
100%
;
width
:
100%
;
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
...
@@ -19,9 +18,15 @@ body header {
...
@@ -19,9 +18,15 @@ body header {
min-width
:
$min_app_width
;
min-width
:
$min_app_width
;
max-width
:
$max_app_width
;
max-width
:
$max_app_width
;
position
:relative
;
position
:relative
;
padding
:
15px
$app_padding
;
padding
:
15px
0
;
.top_panel_content
{
margin
:
0
$app_padding
;
}
}
}
.project_name
{
.project_name
{
float
:left
;
float
:left
;
width
:
400px
;
width
:
400px
;
...
...
app/views/projects/_tile.html.haml
View file @
2e83de19
-
@projects
.
in_groups_of
(
2
,
false
)
do
|
projects
|
-
@projects
.
in_groups_of
(
2
,
false
)
do
|
projects
|
.row
.row
-
projects
.
each_with_index
do
|
project
,
i
|
-
projects
.
each_with_index
do
|
project
,
i
|
.span5.well
%div
.span5.well.padded
=
link_to
project_path
(
project
)
do
=
link_to
project_path
(
project
)
do
%h3
=
truncate
(
project
.
name
,
:length
=>
2
0
)
%h3
=
truncate
(
project
.
name
,
:length
=>
2
8
)
%p
.title.repository.git_url_wrapper
%p
%input
{
:value
=>
project
.
url_to_repo
,
:class
=>
[
'git-url'
,
'one_click_select'
,
'text'
,
'project_list_url'
],
:readonly
=>
'readonly'
}
%input
{
:value
=>
project
.
url_to_repo
,
:class
=>
[
'git-url'
,
'one_click_select'
,
'text'
,
'project_list_url'
],
:readonly
=>
'readonly'
}
%a
.btn
{
:href
=>
tree_project_ref_path
(
project
,
project
.
root_ref
)}
Browse code
%a
.btn
.info
{
:href
=>
tree_project_ref_path
(
project
,
project
.
root_ref
)}
Browse code
%a
.btn
{
:href
=>
project_commits_path
(
project
)}
Commits
%a
.btn
{
:href
=>
project_commits_path
(
project
)}
Commits
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