Skip to content

Commit

Permalink
admin logo image css
Browse files Browse the repository at this point in the history
  • Loading branch information
Goran Martinjak committed Jun 2, 2017
1 parent bf5d462 commit 754fd15
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 6 deletions.
20 changes: 17 additions & 3 deletions Resources/public/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Resources/public/css/style.css.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Resources/public/images/ez-logo-min-w.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions Resources/sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ label {
.login-header {
text-align:center; margin:0 0 30px;
.logo {
background:transparent url('../images/ngadmin-logo-full.svg') 0 0 no-repeat; width:190px; height:64px; display:block; margin:0 auto 50px; background-size:100% auto;
background-color:transparent; background-position:center; background-repeat:no-repeat; width:190px; height:64px; display:block; margin:0 auto 50px; background-size:contain;
&.logo-type-ngadminui {
background-image:url('../images/ngadmin-logo-full.svg');
}
&.logo-type-default {
background-image:url('../images/ez-logo-w.svg');
}
}
h3 {
font-size:23px; font-weight:700; margin:0;
Expand Down Expand Up @@ -123,7 +129,13 @@ label {
}
}
#header-logo {
background:#161616 url('../images/ngadmin-logo.svg') 50% no-repeat; width:$asideWidth; background-size:26px auto; height:$headerHeight; display:block; margin:0;
background-color:#161616; background-position:50%; background-repeat:no-repeat; width:$asideWidth; background-size:26px auto; height:$headerHeight; display:block; margin:0;
&.logo-type-default {
background-image:url('../images/ez-logo-min-w.svg'); background-size:26px auto;
}
&.logo-type-ngadminui {
background-image:url('../images/ngadmin-logo.svg'); background-size:26px auto;
}
}
.header-nav {
width:$asideWidth; float:left;
Expand Down

0 comments on commit 754fd15

Please sign in to comment.