您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

_subject.scss 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. .subject-info {
  31. align-items: center;
  32. display: flex;
  33. margin-bottom: 4px;
  34. max-width: 80%;
  35. height: 28px;
  36. }
  37. .details-container {
  38. width: 100%;
  39. display: flex;
  40. justify-content: center;
  41. position: absolute;
  42. top: 0;
  43. height: 48px;
  44. max-width: calc(100% - 24px);
  45. }
  46. @keyframes hideSubject {
  47. 0% {
  48. max-width: 100%;
  49. }
  50. 100% {
  51. max-width: 0;
  52. }
  53. }
  54. @keyframes showSubject {
  55. 0% {
  56. max-width: 0%;
  57. }
  58. 100% {
  59. max-width: 100%;
  60. }
  61. }