Files
next.js/examples/layout-component/components/sidebar.module.css
T
1dd6eeb598 Update layouts example to persist state across client-side transitions. (#26706)
* Update layouts example

* Update examples/layout-component/components/layout.js

Co-authored-by: JJ Kasper <[email protected]>
2021-06-28 22:19:15 -05:00

40 lines
688 B
CSS

.nav {
height: 100%;
display: flex;
flex-direction: column;
width: 250px;
background-color: #fafafa;
padding: 32px;
border-right: 1px solid #eaeaea;
}
.nav > a {
margin: 8px 0;
text-decoration: none;
background: white;
border-radius: 4px;
font-size: 14px;
padding: 12px 16px;
text-transform: uppercase;
font-weight: 600;
letter-spacing: 0.025em;
color: #333;
border: 1px solid #eaeaea;
transition: all 0.125s ease;
}
.nav > a:hover {
background-color: #eaeaea;
}
.input {
margin: 32px 0;
text-decoration: none;
background: white;
border-radius: 4px;
border: 1px solid #eaeaea;
font-size: 14px;
padding: 8px 16px;
height: 28px;
}