wizard_custom.scss 3.3 KB

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