Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

196 rader
3.7 KiB

  1. @import '../colors';
  2. .dotted-bg {
  3. position: fixed;
  4. left: 0;
  5. bottom: 0;
  6. z-index: 0;
  7. width: 100%;
  8. object-fit: cover;
  9. height: 10vh;
  10. background-repeat: no-repeat;
  11. background-position: top;
  12. }
  13. .back-button {
  14. position: fixed;
  15. top: 10px;
  16. right: 10px;
  17. width: 40px;
  18. height: 40px;
  19. background: rgba(white, 0.5);
  20. border: 0px;
  21. border-radius: 50%;
  22. display: flex;
  23. align-items: center;
  24. justify-content: center;
  25. z-index: 3;
  26. ion-icon {
  27. color: white;
  28. font-size: 20px;
  29. }
  30. }
  31. .visual-timer {
  32. display: flex;
  33. width: 80%;
  34. margin: 40px auto;
  35. position: relative;
  36. background-color: transparent;
  37. border: 4px solid rgba($blue-grey, 0.3);
  38. border-radius: 30px;
  39. height: 45px;
  40. align-items: center;
  41. justify-content: center;
  42. z-index: 0;
  43. overflow: hidden;
  44. p {
  45. flex-grow: 1;
  46. margin: 0;
  47. text-align: center;
  48. color: white;
  49. font-size: 1rem;
  50. font-weight: 500;
  51. letter-spacing: 1px;
  52. position: relative;
  53. z-index: 1;
  54. }
  55. ion-icon {
  56. position: absolute;
  57. right: 10px;
  58. top: 10px;
  59. font-size: 1rem;
  60. color: white;
  61. z-index: 1;
  62. }
  63. .progress {
  64. position: absolute;
  65. left: 0;
  66. top: 0;
  67. border-radius: 30px;
  68. background: linear-gradient(90deg, lighten($brand-red, 5%) 5%, lighten($dark-blue, 20%) 80%);
  69. width: 100%;
  70. height: 100%;
  71. transition: width 1s linear;
  72. }
  73. }
  74. .container {
  75. width: 80%;
  76. margin: 40px auto;
  77. }
  78. .question-counter {
  79. border-bottom: 2px dotted rgba($blue-grey, 0.3);
  80. padding-bottom: 10px;
  81. h2 {
  82. color: $blue-grey;
  83. font-size: 1.3rem;
  84. letter-spacing: 1px;
  85. font-weight: 700;
  86. margin: 0;
  87. span {
  88. font-size: 1.1rem;
  89. font-weight: 300;
  90. }
  91. }
  92. }
  93. .questions {
  94. list-style: none;
  95. padding: 0;
  96. margin: 0;
  97. }
  98. .next-button {
  99. display: block;
  100. width: 150px;
  101. border-radius: 30px;
  102. height: 60px;
  103. background-color: darken($sea-blue, 15%);
  104. color: white;
  105. font-size: 1.2rem;
  106. font-weight: 500;
  107. position: fixed;
  108. z-index: 1;
  109. bottom: 10vh;
  110. left: calc(50% - 75px);
  111. overflow: hidden;
  112. &::before {
  113. content: '';
  114. position: absolute;
  115. left: 30px;
  116. top: 0;
  117. width: 30px;
  118. height: 30px;
  119. background-color: darken($sea-blue, 10%);
  120. border-radius: 50%;
  121. display: block;
  122. transform: scale(1.5)translateY(-5px);
  123. }
  124. &::after {
  125. content: '';
  126. position: absolute;
  127. right: 30px;
  128. bottom: 0;
  129. width: 30px;
  130. height: 30px;
  131. background-color: darken($sea-blue, 10%);
  132. border-radius: 50%;
  133. display: block;
  134. transform: scale(2.5)translateY(5px);
  135. }
  136. .text {
  137. position: relative;
  138. z-index: 1;
  139. }
  140. .dot {
  141. position: absolute;
  142. left: 30px;
  143. bottom: 0px;
  144. width: 30px;
  145. height: 30px;
  146. background-color: darken($sea-blue, 10%);
  147. border-radius: 50%;
  148. display: block;
  149. transform: scale(0.3);
  150. }
  151. }
  152. .report-card {
  153. background-color: white;
  154. padding: 20px;
  155. height: 250px;
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. width: 80%;
  160. margin: 20vh auto;
  161. border-radius: 10px;
  162. text-align: center;
  163. background-color: lighten($blue-grey, 35%);
  164. box-shadow: 0px 3px 5px $dark-blue;
  165. h2 {
  166. color: $green;
  167. font-size: 1.5rem;
  168. margin: 10px 0;
  169. }
  170. p {
  171. margin: 10px 0;
  172. color: darken($blue-grey, 20%);
  173. font-size: 1.2rem;
  174. line-height: 1.5;
  175. }
  176. }