wizard_custom.scss 6.6 KB

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