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.

277 lines
4.6 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. h6 {
  84. font-size: 16px;
  85. color: $ui-primary-color;
  86. line-height: 28px;
  87. font-weight: 400;
  88. }
  89. & > p {
  90. font-size: 14px;
  91. line-height: 18px;
  92. color: $ui-secondary-color;
  93. margin-bottom: 20px;
  94. strong {
  95. color: $primary-text-color;
  96. font-weight: 500;
  97. }
  98. }
  99. hr {
  100. margin: 20px 0;
  101. border: 0;
  102. background: transparent;
  103. border-bottom: 1px solid $ui-base-color;
  104. }
  105. .muted-hint {
  106. color: lighten($ui-base-color, 27%);
  107. a {
  108. color: $ui-primary-color;
  109. }
  110. }
  111. .positive-hint {
  112. color: $valid-value-color;
  113. font-weight: 500;
  114. }
  115. }
  116. .simple_form {
  117. max-width: 400px;
  118. .label_input {
  119. label.select {
  120. width: 50%;
  121. }
  122. select {
  123. width: 50%;
  124. float: right;
  125. }
  126. }
  127. }
  128. @media screen and (max-width: 600px) {
  129. display: block;
  130. overflow-y: auto;
  131. -webkit-overflow-scrolling: touch;
  132. .sidebar-wrapper,
  133. .content-wrapper {
  134. flex: 0 0 auto;
  135. height: auto;
  136. overflow: initial;
  137. }
  138. .sidebar {
  139. width: 100%;
  140. padding: 10px 0;
  141. height: auto;
  142. .logo {
  143. margin: 20px auto;
  144. }
  145. }
  146. .content {
  147. padding-top: 20px;
  148. }
  149. }
  150. }
  151. .filters {
  152. display: flex;
  153. margin-bottom: 20px;
  154. .filter-subset {
  155. flex: 0 0 auto;
  156. margin-right: 40px;
  157. ul {
  158. margin-top: 5px;
  159. list-style: none;
  160. li {
  161. display: inline-block;
  162. margin-right: 5px;
  163. }
  164. }
  165. strong {
  166. font-weight: 500;
  167. text-transform: uppercase;
  168. font-size: 12px;
  169. }
  170. a {
  171. display: inline-block;
  172. color: rgba($primary-text-color, 0.7);
  173. text-decoration: none;
  174. text-transform: uppercase;
  175. font-size: 12px;
  176. font-weight: 500;
  177. border-bottom: 2px solid $ui-base-color;
  178. &:hover {
  179. color: $primary-text-color;
  180. border-bottom: 2px solid lighten($ui-base-color, 5%);
  181. }
  182. &.selected {
  183. color: $ui-highlight-color;
  184. border-bottom: 2px solid $ui-highlight-color;
  185. }
  186. }
  187. }
  188. }
  189. .report-accounts {
  190. display: flex;
  191. margin-bottom: 20px;
  192. }
  193. .report-accounts__item {
  194. flex: 1 1 0;
  195. display: flex;
  196. flex-direction: column;
  197. & > strong {
  198. display: block;
  199. margin-bottom: 10px;
  200. font-weight: 500;
  201. font-size: 14px;
  202. line-height: 18px;
  203. color: $ui-secondary-color;
  204. }
  205. &:first-child {
  206. margin-right: 10px;
  207. }
  208. .account-card {
  209. flex: 1 1 auto;
  210. }
  211. }
  212. .report-status {
  213. display: flex;
  214. margin-bottom: 10px;
  215. .activity-stream {
  216. flex: 2 0 0;
  217. margin-right: 20px;
  218. }
  219. }
  220. .report-status__actions {
  221. flex: 0 0 auto;
  222. display: flex;
  223. flex-direction: column;
  224. .icon-button {
  225. font-size: 24px;
  226. width: 24px;
  227. text-align: center;
  228. margin-bottom: 10px;
  229. }
  230. }