shared.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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: #001b2d;
  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. .line-break{
  82. border: 1px solid rgb(255, 99, 107);
  83. margin: 30px 0;
  84. }
  85. .input-error{
  86. border-color: red;
  87. }
  88. /* Header partial */
  89. .header{
  90. display: flex;
  91. justify-content: space-between;
  92. background: #001b2d;
  93. width: 100%;
  94. height: 75px;
  95. }
  96. .header .logo{
  97. display: flex;
  98. align-items: center;
  99. text-decoration: none;
  100. margin-left: 5px;
  101. }
  102. .header img{
  103. display: inline-block;
  104. max-height: 65px;
  105. margin: 5px;
  106. text-align: center;
  107. }
  108. .header h1{
  109. display: inline-block;
  110. color: rgb(255, 99, 107);
  111. }
  112. .header .logout{
  113. display: flex;
  114. align-items: center;
  115. color: rgb(255, 99, 107);
  116. float: right;
  117. margin-right: 25px;
  118. text-decoration: none;
  119. }
  120. /* Banner partial */
  121. .banner{
  122. width: 100%;
  123. text-align: center;
  124. list-style-type: none;
  125. font-weight: bold;
  126. color: white;
  127. }
  128. .banner .notification{
  129. background: rgb(201, 201, 201);
  130. list-style-type: none;
  131. padding: 3px;
  132. color: black;
  133. }
  134. .banner .error{
  135. background: rgb(255, 99, 107);
  136. list-style-type: none;
  137. padding: 5px;
  138. color: white;
  139. }
  140. @media screen and (max-width: 600px){
  141. .button{
  142. font-size: 15px;
  143. }
  144. .truncateLong{
  145. max-width: 100px;
  146. white-space: nowrap;
  147. overflow: hidden;
  148. text-overflow: ellipsis;
  149. }
  150. }