wizard_custom.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. .custom-wizard {
  2. background-color: initial;
  3. .wizard-step-description {
  4. line-height: 1.7;
  5. ul {
  6. margin: 0;
  7. padding: 0;
  8. list-style: none;
  9. }
  10. i {
  11. margin-right: 7px;
  12. }
  13. .image-container {
  14. margin: 10px 0;
  15. }
  16. img.large {
  17. width: 250;
  18. padding: 25px;;
  19. }
  20. img.small {
  21. width: 120;
  22. padding: 10px;
  23. }
  24. }
  25. .wizard-column .wizard-step-banner {
  26. width: initial;
  27. max-width: 660px;
  28. max-height: 300px;
  29. }
  30. .control-group {
  31. display: inline-block;
  32. vertical-align: top;
  33. margin-right: 20px;
  34. .controls {
  35. margin: 5px 0;
  36. }
  37. input {
  38. width: 200px;
  39. line-height: 24px;
  40. }
  41. ul {
  42. padding: 0;
  43. }
  44. }
  45. .wizard-step-form .wizard-btn {
  46. display: block;
  47. margin: 10px 0;
  48. }
  49. .wizard-column .wizard-field .input-area {
  50. margin: 0.5em 0;
  51. }
  52. img.emoji {
  53. width: 20px;
  54. height: 20px;
  55. vertical-align: middle;
  56. }
  57. .combo-box ul {
  58. padding: 0;
  59. }
  60. .wizard-buttons > a, .wizard-buttons > button {
  61. display: inline-block;
  62. vertical-align: middle;
  63. }
  64. }
  65. .step-message {
  66. position: absolute;
  67. top: 0;
  68. left: 0;
  69. right: 0;
  70. height: 0;
  71. line-height: 0;
  72. text-align: center;
  73. transition: all .2s;
  74. &.success {
  75. height: 60px;
  76. line-height: 60px;
  77. background-color: #009900;
  78. color: #ffffff;
  79. }
  80. &.error {
  81. height: 60px;
  82. line-height: 60px;
  83. background-color: #e45735;
  84. color: #ffffff;
  85. }
  86. }
  87. .p-list-box {
  88. max-width: 550px;
  89. position: relative;
  90. margin: 10px 0;
  91. .spinner {
  92. position: absolute;
  93. right: 50%;
  94. top: 50%;
  95. }
  96. .p-text {
  97. margin-bottom: 5px;
  98. }
  99. ul {
  100. border: 1px solid #e9e9e9;
  101. padding: 0;
  102. margin: 0;
  103. list-style: none;
  104. height: 95px;
  105. overflow: scroll;
  106. }
  107. li {
  108. padding: 6px 12px;
  109. cursor: pointer;
  110. background-color: #fff;
  111. display: flex;
  112. &:hover, &.selected {
  113. background-color: #eee;
  114. }
  115. label {
  116. flex: 1 1 auto;
  117. cursor: pointer;
  118. }
  119. i {
  120. margin-right: 5px;
  121. }
  122. }
  123. .no-results {
  124. padding: 15px;
  125. }
  126. .default {
  127. margin: 0 auto;
  128. top: 50%;
  129. transform: translateY(-50%);
  130. position: absolute;
  131. width: 100%;
  132. text-align: center;
  133. color: #919191;
  134. }
  135. }
  136. .spinner {
  137. margin: 20px auto 20px auto;
  138. position: relative;
  139. -webkit-animation: rotate-forever 1s infinite linear;
  140. animation: rotate-forever 1s infinite linear;
  141. height: 30px;
  142. width: 30px;
  143. border: 4px solid #ccc;
  144. border-right-color: transparent;
  145. border-radius: 50%;
  146. &.small {
  147. width: 10px;
  148. height: 10px;
  149. margin: 0;
  150. display: inline-block;
  151. }
  152. }
  153. @keyframes rotate-forever {
  154. 0% {
  155. transform: rotate(0deg);
  156. }
  157. 100% {
  158. transform: rotate(360deg);
  159. }
  160. }
  161. // 3rd party styles TO BE REMOVED / REFACTORED
  162. #custom-wizard-main.place-petition {
  163. .wizard-step.intro .image-container {
  164. margin: 30px 0;
  165. img {
  166. padding: 20px 40px;
  167. }
  168. }
  169. }