App.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. @import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto:wght@300;400;700&display=swap');
  2. .App {
  3. background-color: #282c34;
  4. font-family: 'Roboto', sans-serif;
  5. height: 100%;
  6. min-height: 100vh;
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. justify-content: center;
  11. color: white;
  12. margin-top: 0.5rem;
  13. }
  14. .App.Admin {
  15. margin-top: 0;
  16. }
  17. .App-link {
  18. color: #61dafb;
  19. }
  20. .App .container,
  21. .App .container-fluid {
  22. background-color: #4b505a6b;
  23. border-radius: 0.3rem;
  24. padding: 2rem;
  25. }
  26. @media only screen and (max-width : 500px) {
  27. .App .container {
  28. padding: 0.5rem!important;
  29. }
  30. .vom-rating-arrow {
  31. border-width: 0.5rem 6rem 0px 0!important;
  32. }
  33. }
  34. .App section {
  35. display: flex;
  36. flex-direction: column;
  37. }
  38. button:disabled,
  39. button.disabled {
  40. cursor: not-allowed;
  41. };
  42. h1 {
  43. font-family: 'Open Sans' , sans-serif;
  44. font-weight: 900;
  45. }
  46. form {
  47. display: flex;
  48. flex-direction: column;
  49. }
  50. form button {
  51. align-self: flex-end;
  52. }
  53. .text-muted {
  54. color: #b7c3ce!important;
  55. }
  56. .custom-switch {
  57. display: flex;
  58. }
  59. .custom-control-label {
  60. display: flex;
  61. align-items: center;
  62. }
  63. .custom-control-label h6 {
  64. margin-bottom: 0!important;
  65. }
  66. #vom-intro p,
  67. #vom-terms p {
  68. text-align: justify;
  69. }
  70. #vom-associations-list {
  71. display: flex;
  72. }
  73. .vom-remove-association {
  74. padding: 0;
  75. border: 0;
  76. color: #F2F2F2;
  77. font-size: 0.7rem;
  78. line-height: 1rem;
  79. }
  80. .vom-rating {
  81. display: grid;
  82. grid-template-columns: 2fr repeat(5, 1fr);
  83. grid-template-rows: repeat(5, 1fr);
  84. justify-items: center;
  85. align-items: center;
  86. }
  87. .vom-rating ~ .is-invalid {
  88. display: block;
  89. }
  90. .vom-rating-label.is-invalid,
  91. .vom-rating-value label.is-invalid {
  92. color: #dc3545;
  93. }
  94. .vom-rating-label.is-valid,
  95. .vom-rating-value label.is-valid {
  96. color: #28a745
  97. }
  98. .vom-rating-value {
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. }
  103. .vom-rating-value label {
  104. margin: 0;
  105. }
  106. .vom-rating-arrow-container {
  107. grid-column: 3 / span 3;
  108. grid-row: 1;
  109. }
  110. .vom-rating-arrow {
  111. width: 100%;
  112. height: 0;
  113. border-style: solid;
  114. border-width: 0.5rem 10rem 0px 0;
  115. border-color: transparent #6c757d transparent transparent;
  116. }
  117. .vom-draw-reminder {
  118. font-size: 0.9rem;
  119. }
  120. #magic-canvas,
  121. #vom-admin-canvas,
  122. #vom-heatmap-canvas {
  123. width: 100%;
  124. background-color: #F2F2F2;
  125. background-image: url('merseyside-nobg-4_5-LIGHT.png');
  126. background-position: top left;
  127. background-size: contain;
  128. background-repeat: no-repeat;
  129. }
  130. #magic-canvas.border-success {
  131. border-width: 4px!important;
  132. }
  133. #vom-drawing-canvas {
  134. position: relative;
  135. }
  136. #vom-drawing-canvas button {
  137. align-self: flex-end;
  138. }
  139. #vom-canvas-tools {
  140. display: flex;
  141. justify-content: space-between;
  142. }
  143. #vom-canvas-mode {
  144. position: absolute;
  145. top: 3.5rem;
  146. left: 0.5rem;
  147. color: #282c34;
  148. text-transform: uppercase;
  149. font-size: 0.8rem;
  150. }
  151. #vom-progress-bar {
  152. width: 100%;
  153. height: 0.5rem;
  154. display: grid;
  155. grid-template-columns: repeat(5, 1fr);
  156. background-color: #6c757d;
  157. position: fixed;
  158. top: 0;
  159. z-index: 99;
  160. }
  161. .vom-progress-page {
  162. width: 0;
  163. transition: width 500ms ease-in-out;
  164. }
  165. .vom-progress-page.progress-done {
  166. background-color: #17a2b8;
  167. width: 100%;
  168. }
  169. .uva-terms li {
  170. flex-basis: 30%;
  171. }
  172. .uva-terms li img {
  173. width: 100%;
  174. }