Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .nav-main {
- width: 100%;
- background-color: $nav-background-color;
- height: 70px;
- color: $nav-foreground-color;
- .logo {
- float: left;
- height: 40px;
- padding: 15px 30px;
- font-size: 1.4em;
- line-height: 40px;
- }
- > ul {
- @extend %plainlist;
- float: left;
- > li {
- float: left;
- }
- }
- }
- .nav-item {
- display: inline-block;
- padding: 15px 20px;
- height: 40px;
- line-height: 40px;
- color: $nav-foreground-color;
- text-decoration: none;
- &:hover {
- background: $nav-hover-color;
- }
- }
- .nav-drop {
- &:focus {
- background-color: $nav-hover-color;
- ~ .nav-content {
- max-height: 400px;
- @include transition(max-height, 0.4s, ease-in);
- }
- }
- }
- .nav-content {
- margin-left: 345px;
- position: absolute;
- top: 70px;
- overflow: hidden;
- background-color: $nav-background-color;
- max-height: 0;
- a {
- color: $nav-foreground-color;
- text-decoration: none;
- &:hover {
- text-decoration: underline;
- }
- }
- }
- .nav-sub {
- padding: 20px;
- ul {
- @extend %plainlist;
- a {
- display: inline-block;
- }
- }
- }
Add Comment
Please, Sign In to add comment