_base.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. @import '_variables';
  2. @import '_mixins';
  3. @import 'thread';
  4. @import 'media';
  5. @import 'video';
  6. @import 'card';
  7. @import 'poll';
  8. @import 'quote';
  9. .tweet-body {
  10. flex: 1;
  11. min-width: 0;
  12. margin-left: 58px;
  13. pointer-events: none;
  14. z-index: 1;
  15. }
  16. .tweet-content {
  17. font-family: $font_3;
  18. line-height: 1.4em;
  19. pointer-events: all;
  20. display: inline;
  21. }
  22. .tweet-header {
  23. padding: 0;
  24. vertical-align: bottom;
  25. flex-basis: 100%;
  26. margin-bottom: .2em;
  27. a {
  28. display: inline-block;
  29. word-break: break-all;
  30. max-width: 100%;
  31. pointer-events: all;
  32. }
  33. }
  34. .tweet-name-row {
  35. padding: 0;
  36. display: flex;
  37. justify-content: space-between;
  38. }
  39. .fullname-and-username {
  40. display: flex;
  41. min-width: 0;
  42. }
  43. .fullname {
  44. @include ellipsis;
  45. flex-shrink: 2;
  46. max-width: 80%;
  47. font-size: 14px;
  48. font-weight: 700;
  49. color: $fg_color;
  50. }
  51. .username {
  52. @include ellipsis;
  53. min-width: 1.6em;
  54. margin-left: .4em;
  55. word-wrap: normal;
  56. }
  57. .tweet-date {
  58. display: flex;
  59. flex-shrink: 0;
  60. margin-left: 4px;
  61. }
  62. .tweet-avatar {
  63. display: contents !important;
  64. img {
  65. float: left;
  66. margin-top: 3px;
  67. margin-left: -58px;
  68. width: 48px;
  69. height: 48px;
  70. border-radius: 50%;
  71. }
  72. }
  73. .replying-to {
  74. color: $fg_dark;
  75. margin: -2px 0 4px;
  76. pointer-events: all;
  77. }
  78. .retweet, .pinned, .tweet-stats {
  79. align-content: center;
  80. color: $grey;
  81. display: flex;
  82. flex-shrink: 0;
  83. flex-wrap: wrap;
  84. font-size: 14px;
  85. font-weight: 600;
  86. line-height: 22px;
  87. span {
  88. @include ellipsis;
  89. }
  90. }
  91. .retweet {
  92. margin-top: -5px !important;
  93. }
  94. .tweet-stats {
  95. margin-bottom: -3px;
  96. }
  97. .tweet-stat {
  98. padding-top: 5px;
  99. padding-right: 8px;
  100. }
  101. .show-thread {
  102. display: block;
  103. pointer-events: all;
  104. }
  105. .unavailable-box {
  106. width: 100%;
  107. height: 100%;
  108. padding: 12px;
  109. border: solid 1px $dark_grey;
  110. border-radius: 10px;
  111. background-color: $bg_color;
  112. }
  113. .tweet-link {
  114. height: 100%;
  115. width: 100%;
  116. left: 0;
  117. top: 0;
  118. position: absolute;
  119. &:hover {
  120. background-color: #1a1a1a;
  121. }
  122. }