mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 23:19:26 +00:00
Added adminNav and adminNavItem components
This commit is contained in:
53
src/stylesheets/components/_adminNav.scss
Normal file
53
src/stylesheets/components/_adminNav.scss
Normal file
@@ -0,0 +1,53 @@
|
||||
.adminNav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100vw;
|
||||
height: 82vh;
|
||||
background-color: $primary-colour;
|
||||
padding: 3rem 0;
|
||||
padding-top: 5rem;
|
||||
|
||||
display: none;
|
||||
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
&__profile {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
img {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.details {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.logout {
|
||||
align-self: flex-end;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
&__items {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@include respond-to('large') {
|
||||
display: flex;
|
||||
width: 20vw;
|
||||
height: 87vh;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user