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.

377 lines
5.5 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 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. .lightbox .icon-button {
  53. color: #282c37;
  54. }
  55. .compose-form__textarea, .follow-form__input {
  56. background: #fff;
  57. &:disabled {
  58. background: #d9e1e8;
  59. }
  60. }
  61. .emojione {
  62. display: inline-block;
  63. font-size: inherit;
  64. vertical-align: middle;
  65. margin: -.2ex .15em .2ex;
  66. width: 16px;
  67. height: 16px;
  68. img {
  69. width: auto;
  70. }
  71. }
  72. .status__content, .reply-indicator__content {
  73. font-size: 15px;
  74. line-height: 20px;
  75. word-wrap: break-word;
  76. font-weight: 300;
  77. overflow: hidden;
  78. .emojione {
  79. width: 18px;
  80. height: 18px;
  81. }
  82. p {
  83. margin-bottom: 20px;
  84. &:last-child {
  85. margin-bottom: 0;
  86. }
  87. }
  88. a {
  89. color: #d9e1e8;
  90. text-decoration: none;
  91. &:hover {
  92. text-decoration: underline;
  93. }
  94. &.mention {
  95. &:hover {
  96. text-decoration: none;
  97. span {
  98. text-decoration: underline;
  99. }
  100. }
  101. }
  102. }
  103. }
  104. .detailed-status {
  105. .status__content {
  106. font-size: 19px;
  107. line-height: 24px;
  108. .emojione {
  109. width: 22px;
  110. height: 22px;
  111. }
  112. }
  113. }
  114. .reply-indicator__content {
  115. color: #282c37;
  116. font-size: 14px;
  117. a {
  118. color: #535b72;
  119. }
  120. }
  121. .account__header__content {
  122. word-wrap: break-word;
  123. font-weight: 300;
  124. overflow: hidden;
  125. p {
  126. margin-bottom: 20px;
  127. &:last-child {
  128. margin-bottom: 0;
  129. }
  130. }
  131. a {
  132. color: inherit;
  133. text-decoration: underline;
  134. &:hover {
  135. text-decoration: none;
  136. }
  137. }
  138. }
  139. .account__header__display-name {
  140. .emojione {
  141. width: 25px;
  142. height: 25px;
  143. }
  144. }
  145. .status__display-name, .status__relative-time, .detailed-status__display-name, .detailed-status__datetime, .account__display-name {
  146. text-decoration: none;
  147. }
  148. .status__display-name, .account__display-name {
  149. strong {
  150. color: #fff;
  151. }
  152. }
  153. .status__display-name, .reply-indicator__display-name, .detailed-status__display-name, .account__display-name {
  154. &:hover {
  155. strong {
  156. text-decoration: underline;
  157. }
  158. }
  159. }
  160. .account__display-name {
  161. strong {
  162. display: block;
  163. }
  164. }
  165. .detailed-status__display-name {
  166. color: #d9e1e8;
  167. line-height: 24px;
  168. strong, span {
  169. display: block;
  170. }
  171. strong {
  172. font-size: 16px;
  173. color: #fff;
  174. }
  175. }
  176. .status__relative-time, .detailed-status__datetime {
  177. &:hover {
  178. text-decoration: underline;
  179. }
  180. }
  181. .transparent-background {
  182. background: image-url('void.png');
  183. }
  184. .dropdown {
  185. display: inline-block;
  186. }
  187. .dropdown__content {
  188. display: none;
  189. position: absolute;
  190. }
  191. .dropdown--active .dropdown__content {
  192. display: block;
  193. z-index: 9999;
  194. &:before {
  195. content: "";
  196. display: block;
  197. position: absolute;
  198. width: 0;
  199. height: 0;
  200. border-style: solid;
  201. border-width: 0 4.5px 7.8px 4.5px;
  202. border-color: transparent transparent #d9e1e8 transparent;
  203. top: -7px;
  204. left: 8px;
  205. }
  206. ul {
  207. list-style: none;
  208. background: #d9e1e8;
  209. padding: 4px 0;
  210. border-radius: 4px;
  211. box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  212. min-width: 100px;
  213. }
  214. a {
  215. font-size: 13px;
  216. display: block;
  217. padding: 6px 16px;
  218. width: 100px;
  219. text-decoration: none;
  220. background: #d9e1e8;
  221. color: #282c37;
  222. &:hover {
  223. background: #2b90d9;
  224. color: #d9e1e8;
  225. }
  226. }
  227. }
  228. .static-content {
  229. padding: 10px;
  230. padding-top: 20px;
  231. color: #616b86;
  232. h1 {
  233. font-size: 16px;
  234. font-weight: 500;
  235. margin-bottom: 40px;
  236. text-align: center;
  237. }
  238. p {
  239. font-size: 13px;
  240. margin-bottom: 20px;
  241. }
  242. }
  243. .columns-area {
  244. margin: 10px;
  245. margin-left: 0;
  246. flex-direction: row;
  247. }
  248. .column {
  249. width: 330px;
  250. }
  251. .drawer {
  252. width: 280px;
  253. }
  254. .column, .drawer {
  255. margin-left: 10px;
  256. flex: 0 0 auto;
  257. overflow: hidden;
  258. }
  259. @media screen and (max-width: 1024px) {
  260. .column, .drawer {
  261. width: 100%;
  262. margin: 0;
  263. flex: 1 1 100%;
  264. }
  265. .columns-area {
  266. margin: 10px;
  267. flex-direction: column;
  268. }
  269. }
  270. .react-autosuggest__container {
  271. position: relative;
  272. }
  273. .react-autosuggest__suggestions-container {
  274. position: absolute;
  275. top: 100%;
  276. width: 100%;
  277. z-index: 99;
  278. box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  279. }
  280. .react-autosuggest__section-title {
  281. background: #9baec8;
  282. padding: 4px 10px;
  283. font-weight: 500;
  284. cursor: default;
  285. color: #282c37;
  286. text-transform: uppercase;
  287. font-size: 11px;
  288. }
  289. .react-autosuggest__suggestions-list {
  290. background: #d9e1e8;
  291. color: #282c37;
  292. font-size: 14px;
  293. }
  294. .react-autosuggest__suggestion {
  295. padding: 10px;
  296. cursor: pointer;
  297. }
  298. .react-autosuggest__suggestion--focused {
  299. background: #2b90d9;
  300. color: #fff;
  301. }
  302. .scrollable {
  303. overflow-y: scroll;
  304. overflow-x: hidden;
  305. flex: 1 1 auto;
  306. -webkit-overflow-scrolling: touch;
  307. }
  308. .column-back-button {
  309. &:hover {
  310. text-decoration: underline;
  311. }
  312. }