settings.scss 975 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .settings {
  2. width: 100%;
  3. height: 100%;
  4. position: fixed;
  5. top: 0;
  6. left: 0;
  7. overflow: hidden;
  8. &.open {
  9. z-index: 2000;
  10. }
  11. .action {
  12. display: inline-block;
  13. position: absolute;
  14. top: 20px;
  15. right: 20px;
  16. }
  17. .container {
  18. position: absolute;
  19. top: 0;
  20. width: 400px;
  21. height: 100%;
  22. right: -400px;
  23. background-color: white;
  24. transition: right 250ms;
  25. box-shadow: 0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
  26. z-index: 2000;
  27. overflow: auto;
  28. padding: 20px;
  29. padding-top: 50px;
  30. &.open {
  31. right: 0;
  32. }
  33. }
  34. .backdrop {
  35. width: 100%;
  36. height: 100%;
  37. position: fixed;
  38. top: 0;
  39. left: 0;
  40. transition: background-color 400ms;
  41. &.open {
  42. background-color: rgba(0,0,0,0.3);
  43. opacity: 0.5;
  44. }
  45. }
  46. }