shared.css 4.3 KB

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