dashboard.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. *{margin:0;padding:0;font-family:'Saira',sans-serif;}
  2. html{
  3. height: 100%;
  4. max-width: 100%;
  5. }
  6. body{
  7. display: flex;
  8. flex-direction: row;
  9. height: 100%;
  10. max-width: 100%;
  11. }
  12. .contentBlock{
  13. width: 100%;
  14. height: 100vh;
  15. flex: 1;
  16. box-sizing: border-box;
  17. position: relative;
  18. padding-bottom: 25px;
  19. background: rgb(201, 201, 201);
  20. }
  21. .mobileMenuSelector{
  22. display: none;
  23. position: fixed;
  24. left: 13px;
  25. top: -2px;
  26. font-size: 40px;
  27. }
  28. .mobileMenuSelector:active{
  29. color: rgb(255, 99, 107);
  30. }
  31. .sidebarButton{
  32. display: initial;
  33. background: rgb(179, 191, 209);
  34. border: none;
  35. text-decoration: none;
  36. padding: 10px 25px;
  37. color: black;
  38. cursor: pointer;
  39. text-align: center;
  40. font-size: 15px;
  41. min-width: 100px;
  42. margin: 5px;
  43. max-height: 52px;
  44. }
  45. .sidebarButton:hover{
  46. background: rgb(240, 252, 255);
  47. }
  48. .sidebarButton:active{
  49. background: rgb(0, 27, 45);
  50. color: white;
  51. }
  52. .sidebar{
  53. display: flex;
  54. width: 25vw;
  55. height: 100vh;
  56. box-sizing: border-box;
  57. padding: 25px;
  58. transition: width 0.2s;
  59. overflow: hidden;
  60. background: rgb(0, 27, 45);
  61. color: white;
  62. }
  63. .sidebarWide{
  64. width: 40vw;
  65. }
  66. .sidebarHide{
  67. width: 0;
  68. transition: width 0.2s;
  69. margin: 0;
  70. padding: 0;
  71. overflow: hidden;
  72. box-shadow: -1px 0px 10px gray;
  73. }
  74. .sidebarHide > *{
  75. width: 0;
  76. transition: width 0.2s;
  77. visibility: hidden;
  78. }
  79. .sidebarIconButtons{
  80. display: flex;
  81. justify-content: space-between;
  82. width: 100%;
  83. margin-bottom: 10px;
  84. }
  85. .iconButton{
  86. display: flex;
  87. align-items: center;
  88. background: none;
  89. border: none;
  90. cursor: pointer;
  91. padding: 3px;
  92. color: rgb(255, 99, 107);
  93. }
  94. .iconButton:hover{
  95. background: rgb(0, 27, 45);
  96. color: white;
  97. }
  98. .lineBorder{
  99. width: 100%;
  100. border-bottom: 1px solid gray;
  101. margin: 25px;
  102. }
  103. /*
  104. Multi-strand use classes
  105. */
  106. .strand{
  107. flex-direction: column;
  108. height: 100vh;
  109. width: 100%;
  110. padding-bottom: 25px;
  111. box-sizing: border-box;
  112. }
  113. .strandHead{
  114. display: flex;
  115. justify-content: space-between;
  116. width: 100%;
  117. padding: 10px 50px 0 50px;
  118. align-items: center;
  119. box-sizing: border-box;
  120. height: 10%;
  121. }
  122. .strandTitle{
  123. text-align: left;
  124. margin: 15px;
  125. padding: 0;
  126. }
  127. #sidebarCloser{
  128. width: 30px;
  129. background: rgb(0, 27, 45);
  130. color: white;
  131. margin-right: auto;
  132. border: none;
  133. position: fixed;
  134. top: 15px;
  135. left: 15px;
  136. }
  137. .buttonBox{
  138. display: flex;
  139. justify-content: space-around;
  140. margin-top: 50px;
  141. }
  142. .buttonBox > *{
  143. margin-right: 10px;
  144. }
  145. .choosable{
  146. display: flex;
  147. justify-content: space-around;
  148. align-items: center;
  149. background: rgb(0, 27, 45);
  150. color: white;
  151. margin: 2px;
  152. padding: 5px;
  153. text-align: center;
  154. cursor: pointer;
  155. width: 99%;
  156. box-sizing: border-box;
  157. border: none;
  158. font-size: 16px;
  159. }
  160. .choosable.offColor{
  161. background: rgb(179, 191, 209);
  162. }
  163. .choosable.offColor{
  164. background: rgb(201, 201, 201);
  165. }
  166. .choosable.tall{
  167. padding: 15px;
  168. }
  169. .choosable:hover{
  170. background: rgb(179, 191, 209);
  171. color: black;
  172. }
  173. .choosable.active{
  174. background: rgb(240, 252, 255);
  175. color: black;
  176. }
  177. .searchBar{
  178. display: flex;
  179. align-items: center;
  180. margin-bottom: 10px;
  181. }
  182. .searchButton{
  183. padding: 6px;
  184. background: rgb(0, 27, 45);
  185. cursor: pointer;
  186. color: white;
  187. }
  188. .searchButton:hover{
  189. background: rgb(201, 201, 201);
  190. color: black;
  191. }
  192. .searchButton:active{
  193. background: rgb(179, 191, 209);
  194. color: white;
  195. }
  196. .searchBar .searchInput, .searchBar .searchInput:focus{
  197. border: 4px solid rgb(0, 27, 45);
  198. font-size: 20px;
  199. padding: 1px 0 1px 4px;
  200. }
  201. .dateRange{
  202. display: flex;
  203. flex-direction: column;
  204. align-items: center;
  205. }
  206. .dateRangeInput{
  207. display: flex;
  208. justify-content: space-between;
  209. }
  210. .dateRangeInput p{
  211. margin: 0 5px;
  212. font-size: 20px;
  213. font-weight: bold;
  214. }
  215. .fileUpload{
  216. background: rgb(240, 252, 255);
  217. padding: 5px;
  218. font-size: 16px;
  219. }
  220. .fileUpload::file-selector-button{
  221. background: rgb(0, 27, 45);
  222. color: white;
  223. border: none;
  224. cursor: pointer;
  225. font-size: 18px;
  226. margin: auto 0;
  227. }
  228. .fileUpload::file-selector-button:hover{
  229. background: rgb(201, 201, 201);
  230. color: black;
  231. }