shared.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. /* Header partial */
  99. .header{
  100. display: flex;
  101. justify-content: space-between;
  102. background: #001b2d;
  103. width: 100%;
  104. height: 75px;
  105. }
  106. .header .logo{
  107. display: flex;
  108. align-items: center;
  109. text-decoration: none;
  110. margin-left: 5px;
  111. }
  112. .header img{
  113. display: inline-block;
  114. max-height: 65px;
  115. margin: 5px;
  116. text-align: center;
  117. }
  118. .header h1{
  119. display: inline-block;
  120. color: rgb(255, 99, 107);
  121. }
  122. .header .logout{
  123. display: flex;
  124. align-items: center;
  125. color: rgb(255, 99, 107);
  126. float: right;
  127. margin-right: 25px;
  128. text-decoration: none;
  129. }
  130. /* Banner partial */
  131. .banner{
  132. width: 100%;
  133. text-align: center;
  134. list-style-type: none;
  135. font-weight: bold;
  136. color: white;
  137. }
  138. .banner .notification{
  139. background: rgb(201, 201, 201);
  140. list-style-type: none;
  141. padding: 3px;
  142. color: black;
  143. }
  144. .banner .error{
  145. background: rgb(255, 99, 107);
  146. list-style-type: none;
  147. padding: 5px;
  148. color: white;
  149. }
  150. @media screen and (max-width: 600px){
  151. .button{
  152. font-size: 15px;
  153. }
  154. .truncateLong{
  155. max-width: 100px;
  156. white-space: nowrap;
  157. overflow: hidden;
  158. text-overflow: ellipsis;
  159. }
  160. }