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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2c7a1af6
Commit
2c7a1af6
authored
Sep 23, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add submit button contain with custom margin.
parent
bd0bf407
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
app/assets/stylesheets/pages/login.scss
app/assets/stylesheets/pages/login.scss
+4
-0
app/views/devise/sessions/_new_base.html.haml
app/views/devise/sessions/_new_base.html.haml
+1
-1
app/views/devise/shared/_signup_box.html.haml
app/views/devise/shared/_signup_box.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/login.scss
View file @
2c7a1af6
...
@@ -198,6 +198,10 @@
...
@@ -198,6 +198,10 @@
font-weight
:
normal
;
font-weight
:
normal
;
}
}
.submit-container
{
margin-top
:
16px
;
}
input
[
type
=
"submit"
]
{
input
[
type
=
"submit"
]
{
@extend
.btn-block
;
@extend
.btn-block
;
margin-bottom
:
0px
;
margin-bottom
:
0px
;
...
...
app/views/devise/sessions/_new_base.html.haml
View file @
2c7a1af6
...
@@ -12,5 +12,5 @@
...
@@ -12,5 +12,5 @@
%span
Remember me
%span
Remember me
.pull-right
.pull-right
=
link_to
"Forgot your password?"
,
new_password_path
(
resource_name
)
=
link_to
"Forgot your password?"
,
new_password_path
(
resource_name
)
%div
.
prepend-top-20
%div
.
submit-container
=
f
.
submit
"Sign in"
,
class:
"btn btn-save"
=
f
.
submit
"Sign in"
,
class:
"btn btn-save"
app/views/devise/shared/_signup_box.html.haml
View file @
2c7a1af6
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
=
recaptcha_tags
=
recaptcha_tags
%div
%div
=
f
.
submit
"Register"
,
class:
"btn-register btn"
=
f
.
submit
"Register"
,
class:
"btn-register btn"
.clearfix.
prepend-top-20
.clearfix.
submit-container
%p
%p
%span
.light
Didn't receive a confirmation email?
%span
.light
Didn't receive a confirmation email?
=
succeed
'.'
do
=
succeed
'.'
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