Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_subject.scss 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. .subject-text {
  38. background: rgba(0, 0, 0, 0.6);
  39. border-radius: 3px 0px 0px 3px;
  40. box-sizing: border-box;
  41. font-size: 14px;
  42. line-height: 28px;
  43. padding: 0 16px;
  44. height: 28px;
  45. max-width: 324px;
  46. @media (max-width: 300px) {
  47. display: none;
  48. }
  49. &--content {
  50. overflow: hidden;
  51. text-overflow: ellipsis;
  52. white-space: nowrap;
  53. }
  54. }
  55. .subject-timer {
  56. background: rgba(0, 0, 0, 0.8);
  57. border-radius: 0px 3px 3px 0px;
  58. box-sizing: border-box;
  59. font-size: 12px;
  60. line-height: 28px;
  61. min-width: 34px;
  62. padding: 0 8px;
  63. height: 28px;
  64. @media (max-width: 300px) {
  65. display: none;
  66. }
  67. }
  68. .details-container {
  69. width: 100%;
  70. display: flex;
  71. justify-content: center;
  72. position: absolute;
  73. top: 0;
  74. height: 48px;
  75. max-width: calc(100% - 24px);
  76. }
  77. @keyframes hideSubject {
  78. 0% {
  79. max-width: 100%;
  80. }
  81. 100% {
  82. max-width: 0;
  83. }
  84. }
  85. @keyframes showSubject {
  86. 0% {
  87. max-width: 0%;
  88. }
  89. 100% {
  90. max-width: 100%;
  91. }
  92. }