shared.css 4.1 KB

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