shared.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. /* Initialization for all pages */
  2. *{margin:0;padding:0;font-family:'Saira',sans-serif;}
  3. body{
  4. display: flex;
  5. flex-direction: column;
  6. color: rgb(0, 27, 45);
  7. min-height: 100vh;
  8. }
  9. /* General style that should apply to all pages */
  10. h1 {
  11. text-align: center;
  12. padding-bottom: 13px;
  13. }
  14. h3 {
  15. text-align: center;
  16. font-weight: 500;
  17. color: gray;
  18. font-size: 20px;
  19. }
  20. button{
  21. outline: 0;
  22. }
  23. button::-moz-focus-inner{
  24. border: 0;
  25. }
  26. .link {
  27. cursor: pointer;
  28. color: gray;
  29. text-decoration: none;
  30. }
  31. .link:hover {
  32. color: #ff636b;
  33. text-decoration: underline;
  34. cursor: pointer;
  35. }
  36. form{
  37. display: flex;
  38. flex-direction: column;
  39. justify-content: center;
  40. border: 2px solid rgb(0, 27, 45);
  41. padding: 50px;
  42. border-radius: 10px;
  43. margin: 10px;
  44. background: rgb(240, 252, 255);
  45. font-size: 16px;
  46. margin-top: 40px;
  47. width: 550px;
  48. justify-content: space-evenly;
  49. height: auto;
  50. }
  51. .button{
  52. display: initial;
  53. background: rgb(255, 99, 107);
  54. border: none;
  55. text-decoration: none;
  56. border-radius: 4px;
  57. padding: 10px 29px;
  58. color: white;
  59. cursor: pointer;
  60. font-size: 25px;
  61. transition: 0.3s;
  62. text-align: center;
  63. font-size: 18px;
  64. cursor: pointer;
  65. font-weight: bold;
  66. margin-right: 33px;
  67. }
  68. .buttonWithBorder {
  69. background: white;
  70. border: rgb(255, 99, 107) solid 2px;
  71. color: rgb(255, 99, 107);
  72. margin: 0;
  73. margin-top: 18px;
  74. margin-bottom: 12px;
  75. padding-top: 14px;
  76. padding-bottom: 14px;
  77. }
  78. .button:hover{
  79. background: rgb(243, 77, 86);
  80. color: white;
  81. }
  82. .button-small{
  83. background: none;
  84. border: 2px solid rgb(255, 99, 107);
  85. text-decoration: none;
  86. border-radius: 10px;
  87. padding: 3px 5px;
  88. color: #001b2d;
  89. cursor: pointer;
  90. font-size: 15px;
  91. box-shadow: 1px 1px 1px black;
  92. margin: 0 2px;
  93. transition: 0.3s;
  94. }
  95. .public-buttons {
  96. position: inherit;
  97. align-self: center;
  98. margin-right: 39px;
  99. }
  100. .button-small:hover{
  101. background: rgb(0, 27, 45);
  102. color: rgb(240, 252, 255);
  103. }
  104. .buttonDisabled{
  105. background: gray;
  106. text-decoration: none;
  107. border-radius: 10px;
  108. padding: 10px 5px;
  109. color: rgb(0, 27, 45);
  110. cursor: default;
  111. font-size: 25px;
  112. text-align: center;
  113. }
  114. .line-break{
  115. border: 1px solid rgb(255, 99, 107);
  116. margin: 30px 0;
  117. }
  118. .strand, .action{
  119. display: none;
  120. }
  121. /* Components */
  122. strand-selector{
  123. display: flex;
  124. justify-content: center;
  125. border-bottom: 1px solid rgb(255, 99, 107);
  126. }
  127. strand-selector button{
  128. margin: 10px;
  129. background: none;
  130. font-size: 25px;
  131. font-weight: bold;
  132. border: none;
  133. transition: box-shadow 1s;
  134. padding: 5px;
  135. }
  136. strand-selector button:hover{
  137. box-shadow: 15px 15px 15px gray;
  138. }
  139. .strand{
  140. transition: width 1s linear;
  141. }
  142. /* Header partial */
  143. .header{
  144. display: flex;
  145. justify-content: space-between;
  146. background: #001b2d;
  147. width: 100%;
  148. height: 75px;
  149. }
  150. .header .logo{
  151. display: flex;
  152. align-items: center;
  153. text-decoration: none;
  154. margin-left: 20px;
  155. }
  156. .header-logo{
  157. display: inline-block;
  158. color: rgb(255, 99, 107);
  159. font-size: 25px;
  160. font-weight: 600;
  161. }
  162. .header img{
  163. display: inline-block;
  164. max-height: 40px;
  165. margin: 15px;
  166. text-align: center;
  167. }
  168. .header h1{
  169. display: inline-block;
  170. color: rgb(255, 99, 107);
  171. }
  172. .header .logout{
  173. display: flex;
  174. align-items: center;
  175. color: rgb(255, 99, 107);
  176. float: right;
  177. margin-right: 25px;
  178. text-decoration: none;
  179. }
  180. .button-join {
  181. font-size: medium;
  182. color:white;
  183. text-decoration: blink;
  184. }
  185. /* Banner partial */
  186. .banner{
  187. width: 100%;
  188. text-align: center;
  189. list-style-type: none;
  190. font-weight: bold;
  191. color: white;
  192. }
  193. .banner .notification{
  194. background: rgb(201, 201, 201);
  195. list-style-type: none;
  196. padding: 3px;
  197. color: black;
  198. }
  199. .banner .error{
  200. background: rgb(255, 99, 107);
  201. list-style-type: none;
  202. padding: 5px;
  203. color: white;
  204. }
  205. /* Footer Partial */
  206. .spacer{
  207. flex: 1;
  208. }
  209. .footer{
  210. display: flex;
  211. flex-direction: column;
  212. align-items: center;
  213. padding: 10px;
  214. background: rgb(240, 252, 255);
  215. }
  216. .footer > *{
  217. margin: 5px;
  218. }
  219. .footer div > *{
  220. margin: 0 25px;
  221. }
  222. @media screen and (max-width: 600px){
  223. .button{
  224. font-size: 15px;
  225. }
  226. .truncateLong{
  227. max-width: 100px;
  228. white-space: nowrap;
  229. overflow: hidden;
  230. text-overflow: ellipsis;
  231. }
  232. }
  233. label {
  234. margin-top:20px ;
  235. }