shared.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. /* Initialization for all pages */
  2. *{
  3. margin:0;
  4. padding:0;
  5. }
  6. body{
  7. display: flex;
  8. flex-direction: column;
  9. font-family:'Saira',sans-serif;
  10. color: rgb(0, 27, 45);
  11. min-height: 100vh;
  12. }
  13. /* General style that should apply to all pages */
  14. table{
  15. border-spacing: 0;
  16. }
  17. th{
  18. color: rgb(240, 252, 255);
  19. padding: 20px;
  20. background: rgb(0, 27, 45);
  21. color: rgb(255, 99, 107);
  22. }
  23. tr{
  24. color: rgb(0, 27, 45);
  25. text-align: center;
  26. }
  27. tr, td{
  28. padding: 5px 20px;
  29. }
  30. tr:nth-of-type(even){
  31. background: rgb(201, 201, 201);
  32. }
  33. tr:nth-of-type(odd){
  34. background: rgb(240, 252, 255);
  35. }
  36. .clickableRow{
  37. cursor: pointer;
  38. transition: 0.3s;
  39. }
  40. .clickableRow:hover{
  41. position: relative;
  42. z-index: 2;
  43. box-shadow: 0 0 25px black;
  44. border-radius: 50px;
  45. }
  46. form{
  47. display: flex;
  48. flex-direction: column;
  49. justify-content: center;
  50. border: 2px solid rgb(0, 27, 45);
  51. padding: 25px;
  52. border-radius: 10px;
  53. margin: 10px;
  54. background: rgb(240, 252, 255);
  55. box-shadow: 1px 1px 1px rgb(0, 27, 45);
  56. }
  57. form > *{
  58. margin: 10px;
  59. }
  60. .buttonBox{
  61. display: flex;
  62. justify-content: space-between;
  63. align-items: center;
  64. }
  65. .buttonBox > *{
  66. margin: 10px;
  67. }
  68. .button{
  69. background: none;
  70. font-family:'Saira',sans-serif;
  71. border: 5px solid rgb(255, 99, 107);
  72. text-decoration: none;
  73. border-radius: 10px;
  74. padding: 5px;
  75. color: rgb(0, 27, 45);
  76. cursor: pointer;
  77. font-size: 20px;
  78. font-weight: bold;
  79. box-shadow: 2px 2px 2px black;
  80. transition: 0.3s;
  81. text-align: center;
  82. }
  83. .button:hover{
  84. background: rgb(0, 27, 45);
  85. color: rgb(240, 252, 255);
  86. }
  87. .button-small{
  88. background: none;
  89. border: 2px solid rgb(255, 99, 107);
  90. text-decoration: none;
  91. border-radius: 10px;
  92. padding: 3px 5px;
  93. color: #001b2d;
  94. cursor: pointer;
  95. font-size: 15px;
  96. box-shadow: 1px 1px 1px black;
  97. margin: 0 2px;
  98. transition: 0.3s;
  99. }
  100. .buttonBox{
  101. display: flex;
  102. justify-content: space-around;
  103. }
  104. .button-small:hover{
  105. background: rgb(0, 27, 45);
  106. color: rgb(240, 252, 255);
  107. }
  108. .buttonDisabled{
  109. background: gray;
  110. text-decoration: none;
  111. border-radius: 10px;
  112. padding: 10px 5px;
  113. color: rgb(0, 27, 45);
  114. cursor: default;
  115. font-size: 25px;
  116. text-align: center;
  117. }
  118. .line-break{
  119. border: 1px solid rgb(255, 99, 107);
  120. margin: 30px 0;
  121. }
  122. .input-error{
  123. border-color: red;
  124. }
  125. .strand, .action{
  126. display: none;
  127. }
  128. /* Components */
  129. strand-selector{
  130. display: flex;
  131. justify-content: center;
  132. border-bottom: 1px solid rgb(255, 99, 107);
  133. }
  134. strand-selector button{
  135. margin: 10px;
  136. background: none;
  137. font-size: 25px;
  138. font-weight: bold;
  139. border: none;
  140. transition: box-shadow 1s;
  141. padding: 5px;
  142. }
  143. strand-selector button:hover{
  144. box-shadow: 15px 15px 15px gray;
  145. }
  146. .strand{
  147. transition: width 1s linear;
  148. }
  149. /* Header partial */
  150. .header{
  151. display: flex;
  152. justify-content: space-between;
  153. background: #001b2d;
  154. width: 100%;
  155. height: 75px;
  156. }
  157. .header .logo{
  158. display: flex;
  159. align-items: center;
  160. text-decoration: none;
  161. margin-left: 5px;
  162. }
  163. .header img{
  164. display: inline-block;
  165. max-height: 65px;
  166. margin: 5px;
  167. text-align: center;
  168. }
  169. .header h1{
  170. display: inline-block;
  171. color: rgb(255, 99, 107);
  172. }
  173. .header .logout{
  174. display: flex;
  175. align-items: center;
  176. color: rgb(255, 99, 107);
  177. float: right;
  178. margin-right: 25px;
  179. text-decoration: none;
  180. }
  181. /* Banner partial */
  182. .banner{
  183. width: 100%;
  184. text-align: center;
  185. list-style-type: none;
  186. font-weight: bold;
  187. color: white;
  188. }
  189. .banner .notification{
  190. background: rgb(201, 201, 201);
  191. list-style-type: none;
  192. padding: 3px;
  193. color: black;
  194. }
  195. .banner .error{
  196. background: rgb(255, 99, 107);
  197. list-style-type: none;
  198. padding: 5px;
  199. color: white;
  200. }
  201. /* Footer Partial */
  202. .spacer{
  203. flex: 1;
  204. }
  205. .footer{
  206. display: flex;
  207. flex-direction: column;
  208. align-items: center;
  209. padding: 10px;
  210. background: rgb(240, 252, 255);
  211. }
  212. .footer > *{
  213. margin: 5px;
  214. }
  215. .footer div > *{
  216. margin: 0 25px;
  217. }
  218. @media screen and (max-width: 600px){
  219. .button{
  220. font-size: 15px;
  221. }
  222. .truncateLong{
  223. max-width: 100px;
  224. white-space: nowrap;
  225. overflow: hidden;
  226. text-overflow: ellipsis;
  227. }
  228. }