Style changes

This commit is contained in:
Neil Brommer 2021-12-07 17:34:47 -08:00
parent f63798e897
commit 402445fb3f
6 changed files with 13 additions and 79 deletions

View file

@ -22,7 +22,7 @@
<div class="empty-icon">
<i class="icon icon-bookmark"></i>
</div>
<p class="empty-title h5">No Bookmarks</p>
<p class="empty-title h6">No Bookmarks</p>
<div class="empty-action">
<button type="button" class="btn btn-primary">
<i class="icon icon-plus"></i> Create Bookmark

View file

@ -39,7 +39,7 @@
<AuthorizeView>
<Authorized>
<li class="nav-item accountName">
<figure class="avatar">
<figure class="avatar mr-1">
<i class="icon icon-people ml-2 mt-2"></i>
</figure>
@context.User.Identity?.Name

View file

@ -37,8 +37,7 @@
else
{
<Sidebar>
<div id="containerTabStrip">
<div id="containerTabStrip" class="px-2">
<button id="menuButton" class="btn btn-link" @onclick="this.ShowSidebar">
<i class="icon icon-menu"></i>
</button>

View file

@ -2,7 +2,7 @@
<div class="page">
<div class="main">
<div class="content px-4">
<div class="content">
@Body
</div>
</div>

View file

@ -1,70 +0,0 @@
.page {
position: relative;
display: flex;
flex-direction: column;
}
.main {
flex: 1;
}
.sidebar {
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}
.top-row {
background-color: #f7f7f7;
border-bottom: 1px solid #d6d5d5;
justify-content: flex-end;
height: 3.5rem;
display: flex;
align-items: center;
}
.top-row ::deep a, .top-row .btn-link {
white-space: nowrap;
margin-left: 1.5rem;
}
.top-row a:first-child {
overflow: hidden;
text-overflow: ellipsis;
}
@media (max-width: 640.98px) {
.top-row:not(.auth) {
display: none;
}
.top-row.auth {
justify-content: space-between;
}
.top-row a, .top-row .btn-link {
margin-left: 0;
}
}
@media (min-width: 641px) {
.page {
flex-direction: row;
}
.sidebar {
width: 250px;
height: 100vh;
position: sticky;
top: 0;
}
.top-row {
position: sticky;
top: 0;
z-index: 1;
}
.main > div {
padding-left: 2rem !important;
padding-right: 1.5rem !important;
}
}

View file

@ -87,8 +87,8 @@
padding: 0;
}
#menubutton .icon {
transform: scale(1.5);
#menuButton .icon {
transform: scale(1.2);
}
#containerTabStrip {
@ -100,12 +100,17 @@
#containerTabStrip #menuButton {
flex: 0 0 auto;
margin-right: 1em;
margin-left: 1em;
}
#containerTabStrip .containerList {
flex: 1 0 0;
}
#containerTabStrip .containerList .tab-item a {
padding: .6rem .4rem .6rem .4rem;
}
#bookmarkGroups {
margin-top: 1em;
margin-left: auto;
@ -126,14 +131,14 @@
@media screen and (min-width: 960px) {
#bookmarkGroups {
grid-template-columns: repeat(2, 1fr);
width: 70%;
width: 60%;
}
}
@media screen and (min-width: 1440) {
#bookmarkGroups {
grid-template-columns: repeat(3, 1fr);
width: 70%;
width: 60%;
}
}