shared.css 3.9 KB

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