wizard_custom.scss 5.8 KB

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