dashboard.css 4.7 KB

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