shared.css 4.5 KB

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