wizard_custom.scss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. .custom-wizard {
  2. background-color: initial;
  3. .wizard-step-contents {
  4. position: relative;
  5. display: inline-block;
  6. width: 100%;
  7. }
  8. .wizard-step-description {
  9. line-height: 1.7;
  10. ul {
  11. margin: 0;
  12. padding: 0;
  13. list-style: none;
  14. }
  15. i {
  16. margin-right: 7px;
  17. }
  18. .image-container {
  19. padding: 0 20px;
  20. margin: 50px 0;
  21. display: flex;
  22. justify-content: space-between;
  23. flex-wrap: wrap;
  24. &.group {
  25. padding: 0;
  26. margin: 0;
  27. width: 140px;
  28. height: 140px;
  29. }
  30. }
  31. img.large {
  32. width: 150;
  33. padding: 25px;;
  34. }
  35. img.small {
  36. width: 110;
  37. padding: 15px;
  38. }
  39. img.x-small {
  40. width: 50px;
  41. height: 50px;
  42. padding: 3px;
  43. }
  44. label {
  45. display: block;
  46. text-align: center;
  47. }
  48. .tip {
  49. position: absolute;
  50. bottom: 0;
  51. font-style: italic;
  52. margin-bottom: 20px;
  53. img {
  54. width: 30px;
  55. height: 30px;
  56. vertical-align: middle;
  57. padding-bottom: 5px;
  58. }
  59. }
  60. }
  61. .wizard-column .wizard-step-banner {
  62. width: initial;
  63. max-width: 660px;
  64. max-height: 300px;
  65. }
  66. .control-group {
  67. display: inline-block;
  68. vertical-align: top;
  69. margin-right: 20px;
  70. .controls {
  71. margin: 5px 0;
  72. }
  73. input {
  74. width: 200px;
  75. line-height: 24px;
  76. }
  77. ul {
  78. padding: 0;
  79. }
  80. }
  81. .wizard-step-form .wizard-btn {
  82. display: block;
  83. margin: 20px 0;
  84. }
  85. .wizard-column .wizard-field .input-area {
  86. margin: 0.5em 0;
  87. }
  88. img.emoji {
  89. width: 20px;
  90. height: 20px;
  91. vertical-align: middle;
  92. }
  93. .combo-box ul {
  94. padding: 0;
  95. }
  96. .wizard-buttons > a, .wizard-buttons > button, .spinner {
  97. display: inline-block;
  98. vertical-align: middle;
  99. }
  100. .spinner.small {
  101. margin-right: 10px;
  102. }
  103. }
  104. .step-message {
  105. position: absolute;
  106. top: 0;
  107. left: 0;
  108. right: 0;
  109. height: 0;
  110. line-height: 0;
  111. text-align: center;
  112. transition: all .2s;
  113. z-index: 2;
  114. &.success {
  115. height: 60px;
  116. line-height: 60px;
  117. background-color: #009900;
  118. color: #ffffff;
  119. }
  120. &.error {
  121. height: 60px;
  122. line-height: 60px;
  123. background-color: #e45735;
  124. color: #ffffff;
  125. }
  126. }
  127. .p-list-box {
  128. max-width: 550px;
  129. position: relative;
  130. margin: 10px 0;
  131. .spinner {
  132. position: absolute;
  133. right: 50%;
  134. top: 50%;
  135. }
  136. .p-text {
  137. margin-bottom: 5px;
  138. }
  139. ul {
  140. border: 1px solid #e9e9e9;
  141. padding: 0;
  142. margin: 0;
  143. list-style: none;
  144. height: 95px;
  145. overflow: scroll;
  146. }
  147. li {
  148. padding: 6px 12px;
  149. cursor: pointer;
  150. background-color: #fff;
  151. display: flex;
  152. &:hover, &.selected {
  153. background-color: #eee;
  154. }
  155. label {
  156. flex: 1 1 auto;
  157. cursor: pointer;
  158. }
  159. i {
  160. margin-right: 5px;
  161. }
  162. }
  163. .no-results {
  164. padding: 15px;
  165. }
  166. .default {
  167. margin: 0 auto;
  168. top: 50%;
  169. transform: translateY(-50%);
  170. position: absolute;
  171. width: 100%;
  172. text-align: center;
  173. color: #919191;
  174. }
  175. }
  176. .spinner {
  177. margin: 20px auto 20px auto;
  178. position: relative;
  179. -webkit-animation: rotate-forever 1s infinite linear;
  180. animation: rotate-forever 1s infinite linear;
  181. height: 30px;
  182. width: 30px;
  183. border: 4px solid #ccc;
  184. border-right-color: transparent;
  185. border-radius: 50%;
  186. &.small {
  187. width: 10px;
  188. height: 10px;
  189. margin: 0;
  190. display: inline-block;
  191. }
  192. }
  193. .user-selector-field.wizard-field {
  194. div.ac-wrap div.item a.remove, .remove-link {
  195. margin-left: 4px;
  196. font-size: 11px;
  197. line-height: 10px;
  198. padding: 1.5px 1.5px 1.5px 2.5px;
  199. border-radius: 12px;
  200. width: 10px;
  201. display: inline-block;
  202. border: 1px solid #e9e9e9;
  203. &:hover {
  204. background-color: #f2ab9a;
  205. border: 1px solid #ec8972;
  206. text-decoration: none;
  207. color: #e45735;
  208. }
  209. }
  210. div.ac-wrap {
  211. width: 98.5% !important;
  212. overflow: auto;
  213. max-height: 150px;
  214. background-color: white;
  215. border: 1px solid #e9e9e9;
  216. padding: 5px 4px 1px 4px;
  217. div.item {
  218. float: left;
  219. margin-bottom: 4px;
  220. margin-right: 10px;
  221. span {
  222. height: 24px;
  223. display: inline-block;
  224. line-height: 20px;
  225. }
  226. }
  227. .ac-collapsed-button {
  228. float: left;
  229. border-radius: 20px;
  230. position: relative;
  231. top: -2px;
  232. margin-right: 10px;
  233. }
  234. input[type="text"] {
  235. float: left;
  236. margin-bottom: 4px;
  237. height: 24px;
  238. display: block;
  239. border: 0;
  240. padding: 0;
  241. box-shadow: none;
  242. }
  243. }
  244. }
  245. img.avatar {
  246. border-radius: 50%;
  247. vertical-align: middle;
  248. }
  249. .autocomplete {
  250. z-index: 999999;
  251. position: absolute;
  252. width: 240px;
  253. background-color: white;
  254. border: 1px solid #e9e9e9;
  255. ul {
  256. list-style: none;
  257. padding: 0;
  258. margin: 0;
  259. li {
  260. .d-users {
  261. color: #333;
  262. padding: 0 2px;
  263. }
  264. border-bottom: 1px solid #e9e9e9;
  265. a {
  266. padding: 5px;
  267. display: block;
  268. white-space: nowrap;
  269. overflow: hidden;
  270. text-overflow: ellipsis;
  271. font-size: 14px;
  272. text-decoration: none;
  273. img {
  274. margin-right: 5px;
  275. }
  276. span.username {
  277. color: #000;
  278. vertical-align: middle;
  279. }
  280. span.name {
  281. font-size: 11px;
  282. vertical-align: middle;
  283. }
  284. &.selected {
  285. background-color: #d1f0ff;
  286. }
  287. &:hover {
  288. background-color: #ffffa6;
  289. text-decoration: none;
  290. }
  291. }
  292. }
  293. }
  294. }
  295. .checkbox-field {
  296. display: inline-block;
  297. width: 100%;
  298. &> label {
  299. float: left;
  300. }
  301. &> .input-area {
  302. float: right;
  303. margin: 0 20px !important;
  304. padding: 10px 0;
  305. input {
  306. cursor: pointer;
  307. transform: scale(1.3);
  308. }
  309. }
  310. }
  311. @keyframes rotate-forever {
  312. 0% {
  313. transform: rotate(0deg);
  314. }
  315. 100% {
  316. transform: rotate(360deg);
  317. }
  318. }