shared.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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: 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. .strand, .action{
  99. display: none;
  100. }
  101. /* Components */
  102. strand-selector{
  103. display: flex;
  104. justify-content: center;
  105. }
  106. strand-selector button{
  107. margin: 10px;
  108. background: none;
  109. font-size: 25px;
  110. font-weight: bold;
  111. border: none;
  112. transition: box-shadow 1s;
  113. padding: 5px;
  114. }
  115. strand-selector button:hover{
  116. box-shadow: 15px 15px 15px gray;
  117. }
  118. .strand{
  119. transition: width 1s linear;
  120. }
  121. /* Header partial */
  122. .header{
  123. display: flex;
  124. justify-content: space-between;
  125. background: #001b2d;
  126. width: 100%;
  127. height: 75px;
  128. }
  129. .header .logo{
  130. display: flex;
  131. align-items: center;
  132. text-decoration: none;
  133. margin-left: 5px;
  134. }
  135. .header img{
  136. display: inline-block;
  137. max-height: 65px;
  138. margin: 5px;
  139. text-align: center;
  140. }
  141. .header h1{
  142. display: inline-block;
  143. color: rgb(255, 99, 107);
  144. }
  145. .header .logout{
  146. display: flex;
  147. align-items: center;
  148. color: rgb(255, 99, 107);
  149. float: right;
  150. margin-right: 25px;
  151. text-decoration: none;
  152. }
  153. /* Banner partial */
  154. .banner{
  155. width: 100%;
  156. text-align: center;
  157. list-style-type: none;
  158. font-weight: bold;
  159. color: white;
  160. }
  161. .banner .notification{
  162. background: rgb(201, 201, 201);
  163. list-style-type: none;
  164. padding: 3px;
  165. color: black;
  166. }
  167. .banner .error{
  168. background: rgb(255, 99, 107);
  169. list-style-type: none;
  170. padding: 5px;
  171. color: white;
  172. }
  173. @media screen and (max-width: 600px){
  174. .button{
  175. font-size: 15px;
  176. }
  177. .truncateLong{
  178. max-width: 100px;
  179. white-space: nowrap;
  180. overflow: hidden;
  181. text-overflow: ellipsis;
  182. }
  183. }