You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.1 KiB
CSS
71 lines
1.1 KiB
CSS
5 years ago
|
.navContainer {
|
||
|
width: 100%;
|
||
|
height: calc(100vh - 115px);
|
||
|
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
5 years ago
|
}
|
||
|
|
||
5 years ago
|
.nav {
|
||
|
font-family: Arial, Helvetica, sans-serif;
|
||
|
width: 200px;
|
||
|
background: white;
|
||
|
box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);
|
||
5 years ago
|
}
|
||
|
|
||
5 years ago
|
.notNav {
|
||
|
flex: 1;
|
||
|
font-family: Arial, Helvetica, sans-serif;
|
||
|
max-height: 100%;
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
|
||
|
.navItem {
|
||
5 years ago
|
display: flex;
|
||
|
flex-direction: row;
|
||
5 years ago
|
box-sizing: border-box;
|
||
|
width: 200px;
|
||
|
height: 42px;
|
||
|
padding: 12px;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.navItem:hover::before {
|
||
|
content: ' ';
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
background: rgba(0,0,0,.2);
|
||
|
}
|
||
|
|
||
|
.navItem.selected {
|
||
|
background: #e1bee7;
|
||
|
}
|
||
|
|
||
|
a.navItem {
|
||
|
text-decoration: none;
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
a.navItem.selected {
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
a.navItem :global(.rmwc-icon) {
|
||
|
font-size: 18px;
|
||
|
margin-right: 12px;
|
||
|
width: 18px;
|
||
|
overflow: hidden;
|
||
|
color: #e1bee7;
|
||
5 years ago
|
}
|
||
|
|
||
5 years ago
|
a.navItem.selected :global(.rmwc-icon) {
|
||
5 years ago
|
color: white;
|
||
|
}
|
||
5 years ago
|
|
||
|
.notNav > :not(div) {
|
||
|
padding: 0 16px;
|
||
|
}
|