shared.css 3.8 KB

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