_base.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. }
  14. .tweet-content {
  15. font-family: $font_3;
  16. line-height: 1.4em;
  17. }
  18. .tweet-header {
  19. padding: 0;
  20. vertical-align: bottom;
  21. flex-basis: 100%;
  22. margin-bottom: .2em;
  23. a {
  24. display: inline-block;
  25. word-break: break-all;
  26. max-width: 100%;
  27. }
  28. }
  29. .tweet-name-row {
  30. padding: 0;
  31. display: flex;
  32. justify-content: space-between;
  33. }
  34. .fullname-and-username {
  35. display: flex;
  36. min-width: 0;
  37. }
  38. .fullname {
  39. @include ellipsis;
  40. flex-shrink: 2;
  41. max-width: 80%;
  42. font-size: 14px;
  43. font-weight: 700;
  44. color: $fg_color;
  45. }
  46. .username {
  47. @include ellipsis;
  48. min-width: 1.6em;
  49. margin-left: .4em;
  50. word-wrap: normal;
  51. }
  52. .tweet-date {
  53. display: flex;
  54. flex-shrink: 0;
  55. margin-left: 4px;
  56. }
  57. .tweet-avatar {
  58. display: contents !important;
  59. img {
  60. float: left;
  61. margin-top: 3px;
  62. margin-left: -58px;
  63. width: 48px;
  64. height: 48px;
  65. border-radius: 50%;
  66. }
  67. }
  68. .replying-to {
  69. color: $fg_dark;
  70. margin: -2px 0 4px;
  71. }
  72. .retweet, .pinned, .tweet-stats {
  73. align-content: center;
  74. color: $grey;
  75. display: flex;
  76. flex-shrink: 0;
  77. flex-wrap: wrap;
  78. font-size: 14px;
  79. font-weight: 600;
  80. line-height: 22px;
  81. span {
  82. @include ellipsis;
  83. }
  84. }
  85. .retweet {
  86. margin-top: -5px !important;
  87. }
  88. .tweet-stats {
  89. margin-bottom: -3px;
  90. }
  91. .tweet-stat {
  92. padding-top: 5px;
  93. padding-right: 8px;
  94. }
  95. .show-thread {
  96. display: block;
  97. }
  98. .unavailable-box {
  99. width: 100%;
  100. height: 100%;
  101. padding: 12px;
  102. border: solid 1px $dark_grey;
  103. border-radius: 10px;
  104. background-color: $bg_color;
  105. }