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

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