drop_down.scss 1017 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. @import "base.scss";
  2. .nav {
  3. position: fixed;
  4. right: 0;
  5. z-index: 20000;
  6. width: 30%;
  7. height: 10%;
  8. font-size: px2em(28, 64);
  9. ul {
  10. list-style: none;
  11. min-width: 440px;
  12. width: 100%;
  13. }
  14. ul a {
  15. display: block;
  16. text-decoration: none;
  17. width: 100%;
  18. height: 100%;
  19. text-align: center;
  20. line-height: 4.5;
  21. color: white;
  22. /* background-color: #2f3e45; */
  23. }
  24. }
  25. .drop-down {
  26. width: 100%;
  27. height: 100%;
  28. }
  29. .drop-down-content li {
  30. display: inline-block;
  31. float: left;
  32. width: 20%;
  33. min-width: 82px;
  34. height: 100%;
  35. }
  36. .drop-down {
  37. /*position: relative;*/
  38. width: 100%;
  39. }
  40. .drop-down-content {
  41. padding: 0;
  42. display: none;
  43. position: absolute;
  44. top: 37%;
  45. right: 0;
  46. /*position: absolute;*/
  47. }
  48. h3 {
  49. font-size: .5625em;
  50. clear: both;
  51. }
  52. .drop-down-content li:hover a {
  53. color: bisque
  54. }
  55. .nav .drop-down:hover .drop-down-content {
  56. display: block;
  57. }