_navigation.css.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .navigation {
  2. @include box-sizing(border-box);
  3. padding-bottom: 15px;
  4. position: fixed;
  5. top: 82px;
  6. left: 3px;
  7. // `$navigation-width` set in `base.css.scss`
  8. width: $navigation-width;
  9. min-height: 20px;
  10. ul {
  11. margin: 0px 10px 10px 5px;
  12. padding: 0;
  13. border: 1px solid #DDD;
  14. background: #F6F6F6;
  15. li {
  16. margin-left: -1px;
  17. list-style-type: none;
  18. font-size: 1.1em;
  19. border-bottom: 1px solid #DDD;
  20. &:hover {
  21. background-color: white;
  22. box-shadow: 1px 0 0 0 #DDD inset;
  23. }
  24. img, div {
  25. display: inline-block;
  26. }
  27. div {
  28. margin-left: 6px;
  29. }
  30. }
  31. }
  32. a {
  33. display: block;
  34. padding: 9px;
  35. &:hover {
  36. text-decoration: none;
  37. }
  38. &.active {
  39. box-shadow: 2px 0 0 0 $active-highlight inset;
  40. font-weight: bold;
  41. background-color: white;
  42. color: black;
  43. }
  44. }
  45. }
  46. // Nav tabs
  47. .nav-tabs {
  48. margin-bottom: 15px;
  49. }
  50. @include respond-to(mobile) {
  51. .sidebar-open .navigation {
  52. left: 0;
  53. }
  54. }
  55. div.logo a {
  56. padding-left: 5px !important;
  57. }