App.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. overflow-y: scroll;
  26. }
  27. }
  28. .react-datepicker-wrapper {
  29. display: flex !important;
  30. }
  31. .react-datepicker-popper {
  32. z-index: 30 !important;
  33. }
  34. .topic-message-button {
  35. &::after {
  36. content: attr(data-title);
  37. position: absolute;
  38. top: -140%;
  39. z-index: 1;
  40. background: #F5F5F5;
  41. color: rgb(89, 89, 89);
  42. border-radius: 5px;
  43. font-size: 15px;
  44. padding: 5px 10px;
  45. opacity: 0;
  46. pointer-events: none;
  47. transition: .2s opacity;
  48. transition-delay: 0s;
  49. }
  50. &:hover::after {
  51. opacity: 1;
  52. transition-delay: .5s;
  53. }
  54. }