quote.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @import "_variables";
  2. .quote {
  3. margin-top: 10px;
  4. border: solid 1px var(--dark_grey);
  5. border-radius: 10px;
  6. background-color: var(--bg_elements);
  7. overflow: hidden;
  8. pointer-events: all;
  9. position: relative;
  10. width: 100%;
  11. &:hover {
  12. border-color: var(--grey);
  13. }
  14. &.unavailable:hover {
  15. border-color: var(--dark_grey);
  16. }
  17. .tweet-name-row {
  18. padding: 6px 8px;
  19. margin-top: 1px;
  20. }
  21. .quote-text {
  22. overflow: hidden;
  23. white-space: pre-wrap;
  24. word-wrap: break-word;
  25. padding: 0px 8px 8px 8px;
  26. }
  27. .show-thread {
  28. padding: 0px 8px 6px 8px;
  29. margin-top: -6px;
  30. }
  31. .replying-to {
  32. padding: 0px 8px;
  33. margin: unset;
  34. }
  35. }
  36. .unavailable-quote {
  37. padding: 12px;
  38. display: block;
  39. }
  40. .quote-link {
  41. width: 100%;
  42. height: 100%;
  43. left: 0;
  44. top: 0;
  45. position: absolute;
  46. }
  47. .quote-media-container {
  48. max-height: 300px;
  49. display: flex;
  50. .card {
  51. margin: unset;
  52. }
  53. .attachments {
  54. border-radius: 0;
  55. }
  56. .media-gif {
  57. width: 100%;
  58. display: flex;
  59. justify-content: center;
  60. }
  61. .gallery-gif .attachment {
  62. display: flex;
  63. justify-content: center;
  64. background-color: var(--bg_color);
  65. video {
  66. height: unset;
  67. width: unset;
  68. max-height: 100%;
  69. max-width: 100%;
  70. }
  71. }
  72. .gallery-video,
  73. .gallery-gif {
  74. max-height: 300px;
  75. }
  76. .still-image img {
  77. max-height: 250px;
  78. }
  79. }