You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
1.8 KiB

  1. .sidebar {
  2. background-color: mc('blue-grey', '900');
  3. color: mc('blue-grey', '50');
  4. width: 250px;
  5. max-width: 250px;
  6. min-height: 80vh;
  7. aside {
  8. padding: 1px 0 15px 0;
  9. &:last-child {
  10. padding-bottom: 20px;
  11. }
  12. .sidebar-label {
  13. padding: 8px;
  14. color: mc('blue-grey', '300');
  15. font-size: 13px;
  16. letter-spacing: 1px;
  17. text-transform: uppercase;
  18. background-color: mc('blue-grey', '800');
  19. margin: 0 0 15px 0;
  20. text-align: center;
  21. box-shadow: 0 0 5px rgba(0,0,0,0.3);
  22. i {
  23. margin-right: 5px;
  24. }
  25. }
  26. .sidebar-menu {
  27. li {
  28. display: block;
  29. a {
  30. display: flex;
  31. min-height: 30px;
  32. align-items: center;
  33. padding: 5px 20px;
  34. color: mc('blue-grey', '50');
  35. font-size: 14px;
  36. transition: all .4s ease;
  37. line-height: 14px;
  38. i {
  39. margin-right: 7px;
  40. color: mc('blue-grey', '300');
  41. }
  42. &:hover {
  43. color: mc('blue-grey', '400');
  44. text-decoration: none;
  45. }
  46. }
  47. > ul {
  48. border-top: 1px solid lighten(mc('blue-grey', '900'), 3%);
  49. border-bottom: 1px solid lighten(mc('blue-grey', '900'), 2%);
  50. background-color: darken(mc('blue-grey', '900'), 2%);
  51. margin-bottom: 10px;
  52. padding: 10px 0;
  53. li {
  54. padding-left: 10px;
  55. //border-left: 5px solid mc('blue-grey', '800');
  56. a {
  57. min-height: 24px;
  58. color: mc('blue-grey', '100');
  59. }
  60. }
  61. }
  62. }
  63. }
  64. }
  65. &.is-collapsed {
  66. width: 50px;
  67. aside {
  68. .sidebar-menu li a {
  69. padding: 10px 0;
  70. justify-content: center;
  71. i {
  72. margin: 0;
  73. font-size: 20px;
  74. transition: color .6s ease;
  75. }
  76. span {
  77. display: none;
  78. }
  79. &:hover {
  80. i {
  81. color: #FFF;
  82. }
  83. }
  84. }
  85. }
  86. }
  87. }