wizard_custom.scss 5.7 KB

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