shared.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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. transition: 0.3s;
  61. text-align: center;
  62. font-size: 18px;
  63. font-weight: bold;
  64. margin-right: 33px;
  65. }
  66. .buttonWithBorder {
  67. background: white;
  68. border: rgb(255, 99, 107) solid 2px;
  69. color: rgb(255, 99, 107);
  70. margin: 0;
  71. margin-top: 18px;
  72. margin-bottom: 12px;
  73. padding-top: 14px;
  74. padding-bottom: 14px;
  75. }
  76. .button:hover{
  77. background: rgb(243, 77, 86);
  78. color: white;
  79. }
  80. .button-small{
  81. background: none;
  82. border: 2px solid rgb(255, 99, 107);
  83. text-decoration: none;
  84. border-radius: 10px;
  85. padding: 3px 5px;
  86. color: #001b2d;
  87. cursor: pointer;
  88. font-size: 15px;
  89. box-shadow: 1px 1px 1px black;
  90. margin: 0 2px;
  91. transition: 0.3s;
  92. }
  93. .public-buttons {
  94. position: inherit;
  95. align-self: center;
  96. margin-right: 39px;
  97. }
  98. .button-small:hover{
  99. background: rgb(0, 27, 45);
  100. color: rgb(240, 252, 255);
  101. }
  102. .buttonDisabled{
  103. background: gray;
  104. text-decoration: none;
  105. border-radius: 10px;
  106. padding: 10px 5px;
  107. color: rgb(0, 27, 45);
  108. cursor: default;
  109. font-size: 25px;
  110. text-align: center;
  111. }
  112. .line-break{
  113. border: 1px solid rgb(255, 99, 107);
  114. margin: 30px 0;
  115. }
  116. .strand, .action{
  117. display: none;
  118. }
  119. /* Components */
  120. strand-selector{
  121. display: flex;
  122. justify-content: center;
  123. border-bottom: 1px solid rgb(255, 99, 107);
  124. }
  125. strand-selector button{
  126. margin: 10px;
  127. background: none;
  128. font-size: 25px;
  129. font-weight: bold;
  130. border: none;
  131. transition: box-shadow 1s;
  132. padding: 5px;
  133. }
  134. strand-selector button:hover{
  135. box-shadow: 15px 15px 15px gray;
  136. }
  137. .strand{
  138. transition: width 1s linear;
  139. }
  140. /* Header partial */
  141. .header{
  142. display: flex;
  143. justify-content: space-between;
  144. background: #001b2d;
  145. width: 100%;
  146. height: 75px;
  147. }
  148. .header .logo{
  149. display: flex;
  150. align-items: center;
  151. text-decoration: none;
  152. margin-left: 20px;
  153. }
  154. .header-logo{
  155. display: inline-block;
  156. color: rgb(255, 99, 107);
  157. font-size: 25px;
  158. font-weight: 600;
  159. }
  160. .header img{
  161. display: inline-block;
  162. max-height: 40px;
  163. margin: 15px;
  164. text-align: center;
  165. }
  166. .header h1{
  167. display: inline-block;
  168. color: rgb(255, 99, 107);
  169. }
  170. .header .logout{
  171. display: flex;
  172. align-items: center;
  173. color: rgb(255, 99, 107);
  174. float: right;
  175. margin-right: 25px;
  176. text-decoration: none;
  177. }
  178. .button-join {
  179. font-size: medium;
  180. color:white;
  181. text-decoration: blink;
  182. }
  183. /* Banner partial */
  184. .banner{
  185. width: 100%;
  186. text-align: center;
  187. list-style-type: none;
  188. font-weight: bold;
  189. color: white;
  190. }
  191. .banner .notification{
  192. background: rgb(201, 201, 201);
  193. list-style-type: none;
  194. padding: 3px;
  195. color: black;
  196. }
  197. .banner .error{
  198. background: rgb(255, 99, 107);
  199. list-style-type: none;
  200. padding: 5px;
  201. color: white;
  202. }
  203. /* Footer Partial */
  204. .spacer{
  205. flex: 1;
  206. }
  207. .footer{
  208. display: flex;
  209. flex-direction: column;
  210. align-items: center;
  211. padding: 10px;
  212. background: rgb(240, 252, 255);
  213. }
  214. .footer > *{
  215. margin: 5px;
  216. }
  217. .footer div > *{
  218. margin: 0 25px;
  219. }
  220. @media screen and (max-width: 600px){
  221. .button{
  222. font-size: 15px;
  223. }
  224. .truncateLong{
  225. max-width: 100px;
  226. white-space: nowrap;
  227. overflow: hidden;
  228. text-overflow: ellipsis;
  229. }
  230. }
  231. label {
  232. margin-top:20px ;
  233. }