Skip to content

Commit

Permalink
Theme / Style Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
enkodellc committed Jul 9, 2019
1 parent e4b4a8c commit 9f58a76
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 28 deletions.
14 changes: 10 additions & 4 deletions src/BlazorBoilerplate.Client/Pages/Contributors.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@
<div class="mat-layout-grid">
<div class="mat-layout-grid-inner">
<div class="mat-layout-grid-cell">
<MatCard>
<h1>Keith / Enkode</h1>
<MatCard Class="contrib-card">
<img src="https://avatars2.githubusercontent.com/u/2935721?s=460&v=4" />
<h3>Keith / Enkode</h3>
<a href="https://github.com/enkodellc" target="_blank">https://github.com/enkodellc</a>
</MatCard>
</div>
<div class="mat-layout-grid-cell"></div>
<div class="mat-layout-grid-cell"></div>
<div class="mat-layout-grid-cell">
<MatCard Class="contrib-card">
<img src="https://avatars3.githubusercontent.com/u/7605234?s=460&v=4"/>
<h3>Maciej Targoński</h3>
<a href="https://github.com/acid12" target="_blank">https://github.com/acid12</a>
</MatCard>
</div>
<div class="mat-layout-grid-cell"></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/BlazorBoilerplate.Client/Shared/LoginControl.razor
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
async Task LogoutClick()
{
await authState.Logout();
//uriHelper.NavigateTo("/login");
uriHelper.NavigateTo("/login");
}
}
56 changes: 33 additions & 23 deletions src/BlazorBoilerplate.Client/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,14 @@ flex-basis:80%;
}

.page-footer {
display: flex;
flex: 0 0 auto;
background: #fff;
color: #4d4d4d;
font-size: 0.8125rem;
padding: 4px 12px 4px 18px;
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.21);
margin-top: 30px;
display: flex;
flex: 0 0 auto;
background: #fff;
color: #4d4d4d;
padding: 9px 12px 9px 18px;
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.21);
margin-top: 30px;
font-size: 12px;
}

.flex-1 {
Expand Down Expand Up @@ -275,7 +275,7 @@ flex-basis:80%;
.mdc-drawer__content {
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
color: #FFF;
}
}

.mdc-drawer .mdc-list-item {
margin: 8px 0 !important;
Expand All @@ -295,6 +295,10 @@ flex-basis:80%;
padding: 0 14px !important;
}

.mdc-drawer .mdc-list-item--selected {
border-left: solid 3px rgba(255, 255, 255, .5);
}

.drawer-logo {
display: flex;
align-items: center;
Expand All @@ -313,7 +317,7 @@ flex-basis:80%;

.drawer-profile {
padding: 16px;
border-bottom: solid 1px #e1e1e1;
border-bottom: solid 1px #777;
background-image: url("../images/profile-bg.jpg");
background-size: cover;
color: #fff;
Expand Down Expand Up @@ -363,7 +367,7 @@ flex-basis:80%;
right: 0;
border-top: solid 1px #AAA;
font-size: 12px;
padding:0 12px 8px 12px;
padding:0 12px 0 12px;
background-color:lightgray
}

Expand Down Expand Up @@ -392,12 +396,25 @@ hr {
font-size: 11px;
}




/* misc */
.contrib-card {
padding: 20px;
overflow: hidden;
text-overflow: ellipsis;
}
.contrib-card img {
height: 50px;
width: 50px;
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
@media (max-width: 596.98px) {
.drawer-logo {
height: 56px;
}

.logo-img {
height: 38px;
}
}

/* Small devices (landscape phones, less than 768px)*/
Expand All @@ -407,7 +424,6 @@ hr {
.drawer-profile span,
.brand {
display: none;

}

.mdc-drawer__content,
Expand All @@ -427,6 +443,7 @@ hr {
.mdc-top-app-bar__title {
padding-left: 0 !important;
}

.drawer-footer {
padding: 0;
}
Expand All @@ -445,13 +462,6 @@ hr {
}
}


/* misc */
.contrib-card{
max-width: 300px;
}


/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

Expand Down

0 comments on commit 9f58a76

Please sign in to comment.