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.

297 lines
4.4 KiB

7 years ago
7 years ago
7 years ago
7 years ago
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. cursor: default;
  26. }
  27. &.button-secondary {
  28. background-color: #282c37;
  29. &:hover {
  30. background-color: #282c37;
  31. }
  32. &:disabled {
  33. background-color: #9baec8;
  34. }
  35. }
  36. }
  37. .icon-button {
  38. color: #616b86;
  39. border: none;
  40. background: transparent;
  41. &:hover {
  42. color: #717b98;
  43. }
  44. &.disabled {
  45. color: #535b72;
  46. cursor: default;
  47. }
  48. &.active {
  49. color: #2b90d9;
  50. }
  51. }
  52. .compose-form__textarea, .follow-form__input {
  53. background: #fff;
  54. &:disabled {
  55. background: #d9e1e8;
  56. }
  57. }
  58. .status__content, .reply-indicator__content {
  59. font-size: 15px;
  60. line-height: 20px;
  61. word-wrap: break-word;
  62. font-weight: 300;
  63. overflow: hidden;
  64. p {
  65. margin-bottom: 20px;
  66. &:last-child {
  67. margin-bottom: 0;
  68. }
  69. }
  70. a {
  71. color: #d9e1e8;
  72. text-decoration: none;
  73. &:hover {
  74. text-decoration: underline;
  75. }
  76. &.mention {
  77. &:hover {
  78. text-decoration: none;
  79. span {
  80. text-decoration: underline;
  81. }
  82. }
  83. }
  84. }
  85. }
  86. .detailed-status {
  87. .status__content {
  88. font-size: 19px;
  89. line-height: 24px;
  90. }
  91. }
  92. .reply-indicator__content {
  93. color: #282c37;
  94. font-size: 14px;
  95. a {
  96. color: #535b72;
  97. }
  98. }
  99. .status__display-name, .status__relative-time, .detailed-status__display-name, .detailed-status__datetime, .account__display-name {
  100. text-decoration: none;
  101. }
  102. .status__display-name, .account__display-name {
  103. strong {
  104. color: #fff;
  105. }
  106. }
  107. .status__display-name, .reply-indicator__display-name, .detailed-status__display-name, .account__display-name {
  108. &:hover {
  109. strong {
  110. text-decoration: underline;
  111. }
  112. }
  113. }
  114. .account__display-name {
  115. strong {
  116. display: block;
  117. }
  118. }
  119. .detailed-status__display-name {
  120. color: #d9e1e8;
  121. line-height: 24px;
  122. strong, span {
  123. display: block;
  124. }
  125. strong {
  126. font-size: 16px;
  127. color: #fff;
  128. }
  129. }
  130. .status__relative-time, .detailed-status__datetime {
  131. &:hover {
  132. text-decoration: underline;
  133. }
  134. }
  135. .transparent-background {
  136. background: image-url('void.png');
  137. }
  138. .dropdown {
  139. display: inline-block;
  140. }
  141. .dropdown__content {
  142. display: none;
  143. position: absolute;
  144. }
  145. .dropdown--active .dropdown__content {
  146. display: block;
  147. z-index: 9999;
  148. &:before {
  149. content: "";
  150. display: block;
  151. position: absolute;
  152. width: 0;
  153. height: 0;
  154. border-style: solid;
  155. border-width: 0 4.5px 7.8px 4.5px;
  156. border-color: transparent transparent #d9e1e8 transparent;
  157. top: -7px;
  158. left: 8px;
  159. }
  160. ul {
  161. list-style: none;
  162. background: #d9e1e8;
  163. padding: 4px 0;
  164. border-radius: 4px;
  165. box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  166. min-width: 100px;
  167. }
  168. a {
  169. font-size: 13px;
  170. display: block;
  171. padding: 6px 16px;
  172. width: 100px;
  173. text-decoration: none;
  174. background: #d9e1e8;
  175. color: #282c37;
  176. &:hover {
  177. background: #2b90d9;
  178. color: #d9e1e8;
  179. }
  180. }
  181. }
  182. .static-content {
  183. padding: 10px;
  184. padding-top: 20px;
  185. color: #616b86;
  186. h1 {
  187. font-size: 16px;
  188. font-weight: 500;
  189. margin-bottom: 40px;
  190. text-align: center;
  191. }
  192. p {
  193. font-size: 13px;
  194. margin-bottom: 20px;
  195. }
  196. }
  197. .columns-area {
  198. margin: 10px;
  199. margin-left: 0;
  200. flex-direction: row;
  201. }
  202. .column {
  203. width: 330px;
  204. }
  205. .drawer {
  206. width: 280px;
  207. }
  208. .column, .drawer {
  209. margin-left: 10px;
  210. flex: 0 0 auto;
  211. overflow: hidden;
  212. }
  213. @media screen and (max-width: 1024px) {
  214. .column, .drawer {
  215. width: 100%;
  216. margin: 0;
  217. flex: 1 1 100%;
  218. }
  219. .columns-area {
  220. margin: 10px;
  221. flex-direction: column;
  222. }
  223. }
  224. .react-autosuggest__container {
  225. position: relative;
  226. }
  227. .react-autosuggest__suggestions-container {
  228. position: absolute;
  229. top: 100%;
  230. width: 100%;
  231. z-index: 99;
  232. }
  233. .react-autosuggest__suggestions-list {
  234. background: #9baec8;
  235. color: #282c37;
  236. box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  237. font-size: 14px;
  238. }
  239. .react-autosuggest__suggestion {
  240. padding: 10px;
  241. cursor: pointer;
  242. }
  243. .react-autosuggest__suggestion--focused {
  244. background: #2b90d9;
  245. color: #fff;
  246. }