wizard_custom.scss 3.3 KB

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