Guest User

Untitled

a guest
Aug 6th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. .nav-main {
  2. width: 100%;
  3. background-color: $nav-background-color;
  4. height: 70px;
  5. color: $nav-foreground-color;
  6.  
  7. .logo {
  8. float: left;
  9. height: 40px;
  10. padding: 15px 30px;
  11. font-size: 1.4em;
  12. line-height: 40px;
  13. }
  14.  
  15. > ul {
  16. @extend %plainlist;
  17. float: left;
  18. > li {
  19. float: left;
  20. }
  21. }
  22.  
  23. }
  24.  
  25. .nav-item {
  26. display: inline-block;
  27. padding: 15px 20px;
  28. height: 40px;
  29. line-height: 40px;
  30. color: $nav-foreground-color;
  31. text-decoration: none;
  32.  
  33. &:hover {
  34. background: $nav-hover-color;
  35. }
  36. }
  37.  
  38. .nav-drop {
  39. &:focus {
  40. background-color: $nav-hover-color;
  41.  
  42. ~ .nav-content {
  43. max-height: 400px;
  44. @include transition(max-height, 0.4s, ease-in);
  45. }
  46. }
  47. }
  48.  
  49. .nav-content {
  50. margin-left: 345px;
  51. position: absolute;
  52. top: 70px;
  53. overflow: hidden;
  54. background-color: $nav-background-color;
  55. max-height: 0;
  56.  
  57. a {
  58. color: $nav-foreground-color;
  59. text-decoration: none;
  60.  
  61. &:hover {
  62. text-decoration: underline;
  63. }
  64. }
  65. }
  66.  
  67. .nav-sub {
  68. padding: 20px;
  69.  
  70. ul {
  71. @extend %plainlist;
  72.  
  73. a {
  74. display: inline-block;
  75. }
  76. }
  77. }
Add Comment
Please, Sign In to add comment