shared.css 4.2 KB

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