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.

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