Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

_video-preview.scss 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .video-preview {
  2. background: none;
  3. max-height: 290px;
  4. &-container {
  5. overflow: auto;
  6. padding: 16px;
  7. }
  8. &-entry {
  9. cursor: pointer;
  10. height: 135px;
  11. margin-bottom: 16px;
  12. position: relative;
  13. width: 240px;
  14. &:last-child {
  15. margin-bottom: 0;
  16. }
  17. &--selected {
  18. border: 3px solid #31B76A;
  19. cursor: default;
  20. height: 129px;
  21. width: 234px;
  22. }
  23. }
  24. &-video {
  25. height: 100%;
  26. object-fit: cover;
  27. width: 100%;
  28. }
  29. &-overlay {
  30. background: rgba(42, 58, 75, 0.6);
  31. height: 100%;
  32. position: absolute;
  33. width: 100%;
  34. z-index: 1;
  35. }
  36. &-error {
  37. align-items: center;
  38. display: flex;
  39. height: 100%;
  40. justify-content: center;
  41. position: absolute;
  42. width: 100%;
  43. }
  44. &-label {
  45. color: #fff;
  46. font-size: 13px;
  47. line-height: 20px;
  48. overflow: hidden;
  49. padding: 8px;
  50. position: absolute;
  51. text-align: center;
  52. text-overflow: ellipsis;
  53. width: 220px;
  54. z-index: 2;
  55. }
  56. // Override @atlaskit/InlineDialog container which is made with styled components
  57. & > div > div:nth-child(2) > div > div {
  58. outline: none;
  59. padding: 0;
  60. }
  61. }