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
Tatuya Kamada
gitlab-ce
Commits
4dfa1ed2
Commit
4dfa1ed2
authored
Jan 15, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some mobile fixes to UI
parent
67b42e26
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
19 deletions
+34
-19
app/assets/stylesheets/generic/mobile.scss
app/assets/stylesheets/generic/mobile.scss
+32
-1
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+0
-14
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+1
-1
app/views/shared/_milestones_filter.html.haml
app/views/shared/_milestones_filter.html.haml
+1
-3
No files found.
app/assets/stylesheets/generic/mobile.scss
View file @
4dfa1ed2
/** Common mobile (screen XS) styles **/
/** Common mobile (screen XS
, SM
) styles **/
@media
(
max-width
:
$screen-xs-max
)
{
@media
(
max-width
:
$screen-xs-max
)
{
.container
.content
{
.container
.content
{
margin-top
:
20px
;
margin-top
:
20px
;
...
@@ -13,5 +13,36 @@
...
@@ -13,5 +13,36 @@
display
:
none
;
display
:
none
;
}
}
}
}
.issues-filters
,
.dash-projects-filters
{
display
:
none
;
}
.rss-btn
{
display
:
none
!
important
;
}
.project-home-panel
{
.star-fork-buttons
{
padding-top
:
10px
;
padding-right
:
15px
;
}
}
.project-home-links
{
display
:
none
;
}
}
}
@media
(
max-width
:
$screen-sm-max
)
{
.issues-filters
{
.milestone-filter
,
.labels-filter
{
display
:
none
;
}
}
.page-title
.new-issue-link
{
display
:
none
;
}
}
app/assets/stylesheets/sections/projects.scss
View file @
4dfa1ed2
...
@@ -296,20 +296,6 @@ ul.nav.nav-projects-tabs {
...
@@ -296,20 +296,6 @@ ul.nav.nav-projects-tabs {
}
}
}
}
@media
(
max-width
:
$screen-xs-max
)
{
.project-home-panel
{
.star-fork-buttons
{
padding-top
:
10px
;
padding-right
:
15px
;
}
}
.project-home-links
{
display
:
none
;
}
}
table
.table.protected-branches-list
tr
.no-border
{
table
.table.protected-branches-list
tr
.no-border
{
th
,
td
{
th
,
td
{
border
:
0
;
border
:
0
;
...
...
app/views/projects/issues/show.html.haml
View file @
4dfa1ed2
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
.pull-right
.pull-right
-
if
can?
(
current_user
,
:write_issue
,
@project
)
-
if
can?
(
current_user
,
:write_issue
,
@project
)
=
link_to
new_project_issue_path
(
@project
),
class:
"btn btn-grouped"
,
title:
"New Issue"
,
id:
"new_issue_link"
do
=
link_to
new_project_issue_path
(
@project
),
class:
"btn btn-grouped
new-issue-link
"
,
title:
"New Issue"
,
id:
"new_issue_link"
do
%i
.fa.fa-plus
%i
.fa.fa-plus
New Issue
New Issue
-
if
can?
(
current_user
,
:modify_issue
,
@issue
)
-
if
can?
(
current_user
,
:modify_issue
,
@issue
)
...
...
app/views/shared/_milestones_filter.html.haml
View file @
4dfa1ed2
.fixed.sidebar-expand-button.hidden-lg.hidden-md
.milestones-filters.append-bottom-10
%i
.fa.fa-list.fa-2x
.responsive-side.milestones-filters.append-bottom-10
%ul
.nav.nav-pills.nav-compact
%ul
.nav.nav-pills.nav-compact
%li
{
class:
(
"active"
if
params
[
:state
].
blank?
||
params
[
:state
]
==
'opened'
)}
%li
{
class:
(
"active"
if
params
[
:state
].
blank?
||
params
[
:state
]
==
'opened'
)}
=
link_to
milestones_filter_path
(
state:
'opened'
)
do
=
link_to
milestones_filter_path
(
state:
'opened'
)
do
...
...
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