quote.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 6px 0px 6px;
  19. }
  20. .quote-text {
  21. overflow: hidden;
  22. white-space: pre-wrap;
  23. word-wrap: break-word;
  24. padding: 3px 6px 6px 6px;
  25. }
  26. .show-thread {
  27. padding: 0px 6px 3px 6px;
  28. margin-top: -3px;
  29. }
  30. .replying-to {
  31. padding: 0px 6px;
  32. margin: unset;
  33. }
  34. }
  35. .unavailable-quote {
  36. padding: 12px;
  37. }
  38. .quote-link {
  39. width: 100%;
  40. height: 100%;
  41. left: 0;
  42. top: 0;
  43. position: absolute;
  44. }
  45. .quote-media-container {
  46. max-height: 300px;
  47. display: flex;
  48. .card {
  49. margin: unset;
  50. }
  51. .attachments {
  52. border-radius: 0;
  53. }
  54. .media-gif {
  55. width: 100%;
  56. display: flex;
  57. justify-content: center;
  58. }
  59. .gallery-gif .attachment {
  60. display: flex;
  61. justify-content: center;
  62. background-color: var(--bg_color);
  63. video {
  64. height: unset;
  65. width: unset;
  66. }
  67. }
  68. .gallery-video, .gallery-gif {
  69. max-height: 300px;
  70. }
  71. .still-image img {
  72. max-height: 250px
  73. }
  74. }