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.

_subject.scss 1017B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .subject {
  2. color: #fff;
  3. transition: opacity .6s ease-in-out;
  4. z-index: $toolbarZ + 2;
  5. margin-top: 20px;
  6. opacity: 0;
  7. &.visible {
  8. opacity: 1;
  9. }
  10. &#autoHide.with-always-on {
  11. overflow: hidden;
  12. animation: hideSubject forwards .6s ease-out;
  13. & > .subject-info-container {
  14. justify-content: flex-start;
  15. }
  16. &.visible {
  17. animation: showSubject forwards .6s ease-out;
  18. }
  19. }
  20. }
  21. .subject-info-container {
  22. display: flex;
  23. justify-content: center;
  24. margin: 0 auto;
  25. height: 28px;
  26. @media (max-width: 500px) {
  27. flex-wrap: wrap;
  28. }
  29. }
  30. .details-container {
  31. width: 100%;
  32. display: flex;
  33. justify-content: center;
  34. position: absolute;
  35. top: 0;
  36. height: 48px;
  37. }
  38. @keyframes hideSubject {
  39. 0% {
  40. max-width: 100%;
  41. }
  42. 100% {
  43. max-width: 0;
  44. }
  45. }
  46. @keyframes showSubject {
  47. 0% {
  48. max-width: 0%;
  49. }
  50. 100% {
  51. max-width: 100%;
  52. }
  53. }