admin.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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;
  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,
  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($color5, 0.7);
  157. text-decoration: none;
  158. text-transform: uppercase;
  159. font-size: 12px;
  160. font-weight: 500;
  161. border-bottom: 2px solid $color1;
  162. &:hover {
  163. color: $color5;
  164. border-bottom: 2px solid lighten($color1, 5%);
  165. }
  166. &.selected {
  167. color: $color4;
  168. border-bottom: 2px solid $color4;
  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: $color2;
  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. }