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
e2b8025a
Commit
e2b8025a
authored
Mar 07, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase input padding and fit issue form in laptop screen
parent
4f3d7048
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
11 deletions
+16
-11
app/assets/stylesheets/base/gl_bootstrap.scss
app/assets/stylesheets/base/gl_bootstrap.scss
+8
-0
app/assets/stylesheets/base/gl_variables.scss
app/assets/stylesheets/base/gl_variables.scss
+2
-2
app/assets/stylesheets/generic/gfm.scss
app/assets/stylesheets/generic/gfm.scss
+1
-1
app/assets/stylesheets/generic/selects.scss
app/assets/stylesheets/generic/selects.scss
+2
-2
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-5
app/views/projects/_issuable_form.html.haml
app/views/projects/_issuable_form.html.haml
+2
-0
app/views/projects/blob/_blob.html.haml
app/views/projects/blob/_blob.html.haml
+1
-1
No files found.
app/assets/stylesheets/base/gl_bootstrap.scss
View file @
e2b8025a
...
@@ -189,3 +189,11 @@
...
@@ -189,3 +189,11 @@
}
}
}
}
}
}
.alert
{
a
{
@extend
.alert-link
;
color
:
#fff
;
text-decoration
:
underline
;
}
}
app/assets/stylesheets/base/gl_variables.scss
View file @
e2b8025a
...
@@ -93,8 +93,8 @@ $font-size-base: $gl-font-size;
...
@@ -93,8 +93,8 @@ $font-size-base: $gl-font-size;
//
//
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
// $padding-base-vertical: 6px
$padding-base-vertical
:
8px
;
// $padding-base-horizontal: 12px
$padding-base-horizontal
:
14px
;
// $padding-large-vertical: 10px
// $padding-large-vertical: 10px
// $padding-large-horizontal: 16px
// $padding-large-horizontal: 16px
...
...
app/assets/stylesheets/generic/gfm.scss
View file @
e2b8025a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*/
*/
.issue-form
,
.merge-request-form
,
.wiki-form
{
.issue-form
,
.merge-request-form
,
.wiki-form
{
.description
{
.description
{
height
:
20
em
;
height
:
18
em
;
border-top-left-radius
:
0
;
border-top-left-radius
:
0
;
}
}
}
}
...
...
app/assets/stylesheets/generic/selects.scss
View file @
e2b8025a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.select2-choice
{
.select2-choice
{
background
:
#FFF
;
background
:
#FFF
;
border-color
:
#BBB
;
border-color
:
#BBB
;
padding
:
6px
12
px
;
padding
:
8px
14
px
;
font-size
:
13px
;
font-size
:
13px
;
line-height
:
18px
;
line-height
:
18px
;
height
:
auto
;
height
:
auto
;
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
}
}
.select2-container-multi
.select2-choices
.select2-search-field
input
{
.select2-container-multi
.select2-choices
.select2-search-field
input
{
padding
:
6px
12
px
;
padding
:
8px
14
px
;
font-size
:
13px
;
font-size
:
13px
;
line-height
:
18px
;
line-height
:
18px
;
height
:
auto
;
height
:
auto
;
...
...
app/assets/stylesheets/pages/projects.scss
View file @
e2b8025a
...
@@ -99,11 +99,6 @@
...
@@ -99,11 +99,6 @@
margin-right
:
45px
;
margin-right
:
45px
;
}
}
.btn
,
.form-control
{
padding
:
6px
9px
;
}
.form-control
{
.form-control
{
cursor
:
auto
;
cursor
:
auto
;
@extend
.monospace
;
@extend
.monospace
;
...
...
app/views/projects/_issuable_form.html.haml
View file @
e2b8025a
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
=
f
.
select
(
:milestone_id
,
milestone_options
(
issuable
),
=
f
.
select
(
:milestone_id
,
milestone_options
(
issuable
),
{
include_blank:
'Select milestone'
},
{
class:
'select2'
})
{
include_blank:
'Select milestone'
},
{
class:
'select2'
})
-
else
-
else
.prepend-top-10
%span
.light
No open milestones available.
%span
.light
No open milestones available.
-
if
can?
current_user
,
:admin_milestone
,
issuable
.
project
-
if
can?
current_user
,
:admin_milestone
,
issuable
.
project
...
@@ -63,6 +64,7 @@
...
@@ -63,6 +64,7 @@
=
f
.
collection_select
:label_ids
,
issuable
.
project
.
labels
.
all
,
:id
,
:name
,
=
f
.
collection_select
:label_ids
,
issuable
.
project
.
labels
.
all
,
:id
,
:name
,
{
selected:
issuable
.
label_ids
},
multiple:
true
,
class:
'select2'
{
selected:
issuable
.
label_ids
},
multiple:
true
,
class:
'select2'
-
else
-
else
.prepend-top-10
%span
.light
No labels yet.
%span
.light
No labels yet.
-
if
can?
current_user
,
:admin_label
,
issuable
.
project
-
if
can?
current_user
,
:admin_label
,
issuable
.
project
...
...
app/views/projects/blob/_blob.html.haml
View file @
e2b8025a
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
-
else
-
else
=
link_to
title
,
'#'
=
link_to
title
,
'#'
%ul
.blob-commit-info.
alert.alert-info
.hidden-xs
%ul
.blob-commit-info.
well
.hidden-xs
-
blob_commit
=
@repository
.
last_commit_for_path
(
@commit
.
id
,
blob
.
path
)
-
blob_commit
=
@repository
.
last_commit_for_path
(
@commit
.
id
,
blob
.
path
)
=
render
blob_commit
,
project:
@project
=
render
blob_commit
,
project:
@project
...
...
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