-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working on positioning nav, next need to make it respect the position…
…s of other components.
- Loading branch information
Showing
6 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@page "/" | ||
@page "/home" | ||
|
||
<PageTitle>Home</PageTitle> | ||
<PageTitle>CropSQL</PageTitle> | ||
<WelcomeModal /> | ||
<Header /> | ||
|
||
<h1>Hello, world!</h1> | ||
<p> | ||
<SideBarNav /> | ||
<h1 class="content1">Hello, world!</h1> | ||
<p class="content1"> | ||
Welcome to crop sql! | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.content1 { | ||
width: fit-content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- SidebarNav.razor --> | ||
<div class="sidebar"> | ||
<ul> | ||
<li><a href="#">Home</a></li> | ||
<li><a href="#">About</a></li> | ||
<li><a href="#">Services</a></li> | ||
<li><a href="#">Contact</a></li> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* SidebarNav.razor.css */ | ||
.sidebar { | ||
position:relative; | ||
left: 0; | ||
height:90vh; | ||
width: 200px; | ||
background-color: #333; | ||
color: #fff; | ||
padding-top: 20px; | ||
} | ||
|
||
.sidebar ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
|
||
.sidebar ul li { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.sidebar ul li a { | ||
display: block; | ||
padding: 10px; | ||
color: #fff; | ||
text-decoration: none; | ||
} | ||
|
||
.sidebar ul li a:hover { | ||
background-color: #555; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
z-index: 500; | ||
|
||
} | ||
|
||
.modalBack { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters