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.scss 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .video-preview {
  2. background: none;
  3. display: inline-block;
  4. max-height: 344px;
  5. &-container {
  6. background: $menuBG;
  7. border-radius: 3px;
  8. overflow: auto;
  9. padding: 8px;
  10. }
  11. &-entry {
  12. cursor: pointer;
  13. height: 168px;
  14. margin-bottom: 8px;
  15. position: relative;
  16. width: 284px;
  17. &:last-child {
  18. margin-bottom: 0;
  19. }
  20. &--selected {
  21. border: 3px solid #31B76A;
  22. border-radius: 3px;
  23. cursor: default;
  24. height: 162px;
  25. width: 278px;
  26. }
  27. }
  28. &-video {
  29. border-radius: 3px;
  30. height: 100%;
  31. object-fit: cover;
  32. width: 100%;
  33. }
  34. &-overlay {
  35. background: rgba(42, 58, 75, 0.6);
  36. height: 100%;
  37. position: absolute;
  38. width: 100%;
  39. z-index: 1;
  40. }
  41. &-error {
  42. align-items: center;
  43. display: flex;
  44. height: 100%;
  45. justify-content: center;
  46. position: absolute;
  47. width: 100%;
  48. }
  49. &-label {
  50. bottom: 8px;
  51. color: #fff;
  52. position: absolute;
  53. width: 100%;
  54. z-index: 2;
  55. &-container {
  56. margin: 0 16px;
  57. }
  58. &-text {
  59. background-color: #131519;
  60. border-radius: 3px;
  61. padding: 2px 8px;
  62. font-size: 13px;
  63. line-height: 20px;
  64. margin: 0 auto;
  65. max-width: calc(100% - 16px);
  66. overflow: hidden;
  67. text-overflow: ellipsis;
  68. width: fit-content;
  69. white-space: nowrap;
  70. }
  71. }
  72. // Override @atlaskit/InlineDialog container which is made with styled components
  73. & > div:nth-child(2) {
  74. padding: 0;
  75. }
  76. }