wizard_custom.scss 6.1 KB

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