Style changes
This commit is contained in:
		
							parent
							
								
									f63798e897
								
							
						
					
					
						commit
						402445fb3f
					
				| 
						 | 
					@ -22,7 +22,7 @@
 | 
				
			||||||
                        <div class="empty-icon">
 | 
					                        <div class="empty-icon">
 | 
				
			||||||
                            <i class="icon icon-bookmark"></i>
 | 
					                            <i class="icon icon-bookmark"></i>
 | 
				
			||||||
                        </div>
 | 
					                        </div>
 | 
				
			||||||
                        <p class="empty-title h5">No Bookmarks</p>
 | 
					                        <p class="empty-title h6">No Bookmarks</p>
 | 
				
			||||||
                        <div class="empty-action">
 | 
					                        <div class="empty-action">
 | 
				
			||||||
                            <button type="button" class="btn btn-primary">
 | 
					                            <button type="button" class="btn btn-primary">
 | 
				
			||||||
                                <i class="icon icon-plus"></i> Create Bookmark
 | 
					                                <i class="icon icon-plus"></i> Create Bookmark
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,7 +39,7 @@
 | 
				
			||||||
            <AuthorizeView>
 | 
					            <AuthorizeView>
 | 
				
			||||||
                <Authorized>
 | 
					                <Authorized>
 | 
				
			||||||
                    <li class="nav-item accountName">
 | 
					                    <li class="nav-item accountName">
 | 
				
			||||||
                        <figure class="avatar">
 | 
					                        <figure class="avatar mr-1">
 | 
				
			||||||
                            <i class="icon icon-people ml-2 mt-2"></i>
 | 
					                            <i class="icon icon-people ml-2 mt-2"></i>
 | 
				
			||||||
                        </figure>
 | 
					                        </figure>
 | 
				
			||||||
                            @context.User.Identity?.Name
 | 
					                            @context.User.Identity?.Name
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,8 +37,7 @@
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    <Sidebar>
 | 
					    <Sidebar>
 | 
				
			||||||
 | 
					        <div id="containerTabStrip" class="px-2">
 | 
				
			||||||
        <div id="containerTabStrip">
 | 
					 | 
				
			||||||
            <button id="menuButton" class="btn btn-link" @onclick="this.ShowSidebar">
 | 
					            <button id="menuButton" class="btn btn-link" @onclick="this.ShowSidebar">
 | 
				
			||||||
                <i class="icon icon-menu"></i>
 | 
					                <i class="icon icon-menu"></i>
 | 
				
			||||||
            </button>
 | 
					            </button>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="page">
 | 
					<div class="page">
 | 
				
			||||||
    <div class="main">
 | 
					    <div class="main">
 | 
				
			||||||
        <div class="content px-4">
 | 
					        <div class="content">
 | 
				
			||||||
            @Body
 | 
					            @Body
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -87,8 +87,8 @@
 | 
				
			||||||
	padding: 0;
 | 
						padding: 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#menubutton .icon {
 | 
					#menuButton .icon {
 | 
				
			||||||
	transform: scale(1.5);
 | 
						transform: scale(1.2);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#containerTabStrip {
 | 
					#containerTabStrip {
 | 
				
			||||||
| 
						 | 
					@ -100,12 +100,17 @@
 | 
				
			||||||
#containerTabStrip #menuButton {
 | 
					#containerTabStrip #menuButton {
 | 
				
			||||||
	flex: 0 0 auto;
 | 
						flex: 0 0 auto;
 | 
				
			||||||
	margin-right: 1em;
 | 
						margin-right: 1em;
 | 
				
			||||||
 | 
						margin-left: 1em;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#containerTabStrip .containerList {
 | 
					#containerTabStrip .containerList {
 | 
				
			||||||
	flex: 1 0 0;
 | 
						flex: 1 0 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#containerTabStrip .containerList .tab-item a {
 | 
				
			||||||
 | 
						padding: .6rem .4rem .6rem .4rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#bookmarkGroups {
 | 
					#bookmarkGroups {
 | 
				
			||||||
	margin-top: 1em;
 | 
						margin-top: 1em;
 | 
				
			||||||
	margin-left: auto;
 | 
						margin-left: auto;
 | 
				
			||||||
| 
						 | 
					@ -126,14 +131,14 @@
 | 
				
			||||||
@media screen and (min-width: 960px) {
 | 
					@media screen and (min-width: 960px) {
 | 
				
			||||||
	#bookmarkGroups {
 | 
						#bookmarkGroups {
 | 
				
			||||||
		grid-template-columns: repeat(2, 1fr);
 | 
							grid-template-columns: repeat(2, 1fr);
 | 
				
			||||||
		width: 70%;
 | 
							width: 60%;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media screen and (min-width: 1440) {
 | 
					@media screen and (min-width: 1440) {
 | 
				
			||||||
	#bookmarkGroups {
 | 
						#bookmarkGroups {
 | 
				
			||||||
		grid-template-columns: repeat(3, 1fr);
 | 
							grid-template-columns: repeat(3, 1fr);
 | 
				
			||||||
		width: 70%;
 | 
							width: 60%;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue