shared.css 5.0 KB

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