App.scss 612 B

123456789101112131415161718192021222324252627282930
  1. $header-height: 52px;
  2. $navbar-width: 250px;
  3. .Layout {
  4. &__header {
  5. box-shadow: 0 0.46875rem 2.1875rem rgba(4,9,20,0.03),
  6. 0 0.9375rem 1.40625rem rgba(4,9,20,0.03),
  7. 0 0.25rem 0.53125rem rgba(4,9,20,0.05),
  8. 0 0.125rem 0.1875rem rgba(4,9,20,0.03);
  9. z-index: 31;
  10. }
  11. &__container {
  12. margin-top: $header-height;
  13. margin-left: $navbar-width;
  14. }
  15. &__navbar {
  16. width: $navbar-width;
  17. display: flex;
  18. flex-direction: column;
  19. box-shadow: 7px 0 60px rgba(0,0,0,0.05);
  20. position: fixed;
  21. top: $header-height;
  22. left: 0;
  23. bottom: 0;
  24. padding: 20px 20px;
  25. }
  26. }