_welcome.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. #welcome {
  2. padding: 16px 32px;
  3. line-height: 1.4em;
  4. .state {
  5. margin-top: 1em;
  6. &.error {
  7. color: $status-error;
  8. }
  9. }
  10. h2 {
  11. display: block;
  12. margin-bottom: 20px;
  13. }
  14. &,
  15. input {
  16. text-align: center;
  17. }
  18. md-input-container {
  19. margin-right: 32px;
  20. margin-left: 32px;
  21. .md-errors-spacer {
  22. display: none;
  23. }
  24. }
  25. .scan {
  26. .ios-only-warning {
  27. display: flex;
  28. flex-direction: horizontal;
  29. margin-bottom: 16px;
  30. background-color: $status-warning;
  31. padding: 8px;
  32. p {
  33. text-align: left;
  34. line-height: 1.4em;
  35. letter-spacing: -.2px;
  36. font-size: .8em;
  37. }
  38. img {
  39. margin-right: 8px;
  40. width: 32px;
  41. }
  42. }
  43. .password-entry {
  44. margin-top: 16px;
  45. }
  46. .instructions {
  47. margin-bottom: 16px;
  48. }
  49. md-input-container {
  50. margin-top: 12px;
  51. margin-bottom: 0;
  52. input {
  53. border-bottom-width: 0;
  54. }
  55. }
  56. qrcode {
  57. canvas {
  58. max-width: 100%;
  59. }
  60. }
  61. }
  62. .unlock {
  63. padding-top: 16px;
  64. .password-entry {
  65. margin-top: 32px;
  66. margin-bottom: 48px;
  67. }
  68. md-input-container {
  69. margin-top: 24px;
  70. margin-bottom: 8px;
  71. }
  72. button {
  73. margin-top: 0;
  74. margin-bottom: 32px;
  75. margin-left: 0;
  76. }
  77. }
  78. .manual-start {
  79. .illustration {
  80. margin-top: 24px;
  81. margin-bottom: 24px;
  82. }
  83. ol {
  84. margin: 16px auto 0;
  85. width: 90%;
  86. list-style-position: inside;
  87. li {
  88. margin-bottom: 4px;
  89. }
  90. }
  91. }
  92. .already-connected {
  93. .illustration {
  94. margin-top: 16px;
  95. margin-bottom: 28px;
  96. margin-left: 12px;
  97. }
  98. }
  99. .loading {
  100. $progress-height: 250px;
  101. $progress-overlap: 70px;
  102. margin-top: 48px;
  103. md-progress-circular {
  104. margin: 0 auto calc(-#{$progress-height} + #{$progress-overlap});
  105. height: $progress-height;
  106. svg path {
  107. stroke-width: 12px !important;
  108. }
  109. }
  110. .info {
  111. .percentage {
  112. margin-bottom: 8px;
  113. vertical-align: center;
  114. line-height: 1em;
  115. font-size: 4em;
  116. font-weight: 300;
  117. }
  118. }
  119. .troubleshoot {
  120. margin-top: calc(#{$progress-overlap} + 40px);
  121. h3 {
  122. margin-bottom: 8px;
  123. height: 44px;
  124. }
  125. ul {
  126. text-align: left;
  127. font-size: .9em;
  128. li {
  129. padding: 0 1em .3em;
  130. line-height: 1.2em;
  131. }
  132. }
  133. .forget {
  134. margin-top: 8px;
  135. }
  136. .reload-btn {
  137. margin: 20px 10px 0;
  138. padding: 0 10px;
  139. height: 35px;
  140. }
  141. }
  142. }
  143. .password-strength-indicator {
  144. display: flex;
  145. align-content: stretch;
  146. width: 100%;
  147. height: 2px;
  148. .reached {
  149. background-color: #999999;
  150. }
  151. .unreached {
  152. background-color: $background-grey;
  153. }
  154. }
  155. md-input-container.md-input-focused .password-strength-indicator .unreached {
  156. background-color: darken($background-grey, 7%);
  157. }
  158. }