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.

210 lines
3.1 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. p {
  63. margin-bottom: 20px;
  64. &:last-child {
  65. margin-bottom: 0;
  66. }
  67. }
  68. a {
  69. color: #d9e1e8;
  70. text-decoration: none;
  71. &:hover {
  72. text-decoration: underline;
  73. }
  74. &.mention {
  75. &:hover {
  76. text-decoration: none;
  77. span {
  78. text-decoration: underline;
  79. }
  80. }
  81. }
  82. }
  83. }
  84. .detailed-status {
  85. .status__content {
  86. font-size: 19px;
  87. line-height: 24px;
  88. }
  89. }
  90. .reply-indicator__content {
  91. color: #282c37;
  92. font-size: 14px;
  93. a {
  94. color: #535b72;
  95. }
  96. }
  97. .status__display-name, .status__relative-time, .detailed-status__display-name, .detailed-status__datetime {
  98. text-decoration: none;
  99. }
  100. .status__display-name {
  101. strong {
  102. color: #fff;
  103. }
  104. }
  105. .status__display-name, .reply-indicator__display-name, .detailed-status__display-name {
  106. &:hover {
  107. strong {
  108. text-decoration: underline;
  109. }
  110. }
  111. }
  112. .detailed-status__display-name {
  113. color: #d9e1e8;
  114. line-height: 24px;
  115. strong, span {
  116. display: block;
  117. }
  118. strong {
  119. font-size: 16px;
  120. color: #fff;
  121. }
  122. }
  123. .status__relative-time, .detailed-status__datetime {
  124. &:hover {
  125. text-decoration: underline;
  126. }
  127. }
  128. .transparent-background {
  129. background: image-url('void.png');
  130. }
  131. .dropdown {
  132. display: inline-block;
  133. }
  134. .dropdown__content {
  135. display: none;
  136. position: absolute;
  137. }
  138. .dropdown--active .dropdown__content {
  139. display: block;
  140. z-index: 9999;
  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. background: #d9e1e8;
  156. padding: 4px 0;
  157. border-radius: 4px;
  158. box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  159. min-width: 100px;
  160. }
  161. a {
  162. font-size: 13px;
  163. display: block;
  164. padding: 6px 16px;
  165. width: 120px;
  166. text-decoration: none;
  167. background: #d9e1e8;
  168. color: #282c37;
  169. &:hover {
  170. background: #2b90d9;
  171. color: #d9e1e8;
  172. }
  173. }
  174. }