wizard_custom.scss 6.6 KB

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