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.

219 lines
3.2 KiB

7 years ago
  1. .button {
  2. background-color: #2b90d9;
  3. font-family: 'Roboto';
  4. display: inline-block;
  5. position: relative;
  6. box-sizing: border-box;
  7. text-align: center;
  8. border: 10px none;
  9. color: #fff;
  10. font-size: 14px;
  11. font-weight: 500;
  12. letter-spacing: 0;
  13. text-transform: uppercase;
  14. padding: 0 16px;
  15. height: 36px;
  16. cursor: pointer;
  17. line-height: 36px;
  18. border-radius: 4px;
  19. text-decoration: none;
  20. &:hover {
  21. background-color: #489fde;
  22. }
  23. &:disabled {
  24. background-color: #9baec8;
  25. }
  26. &.button-secondary {
  27. background-color: #282c37;
  28. &:hover {
  29. background-color: #282c37;
  30. }
  31. &:disabled {
  32. background-color: #9baec8;
  33. }
  34. }
  35. }
  36. .icon-button {
  37. color: #616b86;
  38. cursor: pointer;
  39. &:hover {
  40. color: #717b98;
  41. }
  42. &.disabled {
  43. color: #535b72;
  44. cursor: default;
  45. }
  46. &.active {
  47. color: #2b90d9;
  48. }
  49. }
  50. .compose-form__textarea, .follow-form__input {
  51. background: #fff;
  52. &:disabled {
  53. background: #d9e1e8;
  54. }
  55. }
  56. .status__content, .reply-indicator__content {
  57. font-size: 15px;
  58. line-height: 20px;
  59. word-wrap: break-word;
  60. font-weight: 300;
  61. p {
  62. margin-bottom: 20px;
  63. &:last-child {
  64. margin-bottom: 0;
  65. }
  66. }
  67. a {
  68. color: #d9e1e8;
  69. text-decoration: none;
  70. &:hover {
  71. text-decoration: underline;
  72. }
  73. &.mention {
  74. &:hover {
  75. text-decoration: none;
  76. span {
  77. text-decoration: underline;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. .detailed-status {
  84. .status__content {
  85. font-size: 19px;
  86. line-height: 24px;
  87. }
  88. }
  89. .reply-indicator__content {
  90. color: #282c37;
  91. font-size: 14px;
  92. a {
  93. color: #535b72;
  94. }
  95. }
  96. .status__display-name, .status__relative-time, .detailed-status__display-name, .detailed-status__datetime {
  97. text-decoration: none;
  98. }
  99. .status__display-name {
  100. strong {
  101. color: #fff;
  102. }
  103. }
  104. .status__display-name, .reply-indicator__display-name, .detailed-status__display-name {
  105. &:hover {
  106. strong {
  107. text-decoration: underline;
  108. }
  109. }
  110. }
  111. .detailed-status__display-name {
  112. color: #d9e1e8;
  113. line-height: 24px;
  114. strong, span {
  115. display: block;
  116. }
  117. strong {
  118. font-size: 16px;
  119. color: #fff;
  120. }
  121. }
  122. .status__relative-time, .detailed-status__datetime {
  123. &:hover {
  124. text-decoration: underline;
  125. }
  126. }
  127. .transparent-background {
  128. background: image-url('void.png');
  129. }
  130. .dropdown {
  131. display: inline-block;
  132. }
  133. .dropdown__content {
  134. display: none;
  135. position: absolute;
  136. }
  137. .dropdown--active .dropdown__content {
  138. display: block;
  139. z-index: 9999;
  140. box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  141. &:before {
  142. content: "";
  143. display: block;
  144. position: absolute;
  145. width: 0;
  146. height: 0;
  147. border-style: solid;
  148. border-width: 0 4.5px 7.8px 4.5px;
  149. border-color: transparent transparent #d9e1e8 transparent;
  150. top: -7px;
  151. left: 8px;
  152. }
  153. ul {
  154. list-style: none;
  155. }
  156. li {
  157. &:first-child a {
  158. border-radius: 4px 4px 0 0;
  159. }
  160. &:last-child a {
  161. border-radius: 0 0 4px 4px;
  162. }
  163. &:first-child:last-child a {
  164. border-radius: 4px;
  165. }
  166. }
  167. a {
  168. font-size: 13px;
  169. display: block;
  170. padding: 6px 16px;
  171. width: 120px;
  172. text-decoration: none;
  173. background: #d9e1e8;
  174. color: #282c37;
  175. &:hover {
  176. background: #2b90d9;
  177. color: #d9e1e8;
  178. }
  179. }
  180. }