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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .subject {
  2. box-sizing: border-box;
  3. color: #fff;
  4. margin-top: 20px;
  5. position: absolute;
  6. top: -120px;
  7. transition: top .3s ease-in;
  8. width: 100%;
  9. z-index: $zindex3;
  10. &.visible {
  11. top: 0px;
  12. }
  13. }
  14. .subject-info-container {
  15. display: flex;
  16. justify-content: center;
  17. max-width: calc(100% - 280px);
  18. margin: 0 auto;
  19. &--full-width {
  20. max-width: 100%;
  21. }
  22. @media (max-width: 500px) {
  23. flex-wrap: wrap;
  24. max-width: 100%;
  25. }
  26. }
  27. .subject-info {
  28. align-items: center;
  29. display: flex;
  30. margin-bottom: 4px;
  31. max-width: 80%;
  32. height: 28px;
  33. }
  34. .subject-text {
  35. background: rgba(0, 0, 0, 0.6);
  36. border-radius: 3px 0px 0px 3px;
  37. font-size: 14px;
  38. line-height: 24px;
  39. padding: 2px 16px;
  40. height: 24px;
  41. overflow: hidden;
  42. text-overflow: ellipsis;
  43. white-space: nowrap;
  44. }
  45. .subject-timer {
  46. background: rgba(0, 0, 0, 0.8);
  47. border-radius: 0px 3px 3px 0px;
  48. display: inline-block;
  49. font-size: 12px;
  50. line-height: 16px;
  51. min-width: 34px;
  52. padding: 6px 8px;
  53. }