闭社主体 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.

245 lines
4.0 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: $color1;
  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($color5, 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: $color5;
  40. background-color: darken($color1, 5%);
  41. transition: all 100ms linear;
  42. }
  43. &.selected {
  44. background: darken($color1, 2%);
  45. border-radius: 4px 0 0 0;
  46. }
  47. }
  48. ul {
  49. background: darken($color1, 4%);
  50. border-radius: 0 0 0 4px;
  51. margin: 0;
  52. a {
  53. border: 0;
  54. &.selected {
  55. color: $color5;
  56. background-color: $color4;
  57. border-bottom: 0;
  58. border-radius: 0;
  59. &:hover {
  60. background-color: lighten($color4, 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: $color2;
  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: $color2;
  87. margin-bottom: 20px;
  88. strong {
  89. color: $color5;
  90. font-weight: 500;
  91. }
  92. }
  93. hr {
  94. margin: 20px 0;
  95. border: 0;
  96. background: transparent;
  97. border-bottom: 1px solid $color1;
  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, .content-wrapper {
  117. flex: 0 0 auto;
  118. height: auto;
  119. overflow: initial;
  120. }
  121. .sidebar {
  122. width: 100%;
  123. padding: 10px 0;
  124. height: auto;
  125. .logo {
  126. margin: 20px auto;
  127. }
  128. }
  129. .content {
  130. padding-top: 20px;
  131. }
  132. }
  133. }
  134. .filters {
  135. display: flex;
  136. margin-bottom: 20px;
  137. .filter-subset {
  138. flex: 0 0 auto;
  139. margin-right: 40px;
  140. ul {
  141. margin-top: 5px;
  142. list-style: none;
  143. li {
  144. display: inline-block;
  145. margin-right: 5px;
  146. }
  147. }
  148. strong {
  149. font-weight: 500;
  150. text-transform: uppercase;
  151. font-size: 12px;
  152. }
  153. a {
  154. display: inline-block;
  155. color: rgba($color5, 0.7);
  156. text-decoration: none;
  157. text-transform: uppercase;
  158. font-size: 12px;
  159. font-weight: 500;
  160. border-bottom: 2px solid $color1;
  161. &:hover {
  162. color: $color5;
  163. border-bottom: 2px solid lighten($color1, 5%);
  164. }
  165. &.selected {
  166. color: $color4;
  167. border-bottom: 2px solid $color4;
  168. }
  169. }
  170. }
  171. }
  172. .report-accounts {
  173. display: flex;
  174. margin-bottom: 20px;
  175. }
  176. .report-accounts__item {
  177. flex: 1 1 0;
  178. display: flex;
  179. flex-direction: column;
  180. & > strong {
  181. display: block;
  182. margin-bottom: 10px;
  183. font-weight: 500;
  184. font-size: 14px;
  185. line-height: 18px;
  186. color: $color2;
  187. }
  188. &:first-child {
  189. margin-right: 10px;
  190. }
  191. .account-card {
  192. flex: 1 1 auto;
  193. }
  194. }
  195. .report-status {
  196. display: flex;
  197. margin-bottom: 10px;
  198. .activity-stream {
  199. flex: 2 0 0;
  200. margin-right: 20px;
  201. }
  202. }
  203. .report-status__actions {
  204. flex: 0 0 auto;
  205. }