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.

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