wizard_custom.scss 6.6 KB

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