[riot-mui] Add riot-mui in menu (#17)

This commit is contained in:
Joxit
2017-09-23 20:36:17 +02:00
parent d4b99b2cb2
commit bdc0d34a87
2 changed files with 76 additions and 15 deletions

View File

@@ -219,4 +219,57 @@ material-card table th.material-card-th-sorted-descending:before {
material-snackbar .toast {
height: auto;
}
}
menu {
position: absolute;
top: 0px;
right: 16px;
color: #000;
}
menu .overlay {
position: fixed;
height: 100%;
width: 100%;
top: 0;
right: 0;
z-index: 1;
}
#menu-control-button {
background: rgba(255,255,255,0);
float: right;
}
#menu-control-button i {
color: #fff;
font-size: 24px;
}
#menu-control-dropdown {
display: inline-block;
position: relative;
}
.dropdown {
min-width: 124px;
padding: 8px 0;
margin: 0;
}
dropdown-item, #menu-control-dropdown p {
padding: 0 16px;
margin: auto;
line-height: 48px;
height: 48px;
cursor: pointer;
}
#menu-control-dropdown p:hover {
background-color: #eee;
}
#menu-control-dropdown p:active, .material-button-active:active {
background-color: #e0e0e0;
}