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
a7fa6008
Commit
a7fa6008
authored
Jun 08, 2018
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix alignment of sign in/sign up button
parent
85b6b56a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
11 deletions
+7
-11
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+0
-8
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+5
-1
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+1
-1
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/common.scss
View file @
a7fa6008
...
@@ -305,14 +305,6 @@ img.emoji {
...
@@ -305,14 +305,6 @@ img.emoji {
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.btn-sign-in
{
text-shadow
:
none
;
@include
media-breakpoint-up
(
sm
)
{
margin-top
:
8px
;
}
}
.side-filters
{
.side-filters
{
fieldset
{
fieldset
{
margin-bottom
:
15px
;
margin-bottom
:
15px
;
...
...
app/assets/stylesheets/framework/header.scss
View file @
a7fa6008
...
@@ -447,12 +447,16 @@
...
@@ -447,12 +447,16 @@
.btn-sign-in
{
.btn-sign-in
{
background-color
:
$indigo-100
;
background-color
:
$indigo-100
;
color
:
$indigo-900
;
color
:
$indigo-900
;
margin-top
:
3px
;
font-weight
:
$gl-font-weight-bold
;
font-weight
:
$gl-font-weight-bold
;
line-height
:
18px
;
&
:hover
{
&
:hover
{
background-color
:
$white-light
;
background-color
:
$white-light
;
}
}
@include
media-breakpoint-down
(
xs
)
{
margin-top
:
$gl-padding-4
;
}
}
}
.navbar-nav
{
.navbar-nav
{
...
...
app/assets/stylesheets/pages/search.scss
View file @
a7fa6008
...
@@ -29,7 +29,7 @@ input[type="checkbox"]:hover {
...
@@ -29,7 +29,7 @@ input[type="checkbox"]:hover {
}
}
.search
{
.search
{
margin
:
4px
8px
0
;
margin
:
0
8px
;
form
{
form
{
@extend
.form-control
;
@extend
.form-control
;
...
...
app/views/layouts/header/_default.html.haml
View file @
a7fa6008
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
-
if
header_link?
(
:sign_in
)
-
if
header_link?
(
:sign_in
)
%li
.nav-item
%li
.nav-item
%div
%div
=
link_to
"Sign in / Register"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'
nav-link
btn btn-sign-in'
=
link_to
"Sign in / Register"
,
new_session_path
(
:user
,
redirect_to_referer:
'yes'
),
class:
'btn btn-sign-in'
%button
.navbar-toggler.d-block.d-sm-none
{
type:
'button'
}
%button
.navbar-toggler.d-block.d-sm-none
{
type:
'button'
}
%span
.sr-only
Toggle navigation
%span
.sr-only
Toggle navigation
...
...
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