闭社主体 forked from https://github.com/tootsuite/mastodon
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.

248 lines
4.2 KiB

  1. .admin-wrapper {
  2. display: flex;
  3. justify-content: center;
  4. height: 100%;
  5. .sidebar-wrapper {
  6. flex: 1;
  7. height: 100%;
  8. background: $ui-base-color;
  9. display: flex;
  10. justify-content: flex-end;
  11. }
  12. .sidebar {
  13. width: 240px;
  14. height: 100%;
  15. padding: 0;
  16. overflow-y: auto;
  17. .logo {
  18. display: block;
  19. margin: 40px auto;
  20. width: 100px;
  21. height: 100px;
  22. }
  23. ul {
  24. list-style: none;
  25. border-radius: 4px 0 0 4px;
  26. overflow: hidden;
  27. margin-bottom: 20px;
  28. a {
  29. display: block;
  30. padding: 15px 25px;
  31. color: rgba($primary-text-color, 0.7);
  32. text-decoration: none;
  33. transition: all 200ms linear;
  34. border-radius: 4px 0 0 4px;
  35. i.fa {
  36. margin-right: 5px;
  37. }
  38. &:hover {
  39. color: $primary-text-color;
  40. background-color: darken($ui-base-color, 5%);
  41. transition: all 100ms linear;
  42. }
  43. &.selected {
  44. background: darken($ui-base-color, 2%);
  45. border-radius: 4px 0 0;
  46. }
  47. }
  48. ul {
  49. background: darken($ui-base-color, 4%);
  50. border-radius: 0 0 0 4px;
  51. margin: 0;
  52. a {
  53. border: 0;
  54. &.selected {
  55. color: $primary-text-color;
  56. background-color: $ui-highlight-color;
  57. border-bottom: 0;
  58. border-radius: 0;
  59. &:hover {
  60. background-color: lighten($ui-highlight-color, 5%);
  61. }
  62. }
  63. }
  64. }
  65. }
  66. }
  67. .content-wrapper {
  68. flex: 2;
  69. overflow: auto;
  70. }
  71. .content {
  72. max-width: 700px;
  73. padding: 20px 15px;
  74. padding-top: 60px;
  75. padding-left: 25px;
  76. h2 {
  77. color: $ui-secondary-color;
  78. font-size: 24px;
  79. line-height: 28px;
  80. font-weight: 400;
  81. margin-bottom: 40px;
  82. }
  83. & > p {
  84. font-size: 14px;
  85. line-height: 18px;
  86. color: $ui-secondary-color;
  87. margin-bottom: 20px;
  88. strong {
  89. color: $primary-text-color;
  90. font-weight: 500;
  91. }
  92. }
  93. hr {
  94. margin: 20px 0;
  95. border: 0;
  96. background: transparent;
  97. border-bottom: 1px solid $ui-base-color;
  98. }
  99. }
  100. .simple_form {
  101. max-width: 400px;
  102. .label_input {
  103. label.select {
  104. width: 50%;
  105. }
  106. select {
  107. width: 50%;
  108. float: right;
  109. }
  110. }
  111. }
  112. @media screen and (max-width: 600px) {
  113. display: block;
  114. overflow-y: auto;
  115. -webkit-overflow-scrolling: touch;
  116. .sidebar-wrapper,
  117. .content-wrapper {
  118. flex: 0 0 auto;
  119. height: auto;
  120. overflow: initial;
  121. }
  122. .sidebar {
  123. width: 100%;
  124. padding: 10px 0;
  125. height: auto;
  126. .logo {
  127. margin: 20px auto;
  128. }
  129. }
  130. .content {
  131. padding-top: 20px;
  132. }
  133. }
  134. }
  135. .filters {
  136. display: flex;
  137. margin-bottom: 20px;
  138. .filter-subset {
  139. flex: 0 0 auto;
  140. margin-right: 40px;
  141. ul {
  142. margin-top: 5px;
  143. list-style: none;
  144. li {
  145. display: inline-block;
  146. margin-right: 5px;
  147. }
  148. }
  149. strong {
  150. font-weight: 500;
  151. text-transform: uppercase;
  152. font-size: 12px;
  153. }
  154. a {
  155. display: inline-block;
  156. color: rgba($primary-text-color, 0.7);
  157. text-decoration: none;
  158. text-transform: uppercase;
  159. font-size: 12px;
  160. font-weight: 500;
  161. border-bottom: 2px solid $ui-base-color;
  162. &:hover {
  163. color: $primary-text-color;
  164. border-bottom: 2px solid lighten($ui-base-color, 5%);
  165. }
  166. &.selected {
  167. color: $ui-highlight-color;
  168. border-bottom: 2px solid $ui-highlight-color;
  169. }
  170. }
  171. }
  172. }
  173. .report-accounts {
  174. display: flex;
  175. margin-bottom: 20px;
  176. }
  177. .report-accounts__item {
  178. flex: 1 1 0;
  179. display: flex;
  180. flex-direction: column;
  181. & > strong {
  182. display: block;
  183. margin-bottom: 10px;
  184. font-weight: 500;
  185. font-size: 14px;
  186. line-height: 18px;
  187. color: $ui-secondary-color;
  188. }
  189. &:first-child {
  190. margin-right: 10px;
  191. }
  192. .account-card {
  193. flex: 1 1 auto;
  194. }
  195. }
  196. .report-status {
  197. display: flex;
  198. margin-bottom: 10px;
  199. .activity-stream {
  200. flex: 2 0 0;
  201. margin-right: 20px;
  202. }
  203. }
  204. .report-status__actions {
  205. flex: 0 0 auto;
  206. }