Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
06daae21
Unverified
Commit
06daae21
authored
Jun 26, 2018
by
Marcus Efraimsson
Committed by
GitHub
Jun 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12412 from grafana/12393_login
login: fix layout issues
parents
8d535dd9
9f029277
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
16 deletions
+26
-16
public/sass/components/_footer.scss
+10
-3
public/sass/pages/_login.scss
+16
-13
No files found.
public/sass/components/_footer.scss
View file @
06daae21
...
...
@@ -25,7 +25,7 @@
display
:
inline-block
;
padding-right
:
2px
;
&
:
:
after
{
content
:
" | "
;
content
:
' | '
;
padding-left
:
2px
;
}
}
...
...
@@ -33,14 +33,21 @@
li
:last-child
{
&
:
:
after
{
padding-left
:
0
;
content
:
""
;
content
:
''
;
}
}
}
.login-page
{
.footer
{
position
:
absolute
;
padding
:
1rem
0
1rem
0
;
}
}
@include
media-breakpoint-up
(
md
)
{
.footer
{
bottom
:
$spacer
;
position
:
absolute
;
padding
:
5rem
0
1rem
0
;
}
}
public/sass/pages/_login.scss
View file @
06daae21
$login-border
:
#8daac5
;
.login
{
background-position
:
center
;
min-height
:
85vh
;
height
:
80vh
;
background-position
:
center
;
background-repeat
:
no-repeat
;
min-width
:
100%
;
margin-left
:
0
;
...
...
@@ -95,7 +94,7 @@ select:-webkit-autofill:focus {
position
:
relative
;
justify-content
:
center
;
z-index
:
1
;
height
:
320px
;
min-
height
:
320px
;
}
.login-branding
{
...
...
@@ -106,6 +105,7 @@ select:-webkit-autofill:focus {
align-items
:
center
;
justify-content
:
center
;
flex-grow
:
0
;
padding-top
:
2rem
;
.logo-icon
{
width
:
70px
;
...
...
@@ -127,7 +127,7 @@ select:-webkit-autofill:focus {
.login-inner-box
{
text-align
:
center
;
padding
:
2rem
4rem
;
padding
:
2rem
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
...
...
@@ -243,7 +243,7 @@ select:-webkit-autofill:focus {
justify-content
:
space-between
;
.login-divider-line
{
width
:
1
1
0px
;
width
:
1
0
0px
;
height
:
10px
;
border-bottom
:
1px
solid
$login-border
;
...
...
@@ -323,7 +323,10 @@ select:-webkit-autofill:focus {
width
:
35%
;
padding
:
4rem
2rem
;
border-right
:
1px
solid
$login-border
;
justify-content
:
flex-start
;
.logo-icon
{
width
:
80px
;
}
}
.login-inner-box
{
...
...
@@ -331,14 +334,18 @@ select:-webkit-autofill:focus {
padding
:
1rem
2rem
;
}
.login-
branding
{
.log
o-icon
{
width
:
8
0px
;
.login-
divider
{
.log
in-divider-line
{
width
:
11
0px
;
}
}
}
@include
media-breakpoint-up
(
md
)
{
.login
{
min-height
:
100vh
;
}
.login-content
{
flex
:
1
0
100%
;
}
...
...
@@ -373,10 +380,6 @@ select:-webkit-autofill:focus {
}
@include
media-breakpoint-up
(
lg
)
{
.login
{
min-height
:
100vh
;
}
.login-form-input
{
min-width
:
300px
;
}
...
...
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