Updated menu UI
This commit is contained in:
parent
211e4978f3
commit
37c72f3ab1
3 changed files with 77 additions and 67 deletions
|
|
@ -105,42 +105,36 @@ label {
|
|||
}
|
||||
#menu {
|
||||
display: grid;
|
||||
grid-template-columns: min-content;
|
||||
grid-template-rows: 38px
|
||||
48px
|
||||
|
||||
38px
|
||||
48px
|
||||
|
||||
38px
|
||||
48px
|
||||
|
||||
38px
|
||||
48px
|
||||
|
||||
38px
|
||||
48px
|
||||
;
|
||||
justify-items: center;
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: repeat(32, min-content);
|
||||
align-items: start;
|
||||
grid-area: menu;
|
||||
background: #202020;
|
||||
padding: 16px;
|
||||
}
|
||||
#menu img {
|
||||
#menu .entry.selected {
|
||||
background: #333;
|
||||
}
|
||||
#menu .entry.selected a {
|
||||
color: #f7edd7 !important;
|
||||
}
|
||||
#menu .entry > a {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
grid-template-rows: 38px
|
||||
16px
|
||||
;
|
||||
padding: 16px;
|
||||
color: #777;
|
||||
text-decoration: none;
|
||||
}
|
||||
#menu .entry > a img {
|
||||
display: block;
|
||||
width: 32px;
|
||||
}
|
||||
#menu .label {
|
||||
#menu .entry > a .label {
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
}
|
||||
#menu .label a {
|
||||
color: #777;
|
||||
}
|
||||
#menu .label.selected a {
|
||||
color: #f7edd7;
|
||||
}
|
||||
#page {
|
||||
grid-area: content;
|
||||
padding: 32px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue