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.

_video-preview.css 1.3KB

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